Belle II Software development
eclWaveformTemplateCalibrationC2Collector.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//Framework
15#include <framework/database/DBObjPtr.h>
16#include <framework/datastore/StoreArray.h>
17
18//ECL
19#include <ecl/dbobjects/ECLCrystalCalib.h>
20
21namespace Belle2 {
26
27 class ECLDigit;
28 class ECLDsp;
29
110
111} // end Belle2 namespace
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Class to store ECL digitized hits (output of ECLDigi) relation to ECLHit filled in ecl/modules/eclDig...
Definition ECLDigit.h:24
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< ECLDigit > m_eclDigits
Required input array of ECLDigits.
DBObjPtr< ECLCrystalCalib > m_eclWaveformTemplateCalibrationC1MaxResLimit
Baseline noise thresholds compute in stage C1.
void collect() override
Select events and crystals and accumulate histograms.
void prepare() override
Define histograms and read payloads from DB.
int m_CellID
To read ntuple branch, waveform ECL crystal cell ID >
std::vector< float > m_maxResLimit
Vector to store baseline noise thresholds compute in stage C1.
std::vector< float > m_ADCtoEnergy
Crystal energy calibration constants.
Abstract base class for different kinds of events.