9#ifndef SVDCrossTalkFinderModule_H
10#define SVDCrossTalkFinderModule_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
16#include <svd/dataobjects/SVDRecoDigit.h>
17#include <svd/dataobjects/SVDEventInfo.h>
18#include <vxd/dataobjects/VxdID.h>
19#include <svd/calibration/SVDOccupancyCalibrations.h>
45 virtual void event()
override;
Flags potential cross talk strips on Origami sensors.
StoreArray< SVDRecoDigit > m_svdRecoDigits
The storeArray for svdRecoDigits.
virtual void initialize() override
Init the module.
StoreObjPtr< SVDEventInfo > m_svdEventInfo
The storeObject for svdEventInfo.
virtual void event() override
Event.
int m_uSideOccupancyFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
bool m_createCalibrationPayload
If true module will produce and write-out payload for SVDCrossTalkStripsCalibrations.
virtual void terminate() override
Final output.
int m_vSideOccupancyFactor
Parameter to define high occupancy strips (some multiple above sensor average occupancy)
std::string m_outputFilename
Filename of root file containing cross-talk strip calibration payload.
std::string m_svdRecoDigitsName
SVDRecoDigit collection name.
std::string m_svdEventInfoName
SVDEventInfo collection name.
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.
TFile * m_histogramFile
Pointer to root TFile containing histograms for calibration payload.
int m_nAPVFactor
Parameter to set number of sensors with possible cross-talk clusters required for event flagging.
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.
Type-safe access to single objects in the data store.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.