ACTARSim
ACTAR TPC Simulation Reference Guide
|
A Geant Hit in the Scintillator volume. It represents the information of each step with energy deposited.
Definition at line 19 of file ActarSimSciGeantHit.hh.
Public Member Functions | |
ActarSimSciGeantHit () | |
Constructor. Makes nothing. More... | |
~ActarSimSciGeantHit () | |
Destructor. Makes nothing. More... | |
ActarSimSciGeantHit (const ActarSimSciGeantHit &) | |
Copy constructor. More... | |
const ActarSimSciGeantHit & | operator= (const ActarSimSciGeantHit &) |
Operator =. More... | |
G4int | operator== (const ActarSimSciGeantHit &) const |
Operator ==. More... | |
void * | operator new (size_t) |
void | operator delete (void *) |
void | Draw () |
Draws the Hit. A clear red point on the Hit position. More... | |
void | Print () |
Prints full information about the calGeantHit. More... | |
void | PrinttoFile () |
void | SetEdep (G4double de) |
void | SetPos (G4ThreeVector xyz) |
void | SetPrePos (G4ThreeVector xyz) |
void | SetLocalPos (G4ThreeVector xyz) |
void | SetLocalPrePos (G4ThreeVector xyz) |
void | SetDetName (G4String Name) |
void | SetPreDetName (G4String Name) |
void | SetPostDetName (G4String Name) |
void | SetDetID (G4int id) |
void | SetToF (G4double Time) |
void | SetTrackID (G4int track) |
void | SetParentID (G4int id) |
void | SetParticleID (G4int ID) |
void | SetParticleCharge (G4double charge) |
void | SetParticleMass (G4double mass) |
G4double | GetEdep () |
G4ThreeVector | GetPos () |
G4ThreeVector | GetPrePos () |
G4ThreeVector | GetLocalPos () |
G4ThreeVector | GetLocalPrePos () |
G4String | GetDetName () |
G4String | GetPreDetName () |
G4String | GetPostDetName () |
G4int | GetDetID () |
G4double | GetToF () |
G4int | GetTrackID () |
G4int | GetParentID () |
G4int | GetParticleID () |
G4double | GetParticleCharge () |
G4double | GetParticleMass () |
Private Attributes | |
G4double | edep |
Energy deposited in the step. More... | |
G4ThreeVector | pos |
PostStep position of the step. More... | |
G4ThreeVector | prePos |
PreStep position of the step. More... | |
G4ThreeVector | localPos |
Local (for the given detName and detID) coordinates of interaction (postStep) More... | |
G4ThreeVector | localPrePos |
Local (for the given detName and detID) coordinates of interaction (preStep) More... | |
G4String | detName |
Name of the volume where the interaction takes place. More... | |
G4String | postDetName |
Name of the volume at the previous step. More... | |
G4String | preDetName |
Name of the volume at the following step. More... | |
G4int | detID |
ID (copy) of the detector where the interaction takes place. More... | |
G4double | toF |
ToF of the interaction (postStep) More... | |
G4int | trackID |
Particle trackID. More... | |
G4int | parentID |
Particle parent track ID. More... | |
G4int | particleID |
Particle trackID. More... | |
G4double | particleCharge |
Particle charge. More... | |
G4double | particleMass |
Particle mass. More... | |
#include <ActarSimSciGeantHit.hh>
ActarSimSciGeantHit::ActarSimSciGeantHit | ( | ) |
Constructor. Makes nothing.
Definition at line 29 of file ActarSimSciGeantHit.cc.
ActarSimSciGeantHit::~ActarSimSciGeantHit | ( | ) |
Destructor. Makes nothing.
Definition at line 34 of file ActarSimSciGeantHit.cc.
ActarSimSciGeantHit::ActarSimSciGeantHit | ( | const ActarSimSciGeantHit & | right | ) |
Copy constructor.
Definition at line 39 of file ActarSimSciGeantHit.cc.
void ActarSimSciGeantHit::Draw | ( | ) |
Draws the Hit. A clear red point on the Hit position.
Definition at line 87 of file ActarSimSciGeantHit.cc.
|
inline |
Definition at line 87 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 84 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 77 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 81 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 82 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 92 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 95 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 94 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 96 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 79 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 86 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 85 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 80 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 89 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().
|
inline |
Definition at line 91 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 109 of file ActarSimSciGeantHit.hh.
|
inline |
Definition at line 103 of file ActarSimSciGeantHit.hh.
const ActarSimSciGeantHit & ActarSimSciGeantHit::operator= | ( | const ActarSimSciGeantHit & | right | ) |
Operator =.
Definition at line 59 of file ActarSimSciGeantHit.cc.
G4int ActarSimSciGeantHit::operator== | ( | const ActarSimSciGeantHit & | right | ) | const |
Operator ==.
Definition at line 81 of file ActarSimSciGeantHit.cc.
void ActarSimSciGeantHit::Print | ( | ) |
Prints full information about the calGeantHit.
Definition at line 102 of file ActarSimSciGeantHit.cc.
void ActarSimSciGeantHit::PrinttoFile | ( | ) |
|
inline |
Definition at line 66 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 63 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 56 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 60 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 61 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 71 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 74 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 73 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 75 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 58 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 65 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 64 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 59 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 68 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
inline |
Definition at line 70 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciSD::ProcessHits().
|
private |
ID (copy) of the detector where the interaction takes place.
Definition at line 31 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetDetID(), operator=(), and Print().
|
private |
Name of the volume where the interaction takes place.
Definition at line 28 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetDetName(), operator=(), and Print().
|
private |
Energy deposited in the step.
Definition at line 21 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetEdep(), operator=(), and Print().
|
private |
Local (for the given detName and detID) coordinates of interaction (postStep)
Definition at line 25 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetLocalPos(), operator=(), and Print().
|
private |
Local (for the given detName and detID) coordinates of interaction (preStep)
Definition at line 26 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetLocalPrePos(), operator=(), and Print().
|
private |
Particle parent track ID.
Definition at line 36 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetParentID(), operator=(), and Print().
|
private |
Particle charge.
Definition at line 39 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetParticleCharge(), operator=(), and Print().
|
private |
Particle trackID.
Definition at line 38 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetParticleID(), operator=(), and Print().
|
private |
Particle mass.
Definition at line 40 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetParticleMass(), and operator=().
|
private |
PostStep position of the step.
Definition at line 23 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), Draw(), GetPos(), operator=(), and Print().
|
private |
Name of the volume at the previous step.
Definition at line 29 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetPostDetName(), operator=(), and Print().
|
private |
Name of the volume at the following step.
Definition at line 30 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetPreDetName(), operator=(), and Print().
|
private |
PreStep position of the step.
Definition at line 24 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetPrePos(), operator=(), and Print().
|
private |
ToF of the interaction (postStep)
Definition at line 33 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetToF(), operator=(), and Print().
|
private |
Particle trackID.
Definition at line 35 of file ActarSimSciGeantHit.hh.
Referenced by ActarSimSciGeantHit(), GetTrackID(), operator=(), and Print().