BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TMcHitTof Class Reference

#include <TMcHitTof.h>

+ Inheritance diagram for TMcHitTof:

Public Member Functions

 TMcHitTof ()
 
 ~TMcHitTof ()
 
void SetTrackIndex (Int_t trackIndex)
 
void SetG4Index (Int_t index)
 
void SetPartId (Int_t partId)
 
void SetScinNb (Int_t scinNb)
 
void SetEdep (Double_t edep)
 
void SetStepL (Double_t stepL)
 
void SetTrackL (Double_t length)
 
void SetPos (TVector3 pos)
 
void SetTime (Double_t time)
 
void SetDeltaT (Double_t deltaT)
 
void SetPDirection (TVector3 pDirection)
 
void SetMomentum (TVector3 momentum)
 
void SetCharge (Int_t charge)
 
Int_t GetTrackIndex () const
 
Int_t GetG4Index () const
 
Int_t GetPartId () const
 
Int_t GetScinNb () const
 
Double_t GetEdep () const
 
Double_t GetStepL () const
 
Double_t GetTrackL () const
 
TVector3 GetPos () const
 
Double_t GetTime () const
 
Double_t GetDeltaT () const
 
TVector3 GetPDirection () const
 
TVector3 GetMomentum () const
 
Int_t GetCharge () const
 

Detailed Description

Definition at line 8 of file TMcHitTof.h.

Constructor & Destructor Documentation

◆ TMcHitTof()

TMcHitTof::TMcHitTof ( )

◆ ~TMcHitTof()

TMcHitTof::~TMcHitTof ( )

Definition at line 10 of file TMcHitTof.cxx.

10 {
11 Clear();
12}

Member Function Documentation

◆ GetCharge()

Int_t TMcHitTof::GetCharge ( ) const
inline

Definition at line 43 of file TMcHitTof.h.

43{return m_charge; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetDeltaT()

Double_t TMcHitTof::GetDeltaT ( ) const
inline

Definition at line 40 of file TMcHitTof.h.

40{return m_deltaT;}

Referenced by BesTuningIO::GetTofRootHits().

◆ GetEdep()

Double_t TMcHitTof::GetEdep ( ) const
inline

Definition at line 35 of file TMcHitTof.h.

35{ return m_edep; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetG4Index()

Int_t TMcHitTof::GetG4Index ( ) const
inline

Definition at line 32 of file TMcHitTof.h.

32{return m_g4Index;}

Referenced by BesTuningIO::GetTofRootHits().

◆ GetMomentum()

TVector3 TMcHitTof::GetMomentum ( ) const
inline

Definition at line 42 of file TMcHitTof.h.

42{return m_momentum;}

Referenced by BesTuningIO::GetTofRootHits().

◆ GetPartId()

Int_t TMcHitTof::GetPartId ( ) const
inline

Definition at line 33 of file TMcHitTof.h.

33{ return m_partId; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetPDirection()

TVector3 TMcHitTof::GetPDirection ( ) const
inline

Definition at line 41 of file TMcHitTof.h.

41{return m_pDirection;}

Referenced by BesTuningIO::GetTofRootHits().

◆ GetPos()

TVector3 TMcHitTof::GetPos ( ) const
inline

Definition at line 38 of file TMcHitTof.h.

38{ return m_pos; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetScinNb()

Int_t TMcHitTof::GetScinNb ( ) const
inline

Definition at line 34 of file TMcHitTof.h.

34{ return m_scinNb; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetStepL()

Double_t TMcHitTof::GetStepL ( ) const
inline

Definition at line 36 of file TMcHitTof.h.

36{ return m_stepL; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetTime()

Double_t TMcHitTof::GetTime ( ) const
inline

Definition at line 39 of file TMcHitTof.h.

39{ return m_time;}

Referenced by BesTuningIO::GetTofRootHits().

◆ GetTrackIndex()

Int_t TMcHitTof::GetTrackIndex ( ) const
inline

Definition at line 31 of file TMcHitTof.h.

31{ return m_trackIndex; }

Referenced by BesTuningIO::GetTofRootHits().

◆ GetTrackL()

Double_t TMcHitTof::GetTrackL ( ) const
inline

Definition at line 37 of file TMcHitTof.h.

37{return m_trackL; }

Referenced by BesTuningIO::GetTofRootHits().

◆ SetCharge()

void TMcHitTof::SetCharge ( Int_t  charge)
inline

Definition at line 29 of file TMcHitTof.h.

29{m_charge = charge;}
float charge

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetDeltaT()

void TMcHitTof::SetDeltaT ( Double_t  deltaT)
inline

Definition at line 26 of file TMcHitTof.h.

26{ m_deltaT = deltaT;}

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetEdep()

void TMcHitTof::SetEdep ( Double_t  edep)
inline

Definition at line 21 of file TMcHitTof.h.

21{ m_edep = edep; }

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetG4Index()

void TMcHitTof::SetG4Index ( Int_t  index)
inline

Definition at line 18 of file TMcHitTof.h.

18{m_g4Index = index;}

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetMomentum()

void TMcHitTof::SetMomentum ( TVector3  momentum)
inline

Definition at line 28 of file TMcHitTof.h.

28{ m_momentum = momentum; }
**********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

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetPartId()

void TMcHitTof::SetPartId ( Int_t  partId)
inline

Definition at line 19 of file TMcHitTof.h.

19{m_partId = partId;}

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetPDirection()

void TMcHitTof::SetPDirection ( TVector3  pDirection)
inline

Definition at line 27 of file TMcHitTof.h.

27{ m_pDirection = pDirection; }

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetPos()

void TMcHitTof::SetPos ( TVector3  pos)
inline

Definition at line 24 of file TMcHitTof.h.

24{ m_pos = pos; }

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetScinNb()

void TMcHitTof::SetScinNb ( Int_t  scinNb)
inline

Definition at line 20 of file TMcHitTof.h.

20{ m_scinNb = scinNb; }

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetStepL()

void TMcHitTof::SetStepL ( Double_t  stepL)
inline

Definition at line 22 of file TMcHitTof.h.

22{ m_stepL = stepL;}

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetTime()

void TMcHitTof::SetTime ( Double_t  time)
inline

Definition at line 25 of file TMcHitTof.h.

25{ m_time=time;}

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetTrackIndex()

void TMcHitTof::SetTrackIndex ( Int_t  trackIndex)
inline

Definition at line 17 of file TMcHitTof.h.

17{ m_trackIndex = trackIndex; };

Referenced by BesRootIO::SaveTofHitRoot().

◆ SetTrackL()

void TMcHitTof::SetTrackL ( Double_t  length)
inline

Definition at line 23 of file TMcHitTof.h.

23{ m_trackL = length; }

Referenced by BesRootIO::SaveTofHitRoot().


The documentation for this class was generated from the following files: