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/TOPSimHit.h>
18#include <top/dataobjects/TOPSimPhoton.h>
44 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.
SensitivePMT()
Constructor.
RelationArray m_relParticleHit
relations
int m_pmtReplicaDepth
replica depth of PMT volume
TOPGeometryPar * m_topgp
geometry parameters
int m_moduleReplicaDepth
replica depth of module volume
StoreArray< MCParticle > m_mcParticles
collection of MC particles
void setModuleReplicaDepth(int depth)
Sets replica depth of module volume.
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step, fill TOPSimHits and TOPSimPhotons.
StoreArray< TOPSimPhoton > m_simPhotons
collection of simulated photons
StoreArray< TOPSimHit > m_simHits
collection of simulated hits
void setPMTReplicaDepth(int depth)
Sets replica depth of PMT volume.
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.