 |
Belle II Software
release-05-02-19
|
14 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
17 #include <mdst/dataobjects/MCParticle.h>
19 #include <pxd/dataobjects/PXDTrueHit.h>
20 #include <svd/dataobjects/SVDTrueHit.h>
21 #include <pxd/dataobjects/PXDCluster.h>
22 #include <svd/dataobjects/SVDCluster.h>
37 class VXDSimpleClusterizerModule :
public Module {
60 void event()
override;
int m_weakSVDHitCtr
counts SVDHits whose energy deposit is lower than energyThreshold
std::string m_svdClustersName
SVDCluster collection name.
double m_energyThreshold
set energy threshold for PXDClusters in GeV (standard is 7E-6)
double m_uniSigma
you can define the sigma of the smearing.
StoreArray< SVDCluster > m_svdClusters
the storeArray for svdClusters as member, is faster than recreating link for each event
VXDSimpleClusterizerModule()
Constructor of the module.
std::string m_pxdClustersName
PXDCluster collection name.
void InitializeVariables()
initialize variables to avoid nondeterministic behavior
void initialize() override
Initialize the Module.
double m_setMeasSigma
if positive value (in cm) is given it will be used as the sigma to smear the Clusters otherwise pitch...
int m_fakePXDHitCtr
counts PXDHits which were not caused by a primary partice
int m_fakeSVDHitCtr
counts SVDHits which were not caused by a primary partice
std::string m_pxdTrueHitsName
PXDTrueHit collection name.
Abstract base class for different kinds of events.
void endRun() override
This method is called if the current run ends.
bool m_onlyPrimaries
set True if you do not want to have hits by secondary particles
std::string m_svdTrueHitsName
SVDTrueHit collection name.
int m_weakPXDHitCtr
counts PXDHits whose energy deposit is lower than energyThreshold
double m_energyThresholdU
set energy threshold for SVDClusters in u-direction in GeV (standard is 17.4E-6)
void event() override
This method is the core of the module.
std::string m_mcParticlesName
MCParticle collection name.
StoreArray< MCParticle > m_mcParticles
the storeArray for mcParticles as member, is faster than recreating link for each event
Accessor to arrays stored in the data store.
double m_energyThresholdV
set energy threshold for SVDClusters in v-direction in GeV (standard is 28.6E-6)
void beginRun() override
Called when entering a new run.
StoreArray< PXDCluster > m_pxdClusters
the storeArray for pxdClusters as member, is faster than recreating link for each event
StoreArray< SVDTrueHit > m_svdTrueHits
the storeArray for svdTrueHits as member, is faster than recreating link for each event
StoreArray< PXDTrueHit > m_pxdTrueHits
the storeArray for pxdTrueHits as member, is faster than recreating link for each event