BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitTof.h
Go to the documentation of this file.
1#ifndef DigiRootData_TMcHitTof_H
2#define DigiRootData_TMcHitTof_H 1
3
4#include "TObject.h"
5#include "TString.h"
6#include "TVector3.h"
7
8class TMcHitTof: public TObject {
9
10public:
11
13
14 ~TMcHitTof ();
15
16
17 void SetTrackIndex(Int_t trackIndex) { m_trackIndex = trackIndex; };
18 void SetG4Index(Int_t index) {m_g4Index = index;}
19 void SetPartId(Int_t partId) {m_partId = partId;}
20 void SetScinNb(Int_t scinNb) { m_scinNb = scinNb; }
21 void SetEdep(Double_t edep) { m_edep = edep; }
22 void SetStepL(Double_t stepL) { m_stepL = stepL;}
23 void SetTrackL(Double_t length) { m_trackL = length; }
24 void SetPos(TVector3 pos) { m_pos = pos; }
25 void SetTime(Double_t time) { m_time=time;}
26 void SetDeltaT(Double_t deltaT) { m_deltaT = deltaT;}
27 void SetPDirection(TVector3 pDirection) { m_pDirection = pDirection; }
28 void SetMomentum(TVector3 momentum) { m_momentum = momentum; }
29 void SetCharge(Int_t charge) {m_charge = charge;}
30
31 Int_t GetTrackIndex() const { return m_trackIndex; }
32 Int_t GetG4Index() const {return m_g4Index;}
33 Int_t GetPartId() const { return m_partId; }
34 Int_t GetScinNb() const { return m_scinNb; }
35 Double_t GetEdep() const{ return m_edep; }
36 Double_t GetStepL() const { return m_stepL; }
37 Double_t GetTrackL() const {return m_trackL; }
38 TVector3 GetPos() const { return m_pos; }
39 Double_t GetTime() const { return m_time;}
40 Double_t GetDeltaT() const {return m_deltaT;}
41 TVector3 GetPDirection() const {return m_pDirection;}
42 TVector3 GetMomentum() const {return m_momentum;}
43 Int_t GetCharge() const {return m_charge; }
44
45private:
46 //static Int_t s_count;
47
48 Int_t m_trackIndex;
49 Int_t m_g4Index;
50 Int_t m_partId;
51 Int_t m_scinNb;
52 Double_t m_edep;
53 Double_t m_stepL;
54 Double_t m_trackL;
55 TVector3 m_pos;
56 Double_t m_time;
57 Double_t m_deltaT;
58 TVector3 m_pDirection;
59 TVector3 m_momentum;
60 Int_t m_charge;
61
62
63 ClassDef(TMcHitTof,1)
64};
65
66#endif
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER jdahep COMMON hepevt $ !serial number $ !number of particles $ !status code $ !particle ident KF $ !parent particles $ !childreen particles $ !four momentum
Double_t time