12 #include <klm/dataobjects/eklm/EKLMElementNumbers.h>
13 #include <klm/dataobjects/eklm/EKLMSimHit.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/datastore/RelationArray.h>
18 #include <mdst/dataobjects/MCParticle.h>
19 #include <simulation/kernel/SensitiveDetectorBase.h>
21 namespace Belle2::EKLM {
47 bool step(G4Step* aStep, G4TouchableHistory* history)
override;
The Class for EKLM Sensitive Detector.
bool step(G4Step *aStep, G4TouchableHistory *history) override
Process each step and calculate variables for EKLMSimHit store EKLMSimHit.
~EKLMSensitiveDetector()
Destructor.
EKLMSensitiveDetector(G4String name)
Constructor.
StoreArray< EKLMSimHit > m_SimHits
Simulation hits.
const EKLMElementNumbers * m_ElementNumbers
Element numbers.
G4double m_ThresholdHitTime
All hits with time large than m_ThresholdHitTime will be dropped.
RelationArray m_MCParticlesToSimHits
Relation array between MCPartices and EKLMSimHits.
StoreArray< MCParticle > m_MCParticles
MC particles.
Low-level class to create/modify relations between StoreArrays.
Base class for all Sensitive Detectors to create hits during simulation.