CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
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
14 ~TMcHitMdc ();
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
void SetDriftT(Double_t time)
Definition: TMcHitMdc.h:22
void SetDriftD(Double_t distance)
Definition: TMcHitMdc.h:21
Double_t GetTheta() const
Definition: TMcHitMdc.h:36
Double_t GetGlobalT() const
Definition: TMcHitMdc.h:35
Int_t GetLayerNo() const
Definition: TMcHitMdc.h:29
TVector3 GetPos() const
Definition: TMcHitMdc.h:32
Double_t GetEdep() const
Definition: TMcHitMdc.h:31
Double_t GetDriftT() const
Definition: TMcHitMdc.h:34
Double_t GetEnterAngle() const
Definition: TMcHitMdc.h:37
void SetPosFlag(Int_t flag)
Definition: TMcHitMdc.h:26
Double_t GetDriftD() const
Definition: TMcHitMdc.h:33
void SetGlobalT(Double_t time)
Definition: TMcHitMdc.h:23
void SetTheta(Double_t angle)
Definition: TMcHitMdc.h:24
void SetCellNo(Int_t cell)
Definition: TMcHitMdc.h:18
Int_t GetPosFlag() const
Definition: TMcHitMdc.h:38
void SetEnterAngle(Double_t angle)
Definition: TMcHitMdc.h:25
void SetPos(TVector3 xyz)
Definition: TMcHitMdc.h:20
Int_t GetCellNo() const
Definition: TMcHitMdc.h:30
void SetTrackID(Int_t track)
Definition: TMcHitMdc.h:16
void SetEdep(Double_t de)
Definition: TMcHitMdc.h:19
void SetLayerNo(Int_t layer)
Definition: TMcHitMdc.h:17
Int_t GetTrackID() const
Definition: TMcHitMdc.h:28