BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTofHit Class Reference

#include <BesTofHit.hh>

+ Inheritance diagram for BesTofHit:

Public Member Functions

 BesTofHit ()
 
virtual ~BesTofHit ()
 
 BesTofHit (const BesTofHit &)
 
const BesTofHitoperator= (const BesTofHit &)
 
void AddHit (const BesTofHit &)
 
virtual G4int operator== (const BesTofHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetEvent (G4double event)
 
G4double GetEvent ()
 
void SetTrackIndex (G4int trackIndex)
 
void SetG4Index (G4int index)
 
void SetPartId (G4int partId)
 
void SetScinNb (G4int scinNb)
 
void SetEdep (G4double edep)
 
void SetStepL (G4double stepL)
 
void SetTrackL (G4double length)
 
void SetPos (G4ThreeVector pos)
 
void SetTime (G4double time)
 
void SetDeltaT (G4double deltaT)
 
void SetPDirection (G4ThreeVector pDirection)
 
void SetMomentum (G4ThreeVector momentum)
 
void SetCharge (G4double charge)
 
void SetPDGcode (G4int pdgcode)
 
void SetModule (G4int module)
 
void SetStrip (G4int strip)
 
void SetIons (G4int ions)
 
void SetLocPos (G4ThreeVector locPos)
 
void SetGapNb (G4int gapNb)
 
G4int GetTrackIndex ()
 
G4int GetG4Index ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetEdep ()
 
G4double GetStepL ()
 
G4double GetTrackL ()
 
G4ThreeVector GetPos ()
 
G4double GetTime ()
 
G4double GetDeltaT ()
 
G4ThreeVector GetPDirection ()
 
G4ThreeVector GetMomentum ()
 
G4double GetCharge ()
 
G4int GetPDGcode ()
 
G4int GetModule ()
 
G4int GetStrip ()
 
G4int GetIons ()
 
G4ThreeVector GetLocPos ()
 
G4int GetGapNb ()
 
void AddEdep (G4double de)
 
 BesTofHit ()
 
virtual ~BesTofHit ()
 
 BesTofHit (const BesTofHit &)
 
const BesTofHitoperator= (const BesTofHit &)
 
void AddHit (const BesTofHit &)
 
virtual G4int operator== (const BesTofHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetEvent (G4double event)
 
G4double GetEvent ()
 
void SetTrackIndex (G4int trackIndex)
 
void SetG4Index (G4int index)
 
void SetPartId (G4int partId)
 
void SetScinNb (G4int scinNb)
 
void SetEdep (G4double edep)
 
void SetStepL (G4double stepL)
 
void SetTrackL (G4double length)
 
void SetPos (G4ThreeVector pos)
 
void SetTime (G4double time)
 
void SetDeltaT (G4double deltaT)
 
void SetPDirection (G4ThreeVector pDirection)
 
void SetMomentum (G4ThreeVector momentum)
 
void SetCharge (G4double charge)
 
void SetPDGcode (G4int pdgcode)
 
void SetModule (G4int module)
 
void SetStrip (G4int strip)
 
void SetIons (G4int ions)
 
void SetLocPos (G4ThreeVector locPos)
 
void SetGapNb (G4int gapNb)
 
G4int GetTrackIndex ()
 
G4int GetG4Index ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetEdep ()
 
G4double GetStepL ()
 
G4double GetTrackL ()
 
G4ThreeVector GetPos ()
 
G4double GetTime ()
 
G4double GetDeltaT ()
 
G4ThreeVector GetPDirection ()
 
G4ThreeVector GetMomentum ()
 
G4double GetCharge ()
 
G4int GetPDGcode ()
 
G4int GetModule ()
 
G4int GetStrip ()
 
G4int GetIons ()
 
G4ThreeVector GetLocPos ()
 
G4int GetGapNb ()
 
void AddEdep (G4double de)
 

Detailed Description

Constructor & Destructor Documentation

◆ BesTofHit() [1/4]

BesTofHit::BesTofHit ( )

Definition at line 22 of file BesTofHit.cc.

22{}

◆ ~BesTofHit() [1/2]

BesTofHit::~BesTofHit ( )
virtual

Definition at line 24 of file BesTofHit.cc.

24{}

◆ BesTofHit() [2/4]

BesTofHit::BesTofHit ( const BesTofHit right)

Definition at line 26 of file BesTofHit.cc.

27 :G4VHit()
28{
29 m_trackIndex=right.m_trackIndex;
30 m_g4Index=right.m_g4Index;
31 m_partId=right.m_partId;
32 m_scinNb=right.m_scinNb;
33 m_gapNb=right.m_gapNb;
34 m_edep=right.m_edep;
35 m_stepL=right.m_stepL;
36 m_trackL=right.m_trackL;
37 m_pos=right.m_pos;
38 m_time=right.m_time;
39 m_deltaT=right.m_deltaT;
40 m_pDirection=right.m_pDirection;
41 m_momentum=right.m_momentum;
42 //m_scinMaterial = right.m_scinMaterial;
43 m_charge = right.m_charge;
44 m_number_of_ions=right.m_number_of_ions;
45 m_strip = right.m_strip;
46 m_locPos = right.m_locPos;
47}

◆ BesTofHit() [3/4]

BesTofHit::BesTofHit ( )

◆ ~BesTofHit() [2/2]

virtual BesTofHit::~BesTofHit ( )
virtual

◆ BesTofHit() [4/4]

BesTofHit::BesTofHit ( const BesTofHit )

Member Function Documentation

◆ AddEdep() [1/2]

void BesTofHit::AddEdep ( G4double  de)
inline

Definition at line 89 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

89{ m_edep += de; }

◆ AddEdep() [2/2]

void BesTofHit::AddEdep ( G4double  de)
inline

Definition at line 89 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

89{ m_edep += de; }

◆ AddHit() [1/2]

void BesTofHit::AddHit ( const BesTofHit newHit)

Definition at line 81 of file BesTofHit.cc.

82{
83 m_edep += newHit.m_edep;
84 if (m_edep>newHit.m_edep)
85 {
86 m_time = newHit.m_time;
87 m_pos = newHit.m_pos;
88 }
89}

◆ AddHit() [2/2]

void BesTofHit::AddHit ( const BesTofHit )

◆ Draw() [1/2]

void BesTofHit::Draw ( )
virtual

Definition at line 91 of file BesTofHit.cc.

92{
93 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
94 if (pVVisManager)
95 {
96 G4Circle circle(m_pos);
97 circle.SetScreenSize(1.);
98 circle.SetFillStyle(G4Circle::filled);
99 G4Colour colour(0.,0.,1.);
100 G4VisAttributes attribs(colour);
101 circle.SetVisAttributes(attribs);
102 pVVisManager->Draw(circle);
103 }
104}

◆ Draw() [2/2]

virtual void BesTofHit::Draw ( )
virtual

◆ GetCharge() [1/2]

G4double BesTofHit::GetCharge ( )
inline

◆ GetCharge() [2/2]

G4double BesTofHit::GetCharge ( )
inline

Definition at line 80 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

80{return m_charge; }

◆ GetDeltaT() [1/2]

G4double BesTofHit::GetDeltaT ( )
inline

◆ GetDeltaT() [2/2]

G4double BesTofHit::GetDeltaT ( )
inline

Definition at line 75 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

75{return m_deltaT;}

◆ GetEdep() [1/2]

◆ GetEdep() [2/2]

G4double BesTofHit::GetEdep ( )
inline

Definition at line 70 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

70{ return m_edep; }

◆ GetEvent() [1/2]

G4double BesTofHit::GetEvent ( )
inline

Definition at line 42 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

42{return m_event; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetEvent() [2/2]

G4double BesTofHit::GetEvent ( )
inline

Definition at line 42 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

42{return m_event; }

◆ GetG4Index() [1/2]

G4int BesTofHit::GetG4Index ( )
inline

Definition at line 67 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

67{return m_g4Index;}

Referenced by BesTofDigitizerEcV4::Digitize(), and BesRootIO::SaveTofHitRoot().

◆ GetG4Index() [2/2]

G4int BesTofHit::GetG4Index ( )
inline

Definition at line 67 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

67{return m_g4Index;}

◆ GetGapNb() [1/2]

G4int BesTofHit::GetGapNb ( )
inline

Definition at line 87 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

87{ return m_gapNb; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetGapNb() [2/2]

G4int BesTofHit::GetGapNb ( )
inline

Definition at line 87 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

87{ return m_gapNb; }

◆ GetIons() [1/2]

G4int BesTofHit::GetIons ( )
inline

Definition at line 85 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

85{ return m_number_of_ions; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetIons() [2/2]

G4int BesTofHit::GetIons ( )
inline

Definition at line 85 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

85{ return m_number_of_ions; }

◆ GetLocPos() [1/2]

G4ThreeVector BesTofHit::GetLocPos ( )
inline

Definition at line 86 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

86{ return m_locPos; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetLocPos() [2/2]

G4ThreeVector BesTofHit::GetLocPos ( )
inline

Definition at line 86 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

86{ return m_locPos; }

◆ GetModule() [1/2]

G4int BesTofHit::GetModule ( )
inline

Definition at line 83 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

83{return m_scinNb; }

Referenced by BesMcTruthWriter::SaveTofTruth().

◆ GetModule() [2/2]

G4int BesTofHit::GetModule ( )
inline

Definition at line 83 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

83{return m_scinNb; }

◆ GetMomentum() [1/2]

G4ThreeVector BesTofHit::GetMomentum ( )
inline

◆ GetMomentum() [2/2]

G4ThreeVector BesTofHit::GetMomentum ( )
inline

Definition at line 77 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

77{return m_momentum;}

◆ GetPartId() [1/2]

◆ GetPartId() [2/2]

G4int BesTofHit::GetPartId ( )
inline

Definition at line 68 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

68{ return m_partId; }

◆ GetPDGcode() [1/2]

G4int BesTofHit::GetPDGcode ( )
inline

Definition at line 81 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

81{return m_pdgcode;}

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetPDGcode() [2/2]

G4int BesTofHit::GetPDGcode ( )
inline

Definition at line 81 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

81{return m_pdgcode;}

◆ GetPDirection() [1/2]

G4ThreeVector BesTofHit::GetPDirection ( )
inline

◆ GetPDirection() [2/2]

G4ThreeVector BesTofHit::GetPDirection ( )
inline

Definition at line 76 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

76{return m_pDirection;}

◆ GetPos() [1/2]

◆ GetPos() [2/2]

G4ThreeVector BesTofHit::GetPos ( )
inline

Definition at line 73 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

73{ return m_pos; }

◆ GetScinNb() [1/2]

◆ GetScinNb() [2/2]

G4int BesTofHit::GetScinNb ( )
inline

Definition at line 69 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

69{ return m_scinNb; }

◆ GetStepL() [1/2]

◆ GetStepL() [2/2]

G4double BesTofHit::GetStepL ( )
inline

Definition at line 71 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

71{ return m_stepL; }

◆ GetStrip() [1/2]

G4int BesTofHit::GetStrip ( )
inline

Definition at line 84 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

84{ return m_strip; }

Referenced by BesMcTruthWriter::SaveTofTruth().

◆ GetStrip() [2/2]

G4int BesTofHit::GetStrip ( )
inline

Definition at line 84 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

84{ return m_strip; }

◆ GetTime() [1/2]

◆ GetTime() [2/2]

G4double BesTofHit::GetTime ( )
inline

Definition at line 74 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

74{ return m_time;}

◆ GetTrackIndex() [1/2]

◆ GetTrackIndex() [2/2]

G4int BesTofHit::GetTrackIndex ( )
inline

Definition at line 66 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

66{ return m_trackIndex; }

◆ GetTrackL() [1/2]

G4double BesTofHit::GetTrackL ( )
inline

◆ GetTrackL() [2/2]

G4double BesTofHit::GetTrackL ( )
inline

Definition at line 72 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

72{return m_trackL; }

◆ operator delete() [1/2]

void BesTofHit::operator delete ( void *  aHit)
inline

Definition at line 128 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

128 {
129 BesTofHitAllocator.FreeSingle((BesTofHit*) aHit);
130}
G4Allocator< BesTofHit > BesTofHitAllocator
Definition: BesTofHit.cc:20

◆ operator delete() [2/2]

void BesTofHit::operator delete ( void *  )
inline

◆ operator new() [1/2]

void * BesTofHit::operator new ( size_t  )
inline

Definition at line 121 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

121 {
122 void *aHit;
123 aHit = (void *) BesTofHitAllocator.MallocSingle();
124 return aHit;
125}

◆ operator new() [2/2]

void * BesTofHit::operator new ( size_t  )
inline

◆ operator=() [1/2]

const BesTofHit & BesTofHit::operator= ( const BesTofHit right)

Definition at line 50 of file BesTofHit.cc.

51{
52 m_trackIndex=right.m_trackIndex;
53 m_g4Index=right.m_g4Index;
54 m_partId=right.m_partId;
55 m_scinNb=right.m_scinNb;
56 m_gapNb=right.m_gapNb;
57 m_edep=right.m_edep;
58 m_stepL=right.m_stepL;
59 m_trackL=right.m_trackL;
60 m_pos=right.m_pos;
61 m_time=right.m_time;
62 m_deltaT=right.m_deltaT;
63 m_pDirection=right.m_pDirection;
64 m_momentum=right.m_momentum;
65 //m_scinMaterial = right.m_scinMaterial;
66 m_charge = right.m_charge;
67 m_number_of_ions = right.m_number_of_ions;
68 m_strip = right.m_strip;
69 m_locPos = right.m_locPos;
70
71 return *this;
72}

◆ operator=() [2/2]

const BesTofHit & BesTofHit::operator= ( const BesTofHit )

◆ operator==() [1/2]

int BesTofHit::operator== ( const BesTofHit right) const
virtual

Definition at line 76 of file BesTofHit.cc.

77{
78 return (this==&right) ? 1 : 0;
79}

◆ operator==() [2/2]

virtual G4int BesTofHit::operator== ( const BesTofHit ) const
virtual

◆ Print() [1/2]

void BesTofHit::Print ( )
virtual

Definition at line 107 of file BesTofHit.cc.

108{
109 G4cout<<m_trackIndex<<" "<<m_g4Index<<" "<<m_partId<<" "<<m_scinNb<<" ";
110 G4double posx = m_pos.x();
111 G4double posy = m_pos.y();
112 G4double posr = sqrt(posx*posx + posy*posy);
113 G4cout<<posr<<" "<<m_edep<<" "<<m_stepL<<G4endl<<G4endl;
114}

◆ Print() [2/2]

virtual void BesTofHit::Print ( )
virtual

◆ SetCharge() [1/2]

void BesTofHit::SetCharge ( G4double  charge)
inline

Definition at line 57 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

57{m_charge = charge;}

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetCharge() [2/2]

void BesTofHit::SetCharge ( G4double  charge)
inline

Definition at line 57 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

57{m_charge = charge;}

◆ SetDeltaT() [1/2]

void BesTofHit::SetDeltaT ( G4double  deltaT)
inline

Definition at line 52 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

52{ m_deltaT = deltaT;}

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetDeltaT() [2/2]

void BesTofHit::SetDeltaT ( G4double  deltaT)
inline

Definition at line 52 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

52{ m_deltaT = deltaT;}

◆ SetEdep() [1/2]

void BesTofHit::SetEdep ( G4double  edep)
inline

Definition at line 47 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

47{ m_edep = edep; }

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetEdep() [2/2]

void BesTofHit::SetEdep ( G4double  edep)
inline

Definition at line 47 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

47{ m_edep = edep; }

◆ SetEvent() [1/2]

void BesTofHit::SetEvent ( G4double  event)
inline

Definition at line 41 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

41{m_event = event; };

Referenced by BesTofSD::ProcessHits().

◆ SetEvent() [2/2]

void BesTofHit::SetEvent ( G4double  event)
inline

Definition at line 41 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

41{m_event = event; };

◆ SetG4Index() [1/2]

void BesTofHit::SetG4Index ( G4int  index)
inline

Definition at line 44 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

44{m_g4Index = index;}

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetG4Index() [2/2]

void BesTofHit::SetG4Index ( G4int  index)
inline

Definition at line 44 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

44{m_g4Index = index;}

◆ SetGapNb() [1/2]

void BesTofHit::SetGapNb ( G4int  gapNb)
inline

Definition at line 64 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

64{ m_gapNb = gapNb; }

Referenced by BesTofSD::ProcessHits().

◆ SetGapNb() [2/2]

void BesTofHit::SetGapNb ( G4int  gapNb)
inline

Definition at line 64 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

64{ m_gapNb = gapNb; }

◆ SetIons() [1/2]

void BesTofHit::SetIons ( G4int  ions)
inline

Definition at line 62 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

62{ m_number_of_ions=ions; }

Referenced by BesTofSD::ProcessHits().

◆ SetIons() [2/2]

void BesTofHit::SetIons ( G4int  ions)
inline

Definition at line 62 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

62{ m_number_of_ions=ions; }

◆ SetLocPos() [1/2]

void BesTofHit::SetLocPos ( G4ThreeVector  locPos)
inline

Definition at line 63 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

63{ m_locPos = locPos; }

Referenced by BesTofSD::ProcessHits().

◆ SetLocPos() [2/2]

void BesTofHit::SetLocPos ( G4ThreeVector  locPos)
inline

Definition at line 63 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

63{ m_locPos = locPos; }

◆ SetModule() [1/2]

void BesTofHit::SetModule ( G4int  module)
inline

Definition at line 60 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

60{ m_scinNb = module; }

Referenced by BesTofSD::ProcessHits().

◆ SetModule() [2/2]

void BesTofHit::SetModule ( G4int  module)
inline

Definition at line 60 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

60{ m_scinNb = module; }

◆ SetMomentum() [1/2]

void BesTofHit::SetMomentum ( G4ThreeVector  momentum)
inline

Definition at line 54 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

54{ 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 BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetMomentum() [2/2]

void BesTofHit::SetMomentum ( G4ThreeVector  momentum)
inline

Definition at line 54 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

54{ m_momentum = momentum; }

◆ SetPartId() [1/2]

void BesTofHit::SetPartId ( G4int  partId)
inline

Definition at line 45 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

45{m_partId = partId;}

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetPartId() [2/2]

void BesTofHit::SetPartId ( G4int  partId)
inline

Definition at line 45 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

45{m_partId = partId;}

◆ SetPDGcode() [1/2]

void BesTofHit::SetPDGcode ( G4int  pdgcode)
inline

Definition at line 58 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

58{m_pdgcode=pdgcode;}

Referenced by BesTofSD::ProcessHits().

◆ SetPDGcode() [2/2]

void BesTofHit::SetPDGcode ( G4int  pdgcode)
inline

Definition at line 58 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

58{m_pdgcode=pdgcode;}

◆ SetPDirection() [1/2]

void BesTofHit::SetPDirection ( G4ThreeVector  pDirection)
inline

Definition at line 53 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

53{ m_pDirection = pDirection; }

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetPDirection() [2/2]

void BesTofHit::SetPDirection ( G4ThreeVector  pDirection)
inline

Definition at line 53 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

53{ m_pDirection = pDirection; }

◆ SetPos() [1/2]

void BesTofHit::SetPos ( G4ThreeVector  pos)
inline

Definition at line 50 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

50{ m_pos = pos; }

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetPos() [2/2]

void BesTofHit::SetPos ( G4ThreeVector  pos)
inline

Definition at line 50 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

50{ m_pos = pos; }

◆ SetScinNb() [1/2]

void BesTofHit::SetScinNb ( G4int  scinNb)
inline

Definition at line 46 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

46{ m_scinNb = scinNb; }

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetScinNb() [2/2]

void BesTofHit::SetScinNb ( G4int  scinNb)
inline

Definition at line 46 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

46{ m_scinNb = scinNb; }

◆ SetStepL() [1/2]

void BesTofHit::SetStepL ( G4double  stepL)
inline

Definition at line 48 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

48{ m_stepL = stepL;}

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetStepL() [2/2]

void BesTofHit::SetStepL ( G4double  stepL)
inline

Definition at line 48 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

48{ m_stepL = stepL;}

◆ SetStrip() [1/2]

void BesTofHit::SetStrip ( G4int  strip)
inline

Definition at line 61 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

61{ m_strip = strip; }

Referenced by BesTofSD::ProcessHits().

◆ SetStrip() [2/2]

void BesTofHit::SetStrip ( G4int  strip)
inline

Definition at line 61 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

61{ m_strip = strip; }

◆ SetTime() [1/2]

void BesTofHit::SetTime ( G4double  time)
inline

Definition at line 51 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

51{ m_time=time;}
Double_t time

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetTime() [2/2]

void BesTofHit::SetTime ( G4double  time)
inline

Definition at line 51 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

51{ m_time=time;}

◆ SetTrackIndex() [1/2]

void BesTofHit::SetTrackIndex ( G4int  trackIndex)
inline

Definition at line 43 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

43{ m_trackIndex = trackIndex; };

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetTrackIndex() [2/2]

void BesTofHit::SetTrackIndex ( G4int  trackIndex)
inline

Definition at line 43 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

43{ m_trackIndex = trackIndex; };

◆ SetTrackL() [1/2]

void BesTofHit::SetTrackL ( G4double  length)
inline

Definition at line 49 of file InstallArea/include/TofSim/TofSim/BesTofHit.hh.

49{ m_trackL = length; }

Referenced by BesTuningIO::GetTofRootHits(), and BesTofSD::ProcessHits().

◆ SetTrackL() [2/2]

void BesTofHit::SetTrackL ( G4double  length)
inline

Definition at line 49 of file Simulation/BOOST/TofSim/TofSim-00-02-33/TofSim/BesTofHit.hh.

49{ m_trackL = length; }

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