BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMucHit Class Reference

#include <BesMucHit.hh>

Inheritance diagram for BesMucHit:

Public Member Functions

 BesMucHit ()
 BesMucHit (int prt, int seg, int lay, int str, int trId, int trIndex)
 ~BesMucHit ()
 BesMucHit (const BesMucHit &)
const BesMucHitoperator= (const BesMucHit &)
int operator== (const BesMucHit &) const
void * operator new (size_t)
void operator delete (void *)
void Draw ()
void Print ()
void SetTrackID (G4int track)
void SetTrackIndex (G4int index)
void SetPDGCode (G4int pdg)
void SetEdep (G4double de)
void SetEnergy (G4double energy)
void SetTime (G4double t)
void SetPos (G4ThreeVector xyz)
void SetPosLocal (G4ThreeVector xyzLocal)
void SetDir (G4ThreeVector dir)
void SetMomentum (G4ThreeVector momentum)
void SetVolume (G4VPhysicalVolume *pv)
void SetPart (G4int part)
void SetSeg (G4int seg)
void SetGap (G4int gap)
void SetStrip (G4int strip)
G4int GetTrackID ()
G4int GetTrackIndex ()
G4int GetPDGCode ()
G4double GetEdep ()
G4double GetEnergy ()
G4double GetTime ()
G4ThreeVector GetPos ()
G4ThreeVector GetPosLocal ()
G4ThreeVector GetDir ()
G4ThreeVector GetMomentum ()
G4VPhysicalVolume * GetVolume ()
G4String GetVolumeName ()
G4int GetPart ()
G4int GetSeg ()
G4int GetGap ()
G4int GetStrip ()
G4int GetPanel ()
G4int GetGasChamber ()
 BesMucHit ()
 BesMucHit (int prt, int seg, int lay, int str, int trId, int trIndex)
 ~BesMucHit ()
 BesMucHit (const BesMucHit &)
const BesMucHitoperator= (const BesMucHit &)
int operator== (const BesMucHit &) const
void * operator new (size_t)
void operator delete (void *)
void Draw ()
void Print ()
void SetTrackID (G4int track)
void SetTrackIndex (G4int index)
void SetPDGCode (G4int pdg)
void SetEdep (G4double de)
void SetEnergy (G4double energy)
void SetTime (G4double t)
void SetPos (G4ThreeVector xyz)
void SetPosLocal (G4ThreeVector xyzLocal)
void SetDir (G4ThreeVector dir)
void SetMomentum (G4ThreeVector momentum)
void SetVolume (G4VPhysicalVolume *pv)
void SetPart (G4int part)
void SetSeg (G4int seg)
void SetGap (G4int gap)
void SetStrip (G4int strip)
G4int GetTrackID ()
G4int GetTrackIndex ()
G4int GetPDGCode ()
G4double GetEdep ()
G4double GetEnergy ()
G4double GetTime ()
G4ThreeVector GetPos ()
G4ThreeVector GetPosLocal ()
G4ThreeVector GetDir ()
G4ThreeVector GetMomentum ()
G4VPhysicalVolume * GetVolume ()
G4String GetVolumeName ()
G4int GetPart ()
G4int GetSeg ()
G4int GetGap ()
G4int GetStrip ()
G4int GetPanel ()
G4int GetGasChamber ()
 BesMucHit ()
 BesMucHit (int prt, int seg, int lay, int str, int trId, int trIndex)
 ~BesMucHit ()
 BesMucHit (const BesMucHit &)
const BesMucHitoperator= (const BesMucHit &)
int operator== (const BesMucHit &) const
void * operator new (size_t)
void operator delete (void *)
void Draw ()
void Print ()
void SetTrackID (G4int track)
void SetTrackIndex (G4int index)
void SetPDGCode (G4int pdg)
void SetEdep (G4double de)
void SetEnergy (G4double energy)
void SetTime (G4double t)
void SetPos (G4ThreeVector xyz)
void SetPosLocal (G4ThreeVector xyzLocal)
void SetDir (G4ThreeVector dir)
void SetMomentum (G4ThreeVector momentum)
void SetVolume (G4VPhysicalVolume *pv)
void SetPart (G4int part)
void SetSeg (G4int seg)
void SetGap (G4int gap)
void SetStrip (G4int strip)
G4int GetTrackID ()
G4int GetTrackIndex ()
G4int GetPDGCode ()
G4double GetEdep ()
G4double GetEnergy ()
G4double GetTime ()
G4ThreeVector GetPos ()
G4ThreeVector GetPosLocal ()
G4ThreeVector GetDir ()
G4ThreeVector GetMomentum ()
G4VPhysicalVolume * GetVolume ()
G4String GetVolumeName ()
G4int GetPart ()
G4int GetSeg ()
G4int GetGap ()
G4int GetStrip ()
G4int GetPanel ()
G4int GetGasChamber ()

Detailed Description

Constructor & Destructor Documentation

◆ BesMucHit() [1/9]

BesMucHit::BesMucHit ( )

Definition at line 26 of file BesMucHit.cc.

26{}

Referenced by BesMucHit(), operator delete(), operator=(), and operator==().

◆ BesMucHit() [2/9]

BesMucHit::BesMucHit ( int prt,
int seg,
int lay,
int str,
int trId,
int trIndex )

Definition at line 28 of file BesMucHit.cc.

28 {
29 m_Part = prt;
30 m_Seg = seg;
31 m_Gap = lay;
32 m_Strip = str;
33 m_TrackID = trId;
34 m_TrackIndex = trIndex;
35}
#define prt(n)

◆ ~BesMucHit() [1/3]

BesMucHit::~BesMucHit ( )

Definition at line 37 of file BesMucHit.cc.

37{}

◆ BesMucHit() [3/9]

BesMucHit::BesMucHit ( const BesMucHit & right)

Definition at line 39 of file BesMucHit.cc.

39 : G4VHit() {
40 m_TrackID = right.m_TrackID;
41 m_TrackIndex = right.m_TrackIndex;
42 m_PDGCode = right.m_PDGCode;
43 m_Edep = right.m_Edep;
44 m_Energy = right.m_Energy;
45 m_Time = right.m_Time;
46 m_Pos = right.m_Pos;
47 m_PosLocal = right.m_PosLocal;
48 m_Dir = right.m_Dir;
49 m_Momentum = right.m_Momentum;
50 m_Volume = right.m_Volume;
51 m_VolumeName = right.m_VolumeName;
52 m_Part = right.m_Part;
53 m_Seg = right.m_Seg;
54 m_Gap = right.m_Gap;
55 m_Panel = right.m_Panel;
56 m_GasChamber = right.m_GasChamber; // now it means up or down RPC! 2006.10.17
57 m_Strip = right.m_Strip;
58}

◆ BesMucHit() [4/9]

BesMucHit::BesMucHit ( )

◆ BesMucHit() [5/9]

BesMucHit::BesMucHit ( int prt,
int seg,
int lay,
int str,
int trId,
int trIndex )

◆ ~BesMucHit() [2/3]

BesMucHit::~BesMucHit ( )

◆ BesMucHit() [6/9]

BesMucHit::BesMucHit ( const BesMucHit & )

◆ BesMucHit() [7/9]

BesMucHit::BesMucHit ( )

◆ BesMucHit() [8/9]

BesMucHit::BesMucHit ( int prt,
int seg,
int lay,
int str,
int trId,
int trIndex )

◆ ~BesMucHit() [3/3]

BesMucHit::~BesMucHit ( )

◆ BesMucHit() [9/9]

BesMucHit::BesMucHit ( const BesMucHit & )

Member Function Documentation

◆ Draw() [1/3]

void BesMucHit::Draw ( )

Definition at line 131 of file BesMucHit.cc.

131 {
132 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
133 if ( pVVisManager )
134 {
135 G4Circle circle( m_Pos );
136 circle.SetScreenSize( 4. );
137 circle.SetFillStyle( G4Circle::filled );
138 G4Colour colour( 0., 0., 1. );
139 G4VisAttributes attribs( colour );
140 circle.SetVisAttributes( attribs );
141 pVVisManager->Draw( circle );
142
143 // re-visualize a physical volume where a hit is detected
144 //
145 //
146 /* const G4ThreeVector& thrVector=G4ThreeVector(1.,0.,0.);
147 const G4RotationMatrix &rot =
148 G4RotationMatrix(thrVector,0.*deg);
149
150 G4Transform3D trans(rot, pos);
151 G4VisAttributes att;
152 const G4VPhysicalVolume* pPhys= detector->GetPhysicalTrap();
153 const G4LogicalVolume* logVol=
154 pPhys->GetLogicalVolume();
155 const G4VisAttributes* pVA=logVol->GetVisAttributes();
156 if(pVA) att=*pVA;
157 G4Colour col(1.,0.,0.);
158 att.SetColour(col);
159 att.SetForceSolid(true);
160
161 pVVisManager->Draw(*pPhys,att,trans);*/
162 }
163}

Referenced by BesMucSD::ProcessHits().

◆ Draw() [2/3]

void BesMucHit::Draw ( )

◆ Draw() [3/3]

void BesMucHit::Draw ( )

◆ GetDir() [1/3]

G4ThreeVector BesMucHit::GetDir ( )
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

67{ return m_Dir; };

◆ GetDir() [2/3]

G4ThreeVector BesMucHit::GetDir ( )
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

67{ return m_Dir; };

◆ GetDir() [3/3]

G4ThreeVector BesMucHit::GetDir ( )
inline

Definition at line 67 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

67{ return m_Dir; };

◆ GetEdep() [1/3]

G4double BesMucHit::GetEdep ( )
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

62{ return m_Edep; };

◆ GetEdep() [2/3]

G4double BesMucHit::GetEdep ( )
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

62{ return m_Edep; };

◆ GetEdep() [3/3]

G4double BesMucHit::GetEdep ( )
inline

Definition at line 62 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

62{ return m_Edep; };

◆ GetEnergy() [1/3]

G4double BesMucHit::GetEnergy ( )
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

63{ return m_Energy; };

◆ GetEnergy() [2/3]

G4double BesMucHit::GetEnergy ( )
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

63{ return m_Energy; };

◆ GetEnergy() [3/3]

G4double BesMucHit::GetEnergy ( )
inline

Definition at line 63 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

63{ return m_Energy; };

◆ GetGap() [1/3]

G4int BesMucHit::GetGap ( )
inline

◆ GetGap() [2/3]

G4int BesMucHit::GetGap ( )
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

73{ return m_Gap; };

◆ GetGap() [3/3]

G4int BesMucHit::GetGap ( )
inline

Definition at line 73 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

73{ return m_Gap; };

◆ GetGasChamber() [1/3]

G4int BesMucHit::GetGasChamber ( )
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

76{ return m_GasChamber; };

◆ GetGasChamber() [2/3]

G4int BesMucHit::GetGasChamber ( )
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

76{ return m_GasChamber; };

◆ GetGasChamber() [3/3]

G4int BesMucHit::GetGasChamber ( )
inline

Definition at line 76 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

76{ return m_GasChamber; };

◆ GetMomentum() [1/3]

G4ThreeVector BesMucHit::GetMomentum ( )
inline

◆ GetMomentum() [2/3]

G4ThreeVector BesMucHit::GetMomentum ( )
inline

Definition at line 68 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

68{ return m_Momentum; };

◆ GetMomentum() [3/3]

G4ThreeVector BesMucHit::GetMomentum ( )
inline

Definition at line 68 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

68{ return m_Momentum; };

◆ GetPanel() [1/3]

G4int BesMucHit::GetPanel ( )
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

75{ return m_Panel; };

◆ GetPanel() [2/3]

G4int BesMucHit::GetPanel ( )
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

75{ return m_Panel; };

◆ GetPanel() [3/3]

G4int BesMucHit::GetPanel ( )
inline

Definition at line 75 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

75{ return m_Panel; };

◆ GetPart() [1/3]

◆ GetPart() [2/3]

G4int BesMucHit::GetPart ( )
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

71{ return m_Part; };

◆ GetPart() [3/3]

G4int BesMucHit::GetPart ( )
inline

Definition at line 71 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

71{ return m_Part; };

◆ GetPDGCode() [1/3]

G4int BesMucHit::GetPDGCode ( )
inline

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

61{ return m_PDGCode; };

◆ GetPDGCode() [2/3]

G4int BesMucHit::GetPDGCode ( )
inline

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

61{ return m_PDGCode; };

◆ GetPDGCode() [3/3]

G4int BesMucHit::GetPDGCode ( )
inline

Definition at line 61 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

61{ return m_PDGCode; };

◆ GetPos() [1/3]

G4ThreeVector BesMucHit::GetPos ( )
inline

◆ GetPos() [2/3]

G4ThreeVector BesMucHit::GetPos ( )
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

65{ return m_Pos; };

◆ GetPos() [3/3]

G4ThreeVector BesMucHit::GetPos ( )
inline

Definition at line 65 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

65{ return m_Pos; };

◆ GetPosLocal() [1/3]

G4ThreeVector BesMucHit::GetPosLocal ( )
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

66{ return m_PosLocal; };

◆ GetPosLocal() [2/3]

G4ThreeVector BesMucHit::GetPosLocal ( )
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

66{ return m_PosLocal; };

◆ GetPosLocal() [3/3]

G4ThreeVector BesMucHit::GetPosLocal ( )
inline

Definition at line 66 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

66{ return m_PosLocal; };

◆ GetSeg() [1/3]

G4int BesMucHit::GetSeg ( )
inline

◆ GetSeg() [2/3]

G4int BesMucHit::GetSeg ( )
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

72{ return m_Seg; };

◆ GetSeg() [3/3]

G4int BesMucHit::GetSeg ( )
inline

Definition at line 72 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

72{ return m_Seg; };

◆ GetStrip() [1/3]

G4int BesMucHit::GetStrip ( )
inline

◆ GetStrip() [2/3]

G4int BesMucHit::GetStrip ( )
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

74{ return m_Strip; };

◆ GetStrip() [3/3]

G4int BesMucHit::GetStrip ( )
inline

Definition at line 74 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

74{ return m_Strip; };

◆ GetTime() [1/3]

G4double BesMucHit::GetTime ( )
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

64{ return m_Time; };

◆ GetTime() [2/3]

G4double BesMucHit::GetTime ( )
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

64{ return m_Time; };

◆ GetTime() [3/3]

G4double BesMucHit::GetTime ( )
inline

Definition at line 64 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

64{ return m_Time; };

◆ GetTrackID() [1/3]

G4int BesMucHit::GetTrackID ( )
inline

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

59{ return m_TrackID; };

◆ GetTrackID() [2/3]

G4int BesMucHit::GetTrackID ( )
inline

Definition at line 59 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

59{ return m_TrackID; };

◆ GetTrackID() [3/3]

G4int BesMucHit::GetTrackID ( )
inline

Definition at line 59 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

59{ return m_TrackID; };

◆ GetTrackIndex() [1/3]

G4int BesMucHit::GetTrackIndex ( )
inline

◆ GetTrackIndex() [2/3]

G4int BesMucHit::GetTrackIndex ( )
inline

Definition at line 60 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

60{ return m_TrackIndex; };

◆ GetTrackIndex() [3/3]

G4int BesMucHit::GetTrackIndex ( )
inline

Definition at line 60 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

60{ return m_TrackIndex; };

◆ GetVolume() [1/3]

G4VPhysicalVolume * BesMucHit::GetVolume ( )
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

69{ return m_Volume; };

◆ GetVolume() [2/3]

G4VPhysicalVolume * BesMucHit::GetVolume ( )
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

69{ return m_Volume; };

◆ GetVolume() [3/3]

G4VPhysicalVolume * BesMucHit::GetVolume ( )
inline

Definition at line 69 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

69{ return m_Volume; };

◆ GetVolumeName() [1/3]

G4String BesMucHit::GetVolumeName ( )
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

70{ return m_VolumeName; };

◆ GetVolumeName() [2/3]

G4String BesMucHit::GetVolumeName ( )
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

70{ return m_VolumeName; };

◆ GetVolumeName() [3/3]

G4String BesMucHit::GetVolumeName ( )
inline

Definition at line 70 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

70{ return m_VolumeName; };

◆ operator delete() [1/3]

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

Definition at line 110 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

110 {
111 BesMucHitAllocator.FreeSingle( (BesMucHit*)aHit );
112}
G4Allocator< BesMucHit > BesMucHitAllocator
Definition BesMucHit.cc:24

◆ operator delete() [2/3]

void BesMucHit::operator delete ( void * )
inline

◆ operator delete() [3/3]

void BesMucHit::operator delete ( void * )
inline

◆ operator new() [1/3]

void * BesMucHit::operator new ( size_t )
inline

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

104 {
105 void* aHit;
106 aHit = (void*)BesMucHitAllocator.MallocSingle();
107 return aHit;
108}

◆ operator new() [2/3]

void * BesMucHit::operator new ( size_t )
inline

◆ operator new() [3/3]

void * BesMucHit::operator new ( size_t )
inline

◆ operator=() [1/3]

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

Definition at line 60 of file BesMucHit.cc.

60 {
61 m_TrackID = right.m_TrackID;
62 m_TrackIndex = right.m_TrackIndex;
63 m_PDGCode = right.m_PDGCode;
64 m_Edep = right.m_Edep;
65 m_Energy = right.m_Energy;
66 m_Time = right.m_Time;
67 m_Pos = right.m_Pos;
68 m_PosLocal = right.m_PosLocal;
69 m_Dir = right.m_Dir;
70 m_Momentum = right.m_Momentum;
71 m_Volume = right.m_Volume;
72 m_VolumeName = right.m_VolumeName;
73 m_Part = right.m_Part;
74 m_Seg = right.m_Seg;
75 m_Gap = right.m_Gap;
76 m_Panel = right.m_Panel;
77 m_GasChamber = right.m_GasChamber;
78 m_Strip = right.m_Strip;
79 return *this;
80}

◆ operator=() [2/3]

const BesMucHit & BesMucHit::operator= ( const BesMucHit & )

◆ operator=() [3/3]

const BesMucHit & BesMucHit::operator= ( const BesMucHit & )

◆ operator==() [1/3]

int BesMucHit::operator== ( const BesMucHit & right) const

Definition at line 82 of file BesMucHit.cc.

82 {
83 return ( this == &right ) ? 1 : 0;
84}

◆ operator==() [2/3]

int BesMucHit::operator== ( const BesMucHit & ) const

◆ operator==() [3/3]

int BesMucHit::operator== ( const BesMucHit & ) const

◆ Print() [1/3]

void BesMucHit::Print ( )

Definition at line 165 of file BesMucHit.cc.

165 {
166
167 G4cout << " Track id: " << m_TrackID << " pdg code: " << m_PDGCode << G4endl
168 << " energy deposit: " << G4BestUnit( m_Edep, "Energy" )
169 << " pos: " << G4BestUnit( m_Pos, "Length" )
170 << " posLocal: " << G4BestUnit( m_PosLocal, "Length" ) << G4endl
171 << " energy: " << G4BestUnit( m_Energy, "Energy" ) << " direction: " << m_Dir
172 << " time: " << G4BestUnit( m_Time, "Time" ) << " volume name: " << m_VolumeName
173 << G4endl;
174}

◆ Print() [2/3]

void BesMucHit::Print ( )

◆ Print() [3/3]

void BesMucHit::Print ( )

◆ SetDir() [1/3]

void BesMucHit::SetDir ( G4ThreeVector dir)
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

51{ m_Dir = dir; };

Referenced by BesMucSD::ProcessHits().

◆ SetDir() [2/3]

void BesMucHit::SetDir ( G4ThreeVector dir)
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

51{ m_Dir = dir; };

◆ SetDir() [3/3]

void BesMucHit::SetDir ( G4ThreeVector dir)
inline

Definition at line 51 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

51{ m_Dir = dir; };

◆ SetEdep() [1/3]

void BesMucHit::SetEdep ( G4double de)
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

46{ m_Edep = de; };

Referenced by BesMucSD::ProcessHits().

◆ SetEdep() [2/3]

void BesMucHit::SetEdep ( G4double de)
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

46{ m_Edep = de; };

◆ SetEdep() [3/3]

void BesMucHit::SetEdep ( G4double de)
inline

Definition at line 46 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

46{ m_Edep = de; };

◆ SetEnergy() [1/3]

void BesMucHit::SetEnergy ( G4double energy)
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

47{ m_Energy = energy; };
************Class m_ypar INTEGER m_KeyWgt INTEGER m_KeyIHVP INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
Definition KK2f.h:50

Referenced by BesMucSD::ProcessHits().

◆ SetEnergy() [2/3]

void BesMucHit::SetEnergy ( G4double energy)
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

47{ m_Energy = energy; };

◆ SetEnergy() [3/3]

void BesMucHit::SetEnergy ( G4double energy)
inline

Definition at line 47 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

47{ m_Energy = energy; };

◆ SetGap() [1/3]

void BesMucHit::SetGap ( G4int gap)
inline

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

56{ m_Gap = gap; };

Referenced by BesMucSD::ProcessHits().

◆ SetGap() [2/3]

void BesMucHit::SetGap ( G4int gap)
inline

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

56{ m_Gap = gap; };

◆ SetGap() [3/3]

void BesMucHit::SetGap ( G4int gap)
inline

Definition at line 56 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

56{ m_Gap = gap; };

◆ SetMomentum() [1/3]

void BesMucHit::SetMomentum ( G4ThreeVector momentum)
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

52{ 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 BesMucSD::ProcessHits().

◆ SetMomentum() [2/3]

void BesMucHit::SetMomentum ( G4ThreeVector momentum)
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

52{ m_Momentum = momentum; };

◆ SetMomentum() [3/3]

void BesMucHit::SetMomentum ( G4ThreeVector momentum)
inline

Definition at line 52 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

52{ m_Momentum = momentum; };

◆ SetPart() [1/3]

void BesMucHit::SetPart ( G4int part)
inline

Definition at line 54 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

54{ m_Part = part; };

Referenced by BesMucSD::ProcessHits().

◆ SetPart() [2/3]

void BesMucHit::SetPart ( G4int part)
inline

Definition at line 54 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

54{ m_Part = part; };

◆ SetPart() [3/3]

void BesMucHit::SetPart ( G4int part)
inline

Definition at line 54 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

54{ m_Part = part; };

◆ SetPDGCode() [1/3]

void BesMucHit::SetPDGCode ( G4int pdg)
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

45{ m_PDGCode = pdg; };

Referenced by BesMucSD::ProcessHits().

◆ SetPDGCode() [2/3]

void BesMucHit::SetPDGCode ( G4int pdg)
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

45{ m_PDGCode = pdg; };

◆ SetPDGCode() [3/3]

void BesMucHit::SetPDGCode ( G4int pdg)
inline

Definition at line 45 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

45{ m_PDGCode = pdg; };

◆ SetPos() [1/3]

void BesMucHit::SetPos ( G4ThreeVector xyz)
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

49{ m_Pos = xyz; };

Referenced by BesMucSD::ProcessHits().

◆ SetPos() [2/3]

void BesMucHit::SetPos ( G4ThreeVector xyz)
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

49{ m_Pos = xyz; };

◆ SetPos() [3/3]

void BesMucHit::SetPos ( G4ThreeVector xyz)
inline

Definition at line 49 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

49{ m_Pos = xyz; };

◆ SetPosLocal() [1/3]

void BesMucHit::SetPosLocal ( G4ThreeVector xyzLocal)
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

50{ m_PosLocal = xyzLocal; };

Referenced by BesMucSD::ProcessHits().

◆ SetPosLocal() [2/3]

void BesMucHit::SetPosLocal ( G4ThreeVector xyzLocal)
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

50{ m_PosLocal = xyzLocal; };

◆ SetPosLocal() [3/3]

void BesMucHit::SetPosLocal ( G4ThreeVector xyzLocal)
inline

Definition at line 50 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

50{ m_PosLocal = xyzLocal; };

◆ SetSeg() [1/3]

void BesMucHit::SetSeg ( G4int seg)
inline

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

55{ m_Seg = seg; };

Referenced by BesMucSD::ProcessHits().

◆ SetSeg() [2/3]

void BesMucHit::SetSeg ( G4int seg)
inline

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

55{ m_Seg = seg; };

◆ SetSeg() [3/3]

void BesMucHit::SetSeg ( G4int seg)
inline

Definition at line 55 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

55{ m_Seg = seg; };

◆ SetStrip() [1/3]

void BesMucHit::SetStrip ( G4int strip)
inline

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

57{ m_Strip = strip; };

Referenced by BesMucSD::ProcessHits().

◆ SetStrip() [2/3]

void BesMucHit::SetStrip ( G4int strip)
inline

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

57{ m_Strip = strip; };

◆ SetStrip() [3/3]

void BesMucHit::SetStrip ( G4int strip)
inline

Definition at line 57 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

57{ m_Strip = strip; };

◆ SetTime() [1/3]

void BesMucHit::SetTime ( G4double t)
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

48{ m_Time = t; };
int t()
Definition t.c:1

Referenced by BesMucSD::ProcessHits().

◆ SetTime() [2/3]

void BesMucHit::SetTime ( G4double t)
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

48{ m_Time = t; };

◆ SetTime() [3/3]

void BesMucHit::SetTime ( G4double t)
inline

Definition at line 48 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

48{ m_Time = t; };

◆ SetTrackID() [1/3]

void BesMucHit::SetTrackID ( G4int track)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

43{ m_TrackID = track; };

Referenced by BesMucSD::ProcessHits().

◆ SetTrackID() [2/3]

void BesMucHit::SetTrackID ( G4int track)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

43{ m_TrackID = track; };

◆ SetTrackID() [3/3]

void BesMucHit::SetTrackID ( G4int track)
inline

Definition at line 43 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

43{ m_TrackID = track; };

◆ SetTrackIndex() [1/3]

void BesMucHit::SetTrackIndex ( G4int index)
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/MucSim/BesMucHit.hh.

44{ m_TrackIndex = index; };

Referenced by BesMucSD::ProcessHits().

◆ SetTrackIndex() [2/3]

void BesMucHit::SetTrackIndex ( G4int index)
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/MucSim/BesMucHit.hh.

44{ m_TrackIndex = index; };

◆ SetTrackIndex() [3/3]

void BesMucHit::SetTrackIndex ( G4int index)
inline

Definition at line 44 of file Simulation/BOOST/MucSim/include/MucSim/BesMucHit.hh.

44{ m_TrackIndex = index; };

◆ SetVolume() [1/3]

void BesMucHit::SetVolume ( G4VPhysicalVolume * pv)

Definition at line 86 of file BesMucHit.cc.

86 {
87 m_Volume = pv;
88 m_VolumeName = pv->GetLogicalVolume()->GetName();
89
90 G4LogicalVolume* lvGap = pv->GetMotherLogical();
91 G4String GapName = lvGap->GetName();
92
93 // G4cout<<" in BesMucHit ---- "<<m_VolumeName<<" "<<GapName<<G4endl;
94 // // "logicalMucPart1Seg0Gap4Panel1GasChamber0"
95 // // "logicalMucPart1Seg4Gap0"
96 // G4String strPart = m_VolumeName.substr(14,1);
97 // G4String strSeg = GapName.substr(18,1);
98 // G4String strGap = m_VolumeName.substr(22,1);
99 // G4String strPanel = m_VolumeName.substr(28,1);
100 // G4String strGasChamber = m_VolumeName.substr(39,1);
101
102 // "logicalMucPart0Seg0Gap0RpcUpDown0Panel0GasChamber" 2006.10.17 liangyt
103 // "logicalMucPart0Seg0Gap0"
104
105 // "lMucP0S0G0R0Pn0C" 2006.12.05 liangyt
106 // "lMucP0S0G0"
107 G4String strPart = m_VolumeName.substr( 5, 1 );
108 G4String strSeg = GapName.substr( 7, 1 );
109 G4String strGap = m_VolumeName.substr( 9, 1 );
110 G4String strGasChamber = m_VolumeName.substr( 11, 1 ); // same as rpcupdown
111 G4String strPanel = m_VolumeName.substr( 14, 1 );
112 // G4String strPart = m_VolumeName.substr(14,1);
113 // G4String strSeg = GapName.substr(18,1);
114 // G4String strGap = m_VolumeName.substr(22,1);
115 // G4String strGasChamber = m_VolumeName.substr(32,1); //same as rpcupdown
116 // G4String strPanel = m_VolumeName.substr(38,1);
117
118 std::istrstream partBuf( strPart.c_str(), strlen( strPart.c_str() ) );
119 std::istrstream segBuf( strSeg.c_str(), strlen( strSeg.c_str() ) );
120 std::istrstream gapBuf( strGap.c_str(), strlen( strGap.c_str() ) );
121 std::istrstream panelBuf( strPanel.c_str(), strlen( strPanel.c_str() ) );
122 std::istrstream gasChamberBuf( strGasChamber.c_str(), strlen( strGasChamber.c_str() ) );
123
124 partBuf >> m_Part;
125 segBuf >> m_Seg;
126 gapBuf >> m_Gap;
127 panelBuf >> m_Panel;
128 gasChamberBuf >> m_GasChamber;
129}

Referenced by BesMucSD::ProcessHits().

◆ SetVolume() [2/3]

void BesMucHit::SetVolume ( G4VPhysicalVolume * pv)

◆ SetVolume() [3/3]

void BesMucHit::SetVolume ( G4VPhysicalVolume * pv)

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