Project
Loading...
Searching...
No Matches
o2::phos::TurnOnHistos Class Reference

#include <TurnOnHistos.h>

Public Member Functions

 TurnOnHistos ()=default
 Constructor.
 
TurnOnHistosoperator= (const TurnOnHistos &other)=default
 
 ~TurnOnHistos ()=default
 Destructor.
 
void merge (TurnOnHistos &other)
 Merge statistics in two containers.
 
void fillTotSp (short ddl, float e)
 Fill spectum of all clusters.
 
void fillFiredSp (short ddl, float e)
 Fill spectum of clusters fired trigger.
 
void fillFiredMap (const std::bitset< NCHANNELS > &bs)
 Collects entries in good map.
 
void fillNoisyMap (const std::bitset< NCHANNELS > &bs)
 Collects entries in noisy map.
 
const std::array< float, Npt > & getTotSpectrum (short ddl) const
 
const std::array< float, Npt > & getTrSpectrum (short ddl) const
 
const std::array< float, NCHANNELS > & getGoodMap () const
 
const std::array< float, NCHANNELS > & getNoisyMap () const
 

Static Public Attributes

static constexpr short NCHANNELS = 3136
 Number of trigger channels.
 
static constexpr short NDDL = 14
 Number of DDLs.
 
static constexpr short Npt = 200
 Number of bins in pt distribution.
 
static constexpr float dpt = 0.1
 bin width
 

Detailed Description

Definition at line 32 of file TurnOnHistos.h.

Constructor & Destructor Documentation

◆ TurnOnHistos()

o2::phos::TurnOnHistos::TurnOnHistos ( )
default

Constructor.

◆ ~TurnOnHistos()

o2::phos::TurnOnHistos::~TurnOnHistos ( )
default

Destructor.

Member Function Documentation

◆ fillFiredMap()

void o2::phos::TurnOnHistos::fillFiredMap ( const std::bitset< NCHANNELS > &  bs)
inline

Collects entries in good map.

Parameters
bitsetwith channels fired in event

Definition at line 77 of file TurnOnHistos.h.

◆ fillFiredSp()

void o2::phos::TurnOnHistos::fillFiredSp ( short  ddl,
float  e 
)
inline

Fill spectum of clusters fired trigger.

Parameters
ddlddl ID
ecluster energy

Definition at line 67 of file TurnOnHistos.h.

◆ fillNoisyMap()

void o2::phos::TurnOnHistos::fillNoisyMap ( const std::bitset< NCHANNELS > &  bs)
inline

Collects entries in noisy map.

Parameters
bitsetwith channels fired in event

Definition at line 88 of file TurnOnHistos.h.

◆ fillTotSp()

void o2::phos::TurnOnHistos::fillTotSp ( short  ddl,
float  e 
)
inline

Fill spectum of all clusters.

Parameters
ddlddl ID
ecluster energy

Definition at line 56 of file TurnOnHistos.h.

◆ getGoodMap()

const std::array< float, NCHANNELS > & o2::phos::TurnOnHistos::getGoodMap ( ) const
inline

Definition at line 100 of file TurnOnHistos.h.

◆ getNoisyMap()

const std::array< float, NCHANNELS > & o2::phos::TurnOnHistos::getNoisyMap ( ) const
inline

Definition at line 101 of file TurnOnHistos.h.

◆ getTotSpectrum()

const std::array< float, Npt > & o2::phos::TurnOnHistos::getTotSpectrum ( short  ddl) const
inline

Definition at line 98 of file TurnOnHistos.h.

◆ getTrSpectrum()

const std::array< float, Npt > & o2::phos::TurnOnHistos::getTrSpectrum ( short  ddl) const
inline

Definition at line 99 of file TurnOnHistos.h.

◆ merge()

void TurnOnHistos::merge ( TurnOnHistos other)

Merge statistics in two containers.

Parameters
otherAnother container to be added to current

Definition at line 16 of file TurnOnHistos.cxx.

◆ operator=()

TurnOnHistos & o2::phos::TurnOnHistos::operator= ( const TurnOnHistos other)
default

Member Data Documentation

◆ dpt

constexpr float o2::phos::TurnOnHistos::dpt = 0.1
staticconstexpr

bin width

Definition at line 39 of file TurnOnHistos.h.

◆ NCHANNELS

constexpr short o2::phos::TurnOnHistos::NCHANNELS = 3136
staticconstexpr

Number of trigger channels.

Definition at line 36 of file TurnOnHistos.h.

◆ NDDL

constexpr short o2::phos::TurnOnHistos::NDDL = 14
staticconstexpr

Number of DDLs.

Definition at line 37 of file TurnOnHistos.h.

◆ Npt

constexpr short o2::phos::TurnOnHistos::Npt = 200
staticconstexpr

Number of bins in pt distribution.

Definition at line 38 of file TurnOnHistos.h.


The documentation for this class was generated from the following files: