ATLAS Offline Software
|
Helper class to keep track of how many eta+phi, eta and phi only space points are built in various detector regions. More...
Classes | |
struct | FieldKey |
Helper struct to define the counting categories. More... | |
struct | StatField |
Helper struct to count the space-points in each detector category. More... | |
Public Member Functions | |
SpacePointStatistics (const Muon::IMuonIdHelperSvc *idHelperSvc) | |
Standard constructor. More... | |
void | addToStat (const std::vector< SpacePoint > &spacePoints) |
Adds the vector of space points to the overall statistics. More... | |
void | dumpStatisics (MsgStream &msg) const |
Print the statistics table of the built space points per category into the log-file / console. More... | |
Private Types | |
using | StatMap_t = std::map< FieldKey, StatField > |
Private Attributes | |
const Muon::IMuonIdHelperSvc * | m_idHelperSvc {} |
std::mutex | m_mutex {} |
StatMap_t | m_map {} |
Helper class to keep track of how many eta+phi, eta and phi only space points are built in various detector regions.
The SpacePointStatistics split the counts per muon station layer, i.e., BarrelInner, BarrelMiddle, EndCapInner, etc. are distinct categoriges. Each category is further subdivided into the indivudal stationEtas of the chambers and finally also into the technology type of the hit.
Definition at line 41 of file SpacePointMakerAlg.h.
|
private |
Definition at line 80 of file SpacePointMakerAlg.h.
MuonR4::SpacePointMakerAlg::SpacePointStatistics::SpacePointStatistics | ( | const Muon::IMuonIdHelperSvc * | idHelperSvc | ) |
Standard constructor.
idHelperSvc | Pointer to the MuonIdHelperSvc needed to sort each hit into a counting category. |
Definition at line 35 of file SpacePointMakerAlg.cxx.
void MuonR4::SpacePointMakerAlg::SpacePointStatistics::addToStat | ( | const std::vector< SpacePoint > & | spacePoints | ) |
Adds the vector of space points to the overall statistics.
Definition at line 38 of file SpacePointMakerAlg.cxx.
void MuonR4::SpacePointMakerAlg::SpacePointStatistics::dumpStatisics | ( | MsgStream & | msg | ) | const |
Print the statistics table of the built space points per category into the log-file / console.
Sort statistics from largest to smallest
Definition at line 54 of file SpacePointMakerAlg.cxx.
|
private |
Definition at line 78 of file SpacePointMakerAlg.h.
|
private |
Definition at line 81 of file SpacePointMakerAlg.h.
|
private |
Definition at line 79 of file SpacePointMakerAlg.h.