9#ifndef SENSITIVEDETECTOR_H
10#define SENSITIVEDETECTOR_H
12#include <simulation/kernel/SensitiveDetectorBase.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/RelationArray.h>
15#include <beast/claws/dataobjects/CLAWSSimHit.h>
16#include <beast/claws/simulation/SensorTraversal.h>
17#include <G4EmSaturation.hh>
38 bool step(G4Step*
step, G4TouchableHistory*)
override;
Low-level class to create/modify relations between StoreArrays.
Base class for all Sensitive Detectors to create hits during simulation.
Accessor to arrays stored in the data store.
bool finishTrack()
finish a track
G4EmSaturation * m_saturationEngine
needed to call Birk's law
std::stack< SensorTraversal > m_tracks
Stack of tracks to keep track of particles.
StoreArray< CLAWSSimHit > m_simHits
store array of the SimHits
RelationArray m_relMCSimHit
relation array of the MCParticle -> SimHit relation
StoreArray< MCParticle > m_mcParticles
store array of the MCParticles
SensitiveDetector()
Constructor.
bool step(G4Step *step, G4TouchableHistory *) override
Step processing method.
Namespace to encapsulate code needed for the CLAWS detector.
Abstract base class for different kinds of events.