19#ifndef PHOS_TURNONHISTOS_H
20#define PHOS_TURNONHISTOS_H
37 static constexpr short NDDL = 14;
38 static constexpr short Npt = 200;
39 static constexpr float dpt = 0.1;
98 const std::array<float, Npt>&
getTotSpectrum(
short ddl)
const {
return mTotSp[ddl]; }
99 const std::array<float, Npt>&
getTrSpectrum(
short ddl)
const {
return mTrSp[ddl]; }
100 const std::array<float, NCHANNELS>&
getGoodMap()
const {
return mGoodMap; }
101 const std::array<float, NCHANNELS>&
getNoisyMap()
const {
return mNoisyMap; }
104 std::array<float, NCHANNELS> mGoodMap;
105 std::array<float, NCHANNELS> mNoisyMap;
106 std::array<std::array<float, Npt>,
NDDL> mTotSp;
107 std::array<std::array<float, Npt>,
NDDL> mTrSp;
const std::array< float, NCHANNELS > & getNoisyMap() const
void fillFiredMap(const std::bitset< NCHANNELS > &bs)
Collects entries in good map.
static constexpr short Npt
Number of bins in pt distribution.
TurnOnHistos()=default
Constructor.
TurnOnHistos & operator=(const TurnOnHistos &other)=default
const std::array< float, Npt > & getTrSpectrum(short ddl) const
const std::array< float, Npt > & getTotSpectrum(short ddl) const
const std::array< float, NCHANNELS > & getGoodMap() const
void fillTotSp(short ddl, float e)
Fill spectum of all clusters.
void fillNoisyMap(const std::bitset< NCHANNELS > &bs)
Collects entries in noisy map.
static constexpr float dpt
bin width
static constexpr short NCHANNELS
Number of trigger channels.
void fillFiredSp(short ddl, float e)
Fill spectum of clusters fired trigger.
~TurnOnHistos()=default
Destructor.
void merge(TurnOnHistos &other)
Merge statistics in two containers.
static constexpr short NDDL
Number of DDLs.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other