ATLAS Offline Software
|
#include <AmbiCounter.h>
Public Types | |
enum | RegionIndex { iBarrel, iTransi, iEndcap, iFWD = 3, nRegions =4, iForwrd = 3 } |
enum | GlobalCounterIndices { nEvents, nInvalidTracks, nTracksWithoutParam, nGlobalCounters } |
using | Categories = EnumType |
Public Member Functions | |
AmbiCounter (const std::vector< float > &eta_bounds) | |
size_t | idx (const Categories &categoryIndex) const |
void | resetGlobalCounters () |
void | newEvent () |
int | numberOfEvents () const |
void | increment (Categories category, unsigned int etaBinIdx) |
AmbiCounter< EnumType > & | operator+= (const AmbiCounter< EnumType > &a) |
void | incrementCounterByRegion (Categories categoryIdx, const Trk::Track *track) |
std::string | dumpRegions (const std::string &head, Categories categoryIdx, const int iw=9) const |
int | globalCount (GlobalCounterIndices i) const |
Private Member Functions | |
std::optional< size_t > | etaBin (const double val) |
Private Attributes | |
std::array< std::array< int, nRegions >, static_cast< size_t >Categories::kNCounter)> | m_counter {} |
std::array< int, nGlobalCounters > | m_globalCounter {} |
const std::vector< float > & | m_etaBounds |
eta intervals for internal monitoring More... | |
Definition at line 16 of file AmbiCounter.h.
using AmbiCounter< EnumType >::Categories = EnumType |
Definition at line 18 of file AmbiCounter.h.
enum AmbiCounter::GlobalCounterIndices |
Enumerator | |
---|---|
nEvents | |
nInvalidTracks | |
nTracksWithoutParam | |
nGlobalCounters |
Definition at line 20 of file AmbiCounter.h.
enum AmbiCounter::RegionIndex |
|
inline |
Definition at line 27 of file AmbiCounter.h.
|
inline |
Definition at line 98 of file AmbiCounter.h.
|
inlineprivate |
Definition at line 122 of file AmbiCounter.h.
|
inline |
Definition at line 113 of file AmbiCounter.h.
|
inline |
Definition at line 37 of file AmbiCounter.h.
|
inline |
|
inline |
Definition at line 78 of file AmbiCounter.h.
|
inline |
Definition at line 48 of file AmbiCounter.h.
|
inline |
Definition at line 54 of file AmbiCounter.h.
|
inline |
Definition at line 66 of file AmbiCounter.h.
|
inline |
Definition at line 42 of file AmbiCounter.h.
|
private |
Definition at line 118 of file AmbiCounter.h.
|
private |
eta intervals for internal monitoring
Definition at line 120 of file AmbiCounter.h.
|
private |
Definition at line 119 of file AmbiCounter.h.