11#include <calibration/CalibrationCollectorModule.h>
12#include <framework/datastore/StoreArray.h>
14#include <svd/dataobjects/SVDShaperDigit.h>
15#include <vxd/dataobjects/VxdID.h>
16#include <svd/calibration/SVDOccupancyCalibrations.h>
Calibration collector module base class.
Collector module used to create the histograms needed for the cross talk calibration.
void prepare() override final
Init the module.
TH1F * m_hist
Initialisation of crosstalk histogram.
std::string m_svdShaperDigitsName
SVDShaperDigit collection name.
int m_ladder
Number of ladders.
int m_uSideOccupancyFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
int m_side
Number of sides.
int m_sensor
Number of sensors.
int m_vSideOccupancyFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
StoreArray< SVDShaperDigit > m_svdShaperDigits
The storeArray for svdShaperDigits.
void closeRun() override final
End of run.
void collect() override final
Event processing.
std::map< std::string, TH1F * > m_sensorHistograms
map to store cross-talk strip histograms
void calculateAverage(const VxdID &sensorID, double &mean, int side)
Function to calculate sensor average occupancy.
SVDOccupancyCalibrations m_OccupancyCal
SVDOccupancy calibrations db object.
void finish() override
Termination.
SVDCrossTalkCalibrationsCollectorModule()
constructor
int m_layer
Number of layers to define size of TTree.
TTree * m_histogramTree
Initialisation of TTree object.
int m_nAPVFactor
Parameter to set number of sensors with possible cross-talk clusters required for event flagging.
void startRun() override final
New run.
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
Accessor to arrays stored in the data store.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.