11#include <simulation/kernel/SensitiveDetectorBase.h>
12#include <top/geometry/TOPGeometryPar.h>
14#include <framework/datastore/StoreArray.h>
15#include <framework/datastore/RelationArray.h>
16#include <mdst/dataobjects/MCParticle.h>
17#include <top/dataobjects/TOPBarHit.h>
45 bool step(G4Step* aStep, 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.
Class providing information on MCParticles hitting the bars.
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step and fill TOPBarHits.
void setReplicaDepth(int depth)
Sets replica depth of module volume.
int m_replicaDepth
replica depth of module volume
std::vector< int > m_trackIDs
track ID's
RelationArray m_relParticleHit
relations
SensitiveBar()
Constructor.
TOPGeometryPar * m_topgp
geometry parameters
StoreArray< MCParticle > m_mcParticles
collection of MC particles
StoreArray< TOPBarHit > m_barHits
collection of entrance-to-bar hits
Singleton class for TOP Geometry Parameters.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
Abstract base class for different kinds of events.