 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
16 #include <svd/reconstruction/SimpleClusterCandidate.h>
18 #include <mdst/dataobjects/MCParticle.h>
19 #include <svd/dataobjects/SVDRecoDigit.h>
20 #include <svd/dataobjects/SVDCluster.h>
21 #include <svd/dataobjects/SVDTrueHit.h>
23 #include <svd/calibration/SVDPulseShapeCalibrations.h>
24 #include <svd/calibration/SVDNoiseCalibrations.h>
25 #include <svd/calibration/SVDClusterCalibrations.h>
26 #include <svd/calibration/SVD3SampleCoGTimeCalibrations.h>
27 #include <svd/calibration/SVD3SampleELSTimeCalibrations.h>
44 class SVDSimpleClusterizerModule :
public Module {
55 virtual void event()
override;
virtual void event() override
do the clustering
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
std::string m_relClusterMCParticleName
Name of the relation between SVDClusters and MCParticles.
StoreArray< SVDCluster > m_storeClusters
Collection of SVDClusters.
StoreArray< MCParticle > m_storeMCParticles
Collection of MCParticles.
virtual void initialize() override
Initialize the module.
std::string m_storeClustersName
Name of the collection to use for the SVDClusters.
std::string m_relRecoDigitMCParticleName
Name of the relation between SVDRecoDigits and MCParticles.
Class representing a cluster candidate during simple clustering of the SVD.
double m_cutSeed
Seed cut in units of noise.
double m_cutCluster
Cluster cut in units of m_elNoise, not included (yet?)
void writeClusters(SimpleClusterCandidate clusterCand)
write the cluster candidate to clusters
double m_cutAdjacent
Adjacent cut in units of noise.
SVDSimpleClusterizerModule()
Constructor defining the parameters.
This class defines the dbobject and the methods to access the SVD calibrations from the local runs pr...
std::string m_storeTrueHitsName
Name of the collection to use for the SVDTrueHits.
SVDClusterCalibrations m_ClusterCal
SVDCluster calibrations db object.
StoreArray< SVDRecoDigit > m_storeDigits
Collection of SVDRecoDigits.
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
Abstract base class for different kinds of events.
int m_timeAlgorithm
selects the algorithm to compute the cluster time 0 = 6-sample CoG (default) 1 = 3-sample CoG (TO DO:...
int m_sizeHeadTail
Size of the cluster at which we switch from Center of Gravity to Analog Head Tail.
std::string m_relClusterTrueHitName
Name of the relation between SVDClusters and SVDTrueHits.
bool m_calibrate3SampleWithEventT0
if true returns the calibrated time instead of the raw time for 3-sample time algorithms
bool m_useDB
if true takes the clusterizer cuts from the DB object
std::string m_storeRecoDigitsName
Name of the collection to use for the SVDRecoDigits.
SVD3SampleELSTimeCalibrations m_3ELSTimeCal
SVD 3-sample ELS Time calibrations db object.
SVD3SampleCoGTimeCalibrations m_3CoGTimeCal
SVD 3-sample CoG Time calibrations db object.
This class defines the dbobject and the methods to access the calibration of the cluster reconstructi...
StoreArray< SVDTrueHit > m_storeTrueHits
Collection of SVDTrueHits.
SVDPulseShapeCalibrations m_PulseShapeCal
SVDPulseShape calibrations db object.
SVDNoiseCalibrations m_NoiseCal
SVDNoise calibrations db object.
std::string m_storeMCParticlesName
Name of the collection to use for the MCParticles.
std::string m_relRecoDigitTrueHitName
Name of the relation between SVDRecoDigits and SVDTrueHits.
std::string m_relClusterRecoDigitName
Name of the relation between SVDClusters and SVDRecoDigits.
This class defines the dbobject and the methods to access the SVD calibrations from the local runs pr...
This class defines the dbobject and the methods to access the SVD calibrations from the local runs pr...