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;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
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