 |
Belle II Software
release-05-02-19
|
14 #include <klm/dataobjects/bklm/BKLMHit1d.h>
15 #include <klm/dataobjects/bklm/BKLMHit2d.h>
18 #include <framework/core/Module.h>
19 #include <framework/datastore/StoreArray.h>
20 #include <mdst/dataobjects/MCParticle.h>
44 class BKLMSimHistogrammerModule :
public Module {
61 virtual void event()
override;
64 virtual void endRun()
override;
TH1D * m_hSimHitThetaScinti
histogram for sim hit theta scint
TH1I * m_hSimHit_layer2D
histogram for the layers of 2D hits
float m_realTime
time this simulation corrsponds to
TH2D * m_hSimHitThetaPhiRPC
2D histogram for sim hit phi/theta
TH1D * m_hSimHitThetaRPC
histogram for sim hit theta
TH1I * m_hSimHit_layer
histogram for the layers of 1D hits
StoreArray< BKLMSimHit > simHits
BKLMSimHit StoreArray.
TH1D * m_hSimHitPhiScinti
histogram for sim hit phi
TFile * m_file
Digitize hit(s) in one scintillator strip with pulse-shape fit.
StoreArray< BKLMHit2d > hits2D
hits2D StoreArray
TH1D * m_hEvt
keep track of events
StoreArray< BKLMHit1d > hits1D
hits1D StoreArray
std::string m_filename
filename for the root file
TH2D * m_bgSourcePerLayer2D
bg source of 2D hits
TH2D * m_bgSourceVsPhi
bg source of 2D hits vs phi
TH1D * m_hSimHitPhiRPC
histogram for sim hit phi
StoreArray< KLMDigit > digits
digits StoreArray
float m_weight
weight for each event (inverse of the realTime)
StoreArray< MCParticle > mcParticles
mcParticles StoreArray
virtual void beginRun() override
Do any needed actions at the start of a simulation run.
Abstract base class for different kinds of events.
virtual void initialize() override
Initialize at start of job.
BKLMSimHistogrammerModule()
Constructor.
virtual void event() override
Digitize one event and write hits, digis, and relations into DataStore.
TH1D * m_bgSource
bg source of 1D hits
TH2D * m_bgSourceVsTheta
bg source of 2D hits vs theta
TH2D * m_hSimHitPerChannelLayer
hits per channel
Accessor to arrays stored in the data store.
TH1D * m_bgSource2D
bg source of 2D hits
virtual void terminate() override
Terminate at the end of job.
virtual ~BKLMSimHistogrammerModule()
Destructor.
TH2D * m_hSimHitThetaPhiScinti
2D histogram for sim hit phi/theta
virtual void endRun() override
Do any needed actions at the end of a simulation run.
TH2D * m_bgSourcePerLayer
bg source of 1D hits