12#include <ecl/dataobjects/ECLElementNumbers.h>
15#include <calibration/CalibrationCollectorModule.h>
21#include <framework/database/DBObjPtr.h>
22#include <framework/datastore/StoreArray.h>
31 class ECLCrystalCalib;
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.
StoreArray< ECLDsp > m_eclDsps
Required input array of ECLDSPs.
eclAutocovarianceCalibrationC3CollectorModule()
Constructor.
void startRun() override
Load run-dep payloads.
int m_BaselineLimit
length used to compute baseline
float m_CovarianceMatrixInfoVsCrysIDHistogram[ECLElementNumbers::c_NCrystals][m_nADCWaveformPoints+1]
container for coveriance matrix
TH2F * CovarianceMatrixInfoVsCrysID
result returned by collector that contains the coveriance matrix for each crystal
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.
static constexpr int m_nADCWaveformPoints
length of ECLDSP waveforms
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.