BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/TMcHitMdc.h
Go to the documentation of this file.
1#ifndef DigiRootData_TMcHitMdc_H
2#define DigiRootData_TMcHitMdc_H 1
3
4#include "TObject.h"
5#include "TString.h"
6#include "TVector3.h"
7
8class TMcHitMdc: public TObject {
9
10public:
11
13
15
16 void SetTrackID (Int_t track) { trackID = track; };
17 void SetLayerNo (Int_t layer) { layerNo = layer; };
18 void SetCellNo (Int_t cell) { cellNo =cell;};
19 void SetEdep (Double_t de) { edep = de; };
20 void SetPos (TVector3 xyz){ pos = xyz; };
21 void SetDriftD (Double_t distance){ driftD = distance;};
22 void SetDriftT (Double_t time) { driftT = time;};
23 void SetGlobalT (Double_t time) { globalT = time;};
24 void SetTheta (Double_t angle) { theta = angle;};
25 void SetEnterAngle (Double_t angle) { enterAngle = angle;};
26 void SetPosFlag (Int_t flag) { posFlag = flag;};
27
28 Int_t GetTrackID() const { return trackID; };
29 Int_t GetLayerNo() const { return layerNo; };
30 Int_t GetCellNo() const { return cellNo;};
31 Double_t GetEdep() const { return edep; };
32 TVector3 GetPos() const { return pos; };
33 Double_t GetDriftD() const { return driftD;};
34 Double_t GetDriftT() const { return driftT;};
35 Double_t GetGlobalT() const { return globalT;};
36 Double_t GetTheta() const { return theta;};
37 Double_t GetEnterAngle() const { return enterAngle;};
38 Int_t GetPosFlag() const { return posFlag;};
39
40
41
42 private:
43 Int_t trackID;
44 Int_t layerNo;
45 Int_t cellNo;
46 Double_t edep;
47 TVector3 pos;
48 Double_t driftD;
49 Double_t driftT;
50 Double_t globalT;
51 Double_t theta;
52 Double_t enterAngle;
53 Int_t posFlag;
54
55 ClassDef(TMcHitMdc,1)
56};
57
58#endif
Double_t time