Belle II Software development
eclAutocovarianceCalibrationC3Collector.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/* ECL headers. */
12#include <ecl/dataobjects/ECLElementNumbers.h>
13
14//Calibration
15#include <calibration/CalibrationCollectorModule.h>
16
17//Root
18#include <TH2F.h>
19
20//Framework
21#include <framework/database/DBObjPtr.h>
22#include <framework/datastore/StoreArray.h>
23
24namespace Belle2 {
29
30 class ECLDsp;
31 class ECLCrystalCalib;
32
65
66} // end Belle2 namespace
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
Class for accessing objects in the database.
Definition DBObjPtr.h:21
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
StoreArray< ECLDsp > m_eclDsps
Required input array of ECLDSPs.
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.
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.