BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A hit if a particle lost energy in a thin object. More...
#include <BDSHitThinThing.hh>
Public Member Functions | |
BDSHitThinThing (G4int pdgIDIn, G4int trackIDIn, G4int parentIDIn, G4int turnsTakenIn, BDSTrajectoryPoint *hitIn) | |
virtual | ~BDSHitThinThing () |
Note this should not be inline when we use a G4Allocator. | |
void * | operator new (size_t) |
void | operator delete (void *aHit) |
BDSTrajectoryPointHit * | GetNewTrajectoryPointHit () const |
Allocate and return a new hit object. | |
Static Public Member Functions | |
static std::vector< const BDSTrajectoryPoint * > | TrajectoryPointsFromHC (BDSHitsCollectionThinThing *hits) |
Utility function to get a vector of trajectory points from the hits collection. | |
static std::vector< const BDSTrajectoryPointHit * > | ResolvePossibleEarlierThinHits (const std::vector< const BDSTrajectoryPrimary * > &primaryTrajectoryHits, const BDSHitsCollectionThinThing *thinThingHits) |
Data Fields | |
G4int | pdgID |
G4int | trackID |
G4int | parentID |
G4int | turnsTaken |
BDSTrajectoryPoint * | hit |
Private Member Functions | |
BDSHitThinThing ()=delete | |
No default constructor. | |
A hit if a particle lost energy in a thin object.
Everything public for simplicity of the class.
Definition at line 45 of file BDSHitThinThing.hh.
BDSHitThinThing::BDSHitThinThing | ( | G4int | pdgIDIn, |
G4int | trackIDIn, | ||
G4int | parentIDIn, | ||
G4int | turnsTakenIn, | ||
BDSTrajectoryPoint * | hitIn | ||
) |
Definition at line 32 of file BDSHitThinThing.cc.
|
virtual |
Note this should not be inline when we use a G4Allocator.
Definition at line 44 of file BDSHitThinThing.cc.
BDSTrajectoryPointHit * BDSHitThinThing::GetNewTrajectoryPointHit | ( | ) | const |
Allocate and return a new hit object.
Definition at line 62 of file BDSHitThinThing.cc.
|
inline |
Definition at line 87 of file BDSHitThinThing.hh.
|
inline |
Definition at line 80 of file BDSHitThinThing.hh.
|
static |
Definition at line 68 of file BDSHitThinThing.cc.
|
static |
Utility function to get a vector of trajectory points from the hits collection.
Definition at line 49 of file BDSHitThinThing.cc.
BDSTrajectoryPoint* BDSHitThinThing::hit |
Definition at line 67 of file BDSHitThinThing.hh.
G4int BDSHitThinThing::parentID |
Definition at line 65 of file BDSHitThinThing.hh.
G4int BDSHitThinThing::pdgID |
Definition at line 63 of file BDSHitThinThing.hh.
G4int BDSHitThinThing::trackID |
Definition at line 64 of file BDSHitThinThing.hh.
G4int BDSHitThinThing::turnsTaken |
Definition at line 66 of file BDSHitThinThing.hh.