DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
DDG4 calorimeter hit class used by the generic DDG4 calorimeter sensitive detector. More...
#include <Geant4Data.h>
Public Types | |
typedef Geant4HitData | base_t |
Public Types inherited from dd4hep::sim::Geant4HitData | |
enum | HitFlags { HIT_KILLED_TRACK = 1<<0, HIT_SECONDARY_TRACK = 1<<1, HIT_NEW_TRACK = 1<<2, HIT_STARTED_INSIDE = 1<<10, HIT_STARTED_SURFACE = 1<<11, HIT_STARTED_OUTSIDE = 1<<12, HIT_ENDED_INSIDE = 1<<13, HIT_ENDED_SURFACE = 1<<14, HIT_ENDED_OUTSIDE = 1<<15 } |
typedef MonteCarloContrib | Contribution |
typedef std::vector< MonteCarloContrib > | Contributions |
Public Member Functions | |
Hit () | |
Default constructor (for ROOT) More... | |
Hit (Hit &&c)=delete | |
Move constructor. More... | |
Hit (const Hit &c)=delete | |
copy constructor More... | |
Hit (const Position &cell_pos) | |
Standard constructor. More... | |
virtual | ~Hit () |
Default destructor. More... | |
Hit & | operator= (Hit &&c)=delete |
Move assignment operator. More... | |
Hit & | operator= (const Hit &c)=delete |
Copy assignment operator. More... | |
Public Member Functions inherited from dd4hep::sim::Geant4HitData | |
Geant4HitData () | |
Default constructor. More... | |
virtual | ~Geant4HitData () |
Default destructor. More... | |
Public Attributes | |
Position | position { } |
Hit position. More... | |
Contributions | truth { } |
Hit contributions by individual particles. More... | |
double | energyDeposit { 0e0 } |
Total energy deposit. More... | |
Public Attributes inherited from dd4hep::sim::Geant4HitData | |
long long int | cellID = 0 |
cellID More... | |
long | flag = 0 |
User flag to classify hits. More... | |
long | g4ID = -1 |
Original Geant 4 track identifier of the creating track (debugging) More... | |
std::unique_ptr< DataExtension > | extension |
User data extension if required. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from dd4hep::sim::Geant4HitData | |
static Contribution | extractContribution (const G4Step *step) |
Extract the MC contribution for a given hit from the step information. More... | |
static Contribution | extractContribution (const G4Step *step, bool ApplyBirksLaw) |
Extract the MC contribution for a given hit from the step information with BirksLaw option. More... | |
static Contribution | extractContribution (const Geant4FastSimSpot *spot) |
Extract the MC contribution for a given hit from the GFlash/FastSim spot information. More... | |
DDG4 calorimeter hit class used by the generic DDG4 calorimeter sensitive detector.
Geant4 tracker hit class. Calorimeter hits contain the momentum direction as well as the hit position.
Definition at line 323 of file Geant4Data.h.
Definition at line 325 of file Geant4Data.h.
Geant4Calorimeter::Hit::Hit | ( | ) |
Default constructor (for ROOT)
Definition at line 198 of file Geant4Data.cpp.
|
delete |
Move constructor.
|
delete |
copy constructor
Geant4Calorimeter::Hit::Hit | ( | const Position & | cell_pos | ) |
Standard constructor.
Definition at line 203 of file Geant4Data.cpp.
|
virtual |
Default destructor.
Definition at line 208 of file Geant4Data.cpp.
Copy assignment operator.
double dd4hep::sim::Geant4Calorimeter::Hit::energyDeposit { 0e0 } |
Total energy deposit.
Definition at line 332 of file Geant4Data.h.
Position dd4hep::sim::Geant4Calorimeter::Hit::position { } |
Hit position.
Definition at line 328 of file Geant4Data.h.
Contributions dd4hep::sim::Geant4Calorimeter::Hit::truth { } |
Hit contributions by individual particles.
Definition at line 330 of file Geant4Data.h.