DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper class to ease the extraction of information from a G4FastSimSpot object. More...
#include <Geant4FastSimHandler.h>
Public Member Functions | |
Geant4FastSimHandler ()=delete | |
Inhibit default constructor. More... | |
Geant4FastSimHandler (const Geant4FastSimSpot *sp) | |
Initializing constructor. More... | |
Geant4FastSimHandler (const Geant4FastSimHandler ©)=delete | |
No copy constructor. More... | |
Geant4FastSimHandler (Geant4FastSimHandler &©)=delete | |
No move constructor. More... | |
Geant4FastSimHandler & | operator= (const Geant4FastSimHandler ©)=delete |
Assignment operator inhibited. Should not be copied. More... | |
Geant4FastSimHandler & | operator= (Geant4FastSimHandler &©)=delete |
Move operator inhibited. Should not be copied. More... | |
double | energy () const |
Returns total energy deposit. More... | |
Momentum | momentum () const |
Return track momentum in DD4hep notation. More... | |
Position | avgPosition () const |
Returns the pre-gflashspot position. More... | |
G4ThreeVector | avgPositionG4 () const |
Returns the post-step position as a G4ThreeVector. More... | |
Position | direction () const |
Direction calculated from the post- and pre-position ofthe gflashspot. More... | |
G4ThreeVector | momentumG4 () const |
Returns the track momentum as a G4ThreeVector. More... | |
double | deposit () const |
Access the enery deposit of the energy spot. More... | |
G4VPhysicalVolume * | volume () const |
G4LogicalVolume * | logvol () const |
G4VSolid * | solid () const |
G4VSensitiveDetector * | sd () const |
std::string | sdName (const std::string &undefined="") const |
bool | isSensitive () const |
Public Member Functions inherited from dd4hep::sim::Geant4HitHandler | |
Geant4HitHandler ()=delete | |
Inhibit default constructor. More... | |
Geant4HitHandler (const G4Track *t, const G4VTouchable *h) | |
Initializing constructor. More... | |
Geant4HitHandler (const Geant4HitHandler ©)=delete | |
No copy constructor. More... | |
Geant4HitHandler (Geant4HitHandler &©)=delete | |
No move constructor. More... | |
Geant4HitHandler & | operator= (const Geant4HitHandler ©)=delete |
Assignment operator inhibited. Should not be copied. More... | |
Geant4HitHandler & | operator= (Geant4HitHandler &©)=delete |
Move operator inhibited. Should not be copied. More... | |
const G4VTouchable * | touchable () const |
G4ParticleDefinition * | trackDef () const |
int | trkPdgID () const |
int | trkID () const |
Access the G4 track ID. More... | |
int | parentID () const |
Access the G4 track ID of the parent track. More... | |
double | trkTime () const |
double | trkEnergy () const |
double | trkKineEnergy () const |
int | trkStatus () const |
bool | trkAlive () const |
const G4VProcess * | trkProcess () const |
Momentum | trkMom () const |
bool | isSensitive (const G4LogicalVolume *lv) const |
bool | isSensitive (const G4VPhysicalVolume *pv) const |
Position | localToGlobal (const Position &local) const |
Coordinate transformation to global coordinates. More... | |
Position | localToGlobal (const DDSegmentation::Vector3D &local) const |
Coordinate transformation to global coordinates. More... | |
Position | localToGlobal (const G4ThreeVector &local) const |
Coordinate transformation to global coordinates in MM. More... | |
Position | localToGlobal (double x, double y, double z) const |
Coordinate transformation to global coordinates in MM. More... | |
Position | globalToLocal (double x, double y, double z) const |
Coordinate transformation to local coordinates. More... | |
Position | globalToLocal (const Position &global) const |
Coordinate transformation to local coordinates. More... | |
Position | globalToLocal (const G4ThreeVector &global) const |
Coordinate transformation to local coordinates. More... | |
G4ThreeVector | globalToLocalG4 (double x, double y, double z) const |
Coordinate transformation to local coordinates. More... | |
G4ThreeVector | globalToLocalG4 (const G4ThreeVector &loc) const |
Coordinate transformation to local coordinates with G4 objects. More... | |
Public Attributes | |
const Geant4FastSimSpot * | spot { nullptr } |
Public Attributes inherited from dd4hep::sim::Geant4HitHandler | |
const G4Track * | track |
const G4VTouchable * | touchable_ptr |
Helper class to ease the extraction of information from a G4FastSimSpot object.
Helper/utility class to easily access Geant4 gflashspot/fast simulation information. Born by lazyness: Avoid typing millions of statements!
Definition at line 43 of file Geant4FastSimHandler.h.
|
delete |
Inhibit default constructor.
|
inline |
Initializing constructor.
Definition at line 50 of file Geant4FastSimHandler.h.
|
delete |
No copy constructor.
|
delete |
No move constructor.
|
inline |
Returns the pre-gflashspot position.
Definition at line 72 of file Geant4FastSimHandler.h.
|
inline |
Returns the post-step position as a G4ThreeVector.
Definition at line 77 of file Geant4FastSimHandler.h.
|
inline |
Access the enery deposit of the energy spot.
Definition at line 90 of file Geant4FastSimHandler.h.
|
inline |
Direction calculated from the post- and pre-position ofthe gflashspot.
Definition at line 81 of file Geant4FastSimHandler.h.
|
inline |
Returns total energy deposit.
Definition at line 63 of file Geant4FastSimHandler.h.
|
inline |
Definition at line 110 of file Geant4FastSimHandler.h.
|
inline |
Definition at line 96 of file Geant4FastSimHandler.h.
|
inline |
Return track momentum in DD4hep notation.
Definition at line 67 of file Geant4FastSimHandler.h.
|
inline |
Returns the track momentum as a G4ThreeVector.
Definition at line 86 of file Geant4FastSimHandler.h.
|
delete |
Assignment operator inhibited. Should not be copied.
|
delete |
Move operator inhibited. Should not be copied.
|
inline |
Definition at line 102 of file Geant4FastSimHandler.h.
|
inline |
Definition at line 106 of file Geant4FastSimHandler.h.
|
inline |
Definition at line 99 of file Geant4FastSimHandler.h.
|
inline |
Definition at line 93 of file Geant4FastSimHandler.h.
const Geant4FastSimSpot* dd4hep::sim::Geant4FastSimHandler::spot { nullptr } |
Definition at line 45 of file Geant4FastSimHandler.h.