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/fangs/dataobjects/FANGSSimHit.h>
16#include <beast/fangs/simulation/SensorTraversal.h>
37 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.
Sensitive Detector implementation of the FANGS detector.
bool finishTrack()
finish a track
std::stack< SensorTraversal > m_tracks
Stack of tracks to keep track of particles.
RelationArray m_relMCSimHit
relation array of the MCParticle -> SimHit relation
StoreArray< MCParticle > m_mcParticles
store array of the MCParticles
StoreArray< FANGSSimHit > m_simHits
store array of the SimHits
SensitiveDetector()
Constructor.
bool step(G4Step *step, G4TouchableHistory *) override
Step processing method.
Abstract base class for different kinds of events.