11 #include <ecl/dataobjects/ECLElementNumbers.h>
14 #include <calibration/CalibrationCollectorModule.h>
17 #include <framework/database/DBObjPtr.h>
18 #include <framework/datastore/StoreArray.h>
30 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.
double m_sumOfSamples[ECLElementNumbers::c_NCrystals]
sum of 31 samples for selected waveforms
void startRun() override
Load run-dep payloads.
int m_nSelectedWaveforms[ECLElementNumbers::c_NCrystals]
number of selected waveforms for each crystal
DBObjPtr< ECLCrystalCalib > m_ECLAutocovarianceCalibrationC1Threshold
peak to peak noise threshold computed from step C1
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
TH1D * m_CounterVsCrysID
final histogram returned by collector contains counter
void closeRun() override
save histograms
const int m_numberofADCPoints
length of ECLDsp waveform
void prepare() override
Define histograms and read payloads from DB.
eclAutocovarianceCalibrationC2CollectorModule()
Constructor.
TH1D * m_BaselineVsCrysID
final histogram returned by collector contains baseline
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.