12#include <calibration/CalibrationCollectorModule.h>
14#include <ecl/dbobjects/ECLAutoCovariance.h>
17#include <framework/database/DBObjPtr.h>
18#include <framework/datastore/StoreArray.h>
22#include <TMatrixDSym.h>
31 class ECLCrystalCalib;
32 class ECLAutoCovariance;
Calibration collector module base class.
Class for accessing objects in the database.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Calibration collector module that uses delayed Bhabha to compute coveriance matrix.
std::vector< TMatrixDSym > m_NoiseMatrix
Stores noise matrix derived from the input Autocovariances.
StoreArray< ECLDsp > m_eclDsps
Required input array of ECLDSPs.
void startRun() override
Load run-dep payloads.
int m_NbinsForChi2Histogram
Number of bins For Chi2 Histogram.
DBObjPtr< ECLCrystalCalib > m_ECLAutocovarianceCalibrationC1Threshold
thresholds obtained from C1 stage
void collect() override
Select events and crystals and accumulate histograms.
StoreObjPtr< EventMetaData > m_evtMetaData
dataStore EventMetaData
std::vector< float > m_PeakToPeakThresholds
vector of thresholds obtained from DB object
void closeRun() override
Transfer fom array container to ROOT histogram.
void prepare() override
Define histograms and read payloads from DB.
eclAutocovarianceCalibrationC4CollectorModule()
Constructor.
DBObjPtr< ECLAutoCovariance > m_ECLAutocovarianceCalibrationC3Autocovariances
Autocovariances obtained from C3 stage.
static constexpr int m_numberofADCPoints
length of ECLDsp waveform
TH2F * Chi2VsCrysID
Store fit chi2 vs.
int m_upperThresholdForChi2Histogram
Upper Threshold For Chi2 Histogram.
Abstract base class for different kinds of events.