Belle II Software development
SensitivePMT.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <simulation/kernel/SensitiveDetectorBase.h>
12#include <top/geometry/TOPGeometryPar.h>
13
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>
19
20
21namespace Belle2 {
26 namespace TOP {
70 } // end of namespace TOP
72} // end of namespace Belle2
73
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.
Definition StoreArray.h:113
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.