ACTARSim
ACTAR TPC Simulation Reference Guide
|
A Geant Hit in the calorimeter volume. It represents the information of each step with energy deposited in the calorimeter volume.
Definition at line 19 of file ActarSimGasGeantHit.hh.
Public Member Functions | |
ActarSimGasGeantHit () | |
Constructor. More... | |
~ActarSimGasGeantHit () | |
Destructor. More... | |
ActarSimGasGeantHit (const ActarSimGasGeantHit &) | |
Copy constructor. More... | |
const ActarSimGasGeantHit & | operator= (const ActarSimGasGeantHit &) |
Operator =. More... | |
G4int | operator== (const ActarSimGasGeantHit &) 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 | SetTrackID (G4int track) |
void | SetParentID (G4int track) |
void | SetEdep (G4double de) |
void | SetParticleCharge (G4double pc) |
void | SetParticleMass (G4double pm) |
void | SetParticleID (G4int pi) |
void | SetPrePos (G4ThreeVector xyz) |
void | SetPostPos (G4ThreeVector xyz) |
void | SetPreToF (G4double Time) |
void | SetPostToF (G4double Time) |
void | SetDetName (G4String Name) |
void | SetDetID (G4int id) |
void | SetStepLength (G4double len) |
void | SetStepEnergy (G4double sten) |
G4int | GetTrackID () |
G4int | GetParentID () |
G4double | GetEdep () |
G4double | GetParticleCharge () |
G4double | GetParticleMass () |
G4int | GetParticleID () |
G4ThreeVector | GetPrePos () |
G4ThreeVector | GetPostPos () |
G4String | GetDetName () |
G4int | GetDetID () |
G4double | GetPreToF () |
G4double | GetPostToF () |
G4double | GetStepLength () |
G4double | GetStepEnergy () |
Private Attributes | |
G4int | trackID |
ID for each track. More... | |
G4int | parentID |
ID for the parent track. More... | |
G4double | edep |
Energy deposited. More... | |
G4double | particleCharge |
Charge of the particle. More... | |
G4double | particleMass |
Mass of the particle. More... | |
G4int | particleID |
Particle ID according to the GDP-coding. More... | |
G4ThreeVector | postPos |
Position after step. More... | |
G4ThreeVector | prePos |
Position before step. More... | |
G4String | detName |
Detector name where energy is deposited. More... | |
G4int | detID |
Detector ID. More... | |
G4double | preToF |
Time before step. More... | |
G4double | postToF |
Time after step. More... | |
G4double | stepLength |
Length of the step. More... | |
G4double | stepEnergy |
Particle energy before step. More... | |
#include <ActarSimGasGeantHit.hh>
ActarSimGasGeantHit::ActarSimGasGeantHit | ( | ) |
Constructor.
Definition at line 30 of file ActarSimGasGeantHit.cc.
ActarSimGasGeantHit::~ActarSimGasGeantHit | ( | ) |
Destructor.
Definition at line 35 of file ActarSimGasGeantHit.cc.
ActarSimGasGeantHit::ActarSimGasGeantHit | ( | const ActarSimGasGeantHit & | right | ) |
Copy constructor.
Definition at line 40 of file ActarSimGasGeantHit.cc.
void ActarSimGasGeantHit::Draw | ( | ) |
Draws the Hit. A clear red point on the Hit position.
Definition at line 86 of file ActarSimGasGeantHit.cc.
|
inline |
Definition at line 77 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 76 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 70 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 68 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 71 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 73 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 72 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 75 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 79 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 74 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 78 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 81 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 80 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 67 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 94 of file ActarSimGasGeantHit.hh.
|
inline |
Definition at line 88 of file ActarSimGasGeantHit.hh.
const ActarSimGasGeantHit & ActarSimGasGeantHit::operator= | ( | const ActarSimGasGeantHit & | right | ) |
Operator =.
Definition at line 59 of file ActarSimGasGeantHit.cc.
G4int ActarSimGasGeantHit::operator== | ( | const ActarSimGasGeantHit & | right | ) | const |
Operator ==.
Definition at line 80 of file ActarSimGasGeantHit.cc.
void ActarSimGasGeantHit::Print | ( | ) |
Prints full information about the calGeantHit.
Definition at line 101 of file ActarSimGasGeantHit.cc.
void ActarSimGasGeantHit::PrinttoFile | ( | ) |
|
inline |
Definition at line 63 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 62 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 54 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 52 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 55 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 57 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 56 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 59 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 61 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 58 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 60 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 65 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 64 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
inline |
Definition at line 51 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasSD::ProcessHits().
|
private |
Detector ID.
Definition at line 31 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetDetID(), operator=(), and Print().
|
private |
Detector name where energy is deposited.
Definition at line 30 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetDetName(), operator=(), and Print().
|
private |
Energy deposited.
Definition at line 24 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetEdep(), operator=(), and Print().
|
private |
ID for the parent track.
Definition at line 22 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetParentID(), operator=(), and Print().
|
private |
Charge of the particle.
Definition at line 25 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetParticleCharge(), and operator=().
|
private |
Particle ID according to the GDP-coding.
Definition at line 27 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetParticleID(), and operator=().
|
private |
Mass of the particle.
Definition at line 26 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetParticleMass(), and operator=().
|
private |
Position after step.
Definition at line 28 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetPostPos(), operator=(), and Print().
|
private |
Time after step.
Definition at line 33 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetPostToF(), operator=(), and Print().
|
private |
Position before step.
Definition at line 29 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), Draw(), GetPrePos(), operator=(), and Print().
|
private |
Time before step.
Definition at line 32 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetPreToF(), operator=(), and Print().
|
private |
Particle energy before step.
Definition at line 35 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetStepEnergy(), operator=(), and Print().
|
private |
Length of the step.
Definition at line 34 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetStepLength(), operator=(), and Print().
|
private |
ID for each track.
Definition at line 21 of file ActarSimGasGeantHit.hh.
Referenced by ActarSimGasGeantHit(), GetTrackID(), operator=(), and Print().