Belle II Software development
eclAutocovarianceCalibrationC4Collector.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11//Calibration
12#include <calibration/CalibrationCollectorModule.h>
13
14#include <ecl/dbobjects/ECLAutoCovariance.h>
15
16//Framework
17#include <framework/database/DBObjPtr.h>
18#include <framework/datastore/StoreArray.h>
19
20//Root
21#include <TH2F.h>
22#include <TMatrixDSym.h>
23
24namespace Belle2 {
29
30 class ECLDsp;
31 class ECLCrystalCalib;
33
74
75} // end Belle2 namespace
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Covariance matrices for offline ECL waveform fit.
General DB object to store one calibration number per ECL crystal.
Class to store ECL ShaperDSP waveform ADC data.
Definition ECLDsp.h:25
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
std::vector< TMatrixDSym > m_NoiseMatrix
Stores noise matrix derived from the input Autocovariances.
StoreArray< ECLDsp > m_eclDsps
Required input array of ECLDSPs.
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.
DBObjPtr< ECLAutoCovariance > m_ECLAutocovarianceCalibrationC3Autocovariances
Autocovariances obtained from C3 stage.
Abstract base class for different kinds of events.