BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/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 TMcHitMdc();
12
13 ~TMcHitMdc();
14
15 void SetTrackID( Int_t track ) { trackID = track; };
16 void SetLayerNo( Int_t layer ) { layerNo = layer; };
17 void SetCellNo( Int_t cell ) { cellNo = cell; };
18 void SetEdep( Double_t de ) { edep = de; };
19 void SetPos( TVector3 xyz ) { pos = xyz; };
20 void SetDriftD( Double_t distance ) { driftD = distance; };
21 void SetDriftT( Double_t time ) { driftT = time; };
22 void SetGlobalT( Double_t time ) { globalT = time; };
23 void SetTheta( Double_t angle ) { theta = angle; };
24 void SetEnterAngle( Double_t angle ) { enterAngle = angle; };
25 void SetPosFlag( Int_t flag ) { posFlag = flag; };
26
27 Int_t GetTrackID() const { return trackID; };
28 Int_t GetLayerNo() const { return layerNo; };
29 Int_t GetCellNo() const { return cellNo; };
30 Double_t GetEdep() const { return edep; };
31 TVector3 GetPos() const { return pos; };
32 Double_t GetDriftD() const { return driftD; };
33 Double_t GetDriftT() const { return driftT; };
34 Double_t GetGlobalT() const { return globalT; };
35 Double_t GetTheta() const { return theta; };
36 Double_t GetEnterAngle() const { return enterAngle; };
37 Int_t GetPosFlag() const { return posFlag; };
38
39private:
40 Int_t trackID;
41 Int_t layerNo;
42 Int_t cellNo;
43 Double_t edep;
44 TVector3 pos;
45 Double_t driftD;
46 Double_t driftT;
47 Double_t globalT;
48 Double_t theta;
49 Double_t enterAngle;
50 Int_t posFlag;
51
52 ClassDef( TMcHitMdc, 1 )
53};
54
55#endif
Double_t time