 |
Belle II Software
release-05-02-19
|
11 #ifndef SVDCrossTalkFinderModule_H
12 #define SVDCrossTalkFinderModule_H
14 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <framework/datastore/StoreObjPtr.h>
18 #include <svd/dataobjects/SVDRecoDigit.h>
19 #include <svd/dataobjects/SVDEventInfo.h>
20 #include <vxd/dataobjects/VxdID.h>
21 #include <svd/calibration/SVDOccupancyCalibrations.h>
41 class SVDCrossTalkFinderModule :
public Module {
46 SVDCrossTalkFinderModule();
52 virtual void event()
override;
59 void calculateAverage(
const VxdID& sensorID,
double& mean,
int side);
76 int m_uSideOccupancyFactor;
std::string m_svdRecoDigitsName
Function to calculate sensor average occupancy.
TFile * m_histogramFile
Filename of root file containing cross-talk strip calibration payload.
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
SVDOccupancyCalibrations m_OccupancyCal
SVDOccupancy calibrations db object.
virtual void terminate() override
Final output.
Abstract base class for different kinds of events.
StoreObjPtr< SVDEventInfo > m_svdEventInfo
The storeObject for svdEventInfo.
int m_vSideOccupancyFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
std::string m_svdEventInfoName
SVDEventInfo collection name.
StoreArray< SVDRecoDigit > m_svdRecoDigits
The storeArray for svdRecoDigits.
int m_nAPVFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
virtual void event() override
Event.
std::map< std::string, TH1F * > m_sensorHistograms
Pointer to root TFile containing histograms for calibration payload.
bool m_createCalibrationPayload
Parameter to set number of sensors with possible cross-talk clusters required for event flagging.
std::string m_outputFilename
If true module will produce and write-out payload for SVDCrossTalkStripsCalibrations.
virtual void initialize() override
Init the module.