BmnRoot
Loading...
Searching...
No Matches
CbmMvdHit.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmMvdHit header file -----
3// ----- Created 07/11/06 by V. Friese -----
4// -------------------------------------------------------------------------
5
6
18#ifndef CBMMVDHIT_H
19#define CBMMVDHIT_H 1
20
21
22#include "CbmHit.h"
23#include "CbmMvdDetectorId.h"
24
25#include "TVector3.h"
26
27class CbmMvdHit : public CbmHit, public CbmMvdDetectorId
28{
29
30 public:
31
33 CbmMvdHit();
34
35
42 CbmMvdHit(Int_t statNr, TVector3& pos, TVector3& dpos, Int_t flag);
43
44
46 virtual ~CbmMvdHit();
47
48
50 virtual void Print(const Option_t* opt = 0) const;
51
52
54 Int_t GetSystemId() const { return SystemId(fDetectorID); }
55 virtual Int_t GetStationNr() const { return StationNr(fDetectorID); }
56 Int_t GetFlag() const { return fFlag; };
57
58
59
60 protected:
61
62 Int_t fFlag; // Hit flag; to be used later
63
64
66
67};
68
69
70#endif
Int_t StationNr(Int_t detectorId) const
Int_t SystemId(Int_t detectorId) const
Int_t GetSystemId() const
Definition CbmMvdHit.h:54
virtual void Print(const Option_t *opt=0) const
Definition CbmMvdHit.cxx:46
virtual Int_t GetStationNr() const
Definition CbmMvdHit.h:55
Int_t GetFlag() const
Definition CbmMvdHit.h:56
virtual ~CbmMvdHit()
Definition CbmMvdHit.cxx:40
ClassDef(CbmMvdHit, 1)
Int_t fFlag
Definition CbmMvdHit.h:62