 |
Belle II Software
release-05-01-25
|
13 #include <simulation/kernel/SensitiveDetectorBase.h>
14 #include <top/geometry/TOPGeometryPar.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/datastore/RelationArray.h>
18 #include <mdst/dataobjects/MCParticle.h>
19 #include <top/dataobjects/TOPBarHit.h>
33 class SensitiveBar :
public Simulation::SensitiveDetectorBase {
47 bool step(G4Step* aStep, G4TouchableHistory*)
override;
Low-level class to create/modify relations between StoreArrays.
StoreArray< TOPBarHit > m_barHits
collection of entrance-to-bar hits
int m_replicaDepth
replica depth of module volume
SensitiveBar()
Constructor.
StoreArray< MCParticle > m_mcParticles
collection of MC particles
std::vector< int > m_trackIDs
track ID's
void setReplicaDepth(int depth)
Sets replica depth of module volume.
RelationArray m_relParticleHit
relations
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
Abstract base class for different kinds of events.
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step and fill TOPBarHits.
TOPGeometryPar * m_topgp
geometry parameters
Singleton class for TOP Geometry Parameters.