BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/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 TMcHitTof();
12
13 ~TMcHitTof();
14
15 void SetTrackIndex( Int_t trackIndex ) { m_trackIndex = trackIndex; };
16 void SetG4Index( Int_t index ) { m_g4Index = index; }
17 void SetPartId( Int_t partId ) { m_partId = partId; }
18 void SetScinNb( Int_t scinNb ) { m_scinNb = scinNb; }
19 void SetEdep( Double_t edep ) { m_edep = edep; }
20 void SetStepL( Double_t stepL ) { m_stepL = stepL; }
21 void SetTrackL( Double_t length ) { m_trackL = length; }
22 void SetPos( TVector3 pos ) { m_pos = pos; }
23 void SetTime( Double_t time ) { m_time = time; }
24 void SetDeltaT( Double_t deltaT ) { m_deltaT = deltaT; }
25 void SetPDirection( TVector3 pDirection ) { m_pDirection = pDirection; }
26 void SetMomentum( TVector3 momentum ) { m_momentum = momentum; }
27 void SetCharge( Int_t charge ) { m_charge = charge; }
28
29 Int_t GetTrackIndex() const { return m_trackIndex; }
30 Int_t GetG4Index() const { return m_g4Index; }
31 Int_t GetPartId() const { return m_partId; }
32 Int_t GetScinNb() const { return m_scinNb; }
33 Double_t GetEdep() const { return m_edep; }
34 Double_t GetStepL() const { return m_stepL; }
35 Double_t GetTrackL() const { return m_trackL; }
36 TVector3 GetPos() const { return m_pos; }
37 Double_t GetTime() const { return m_time; }
38 Double_t GetDeltaT() const { return m_deltaT; }
39 TVector3 GetPDirection() const { return m_pDirection; }
40 TVector3 GetMomentum() const { return m_momentum; }
41 Int_t GetCharge() const { return m_charge; }
42
43private:
44 // static Int_t s_count;
45
46 Int_t m_trackIndex;
47 Int_t m_g4Index;
48 Int_t m_partId;
49 Int_t m_scinNb;
50 Double_t m_edep;
51 Double_t m_stepL;
52 Double_t m_trackL;
53 TVector3 m_pos;
54 Double_t m_time;
55 Double_t m_deltaT;
56 TVector3 m_pDirection;
57 TVector3 m_momentum;
58 Int_t m_charge;
59
60 ClassDef( TMcHitTof, 1 )
61};
62
63#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