9 #ifndef BACKSENSITIVEDETECTOR_H
10 #define BACKSENSITIVEDETECTOR_H
12 #include <simulation/kernel/SensitiveDetectorBase.h>
41 bool step(G4Step* aStep, G4TouchableHistory*)
override;
The Class for BeamBackground Sensitive Detector.
double m_energyDeposit
energy deposited in volume
TVector3 m_startMom
particle momentum at the entrance in volume
TVector3 m_startPos
particle position at the entrance in volume
double m_startEnergy
particle energy at the entrance in volume
double m_startTime
global time
double m_trackLength
length of the track in the volume
int m_eclrepscale
replica (=sector) scale in ECL
int m_subDet
subdetector id number
int m_identifier
identifier of subdetector component
Base class for all Sensitive Detectors to create hits during simulation.
BkgSensitiveDetector(const char *subDet, int iden=0)
Constructor.
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step and calculate variables defined in PXDSimHit.
Abstract base class for different kinds of events.