ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigCost
TrigCostAnalysis
src
counters
CounterAlgorithmClass.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CounterAlgorithmClass.h
"
6
7
CounterAlgorithmClass::CounterAlgorithmClass
(
const
std::string& name,
const
MonitorBase
* parent)
8
:
CounterAlgorithm
(name, parent, true)
9
{
10
regHistogram
(
"Time_perCall"
,
"CPU Time/Call;Time [ms];Calls"
,
VariableType::kPerCall
,
kLog
, 0.01, 100000);
11
regHistogram
(
"FirstTime_perEvent"
,
"First Call CPU Time;Time [ms];Events"
,
VariableType::kPerCall
,
kLog
, 0.01, 100000);
12
regHistogram
(
"Time_perEvent"
,
"CPU Time/Event;Time [ms];Events"
,
VariableType::kPerEvent
);
13
regHistogram
(
"Time_perEventFractional"
,
"CPU Time/Event CPU Time;Fractional Time;Events"
,
VariableType::kPerEvent
,
kLinear
, 0., 1.);
14
regHistogram
(
"AlgCalls_perEvent"
,
"Calls/Event;Calls;Events"
,
VariableType::kPerEvent
,
kLinear
, -0.5, 1499.5, 1500);
15
regHistogram
(
"InEventView_perCall"
,
"In Event View;Yes or No;Calls"
,
VariableType::kPerCall
,
kLinear
, -0.5, 1.5, 2);
16
regHistogram
(
"RoIID_perCall"
,
"RoI ID;RoI ID;Calls"
,
VariableType::kPerCall
,
kLinear
, -1.5, 20.5, 22);
17
regHistogram
(
"Request_perEvent"
,
"Number of requests/Event;Number of requests;Events"
,
VariableType::kPerEvent
,
LogType::kLinear
, -0.5, 299.5, 300);
18
regHistogram
(
"NetworkRequest_perEvent"
,
"Number of network requests/Event;Number of requests;Events"
,
VariableType::kPerEvent
,
LogType::kLinear
, -0.5, 299.5, 300);
19
regHistogram
(
"CachedROBSize_perEvent"
,
"Total ROB Size/Event;ROB size;Events"
,
VariableType::kPerEvent
,
LogType::kLinear
, 0, 1024, 50);
20
regHistogram
(
"NetworkROBSize_perEvent"
,
"Total ROB Size/Event;ROB size;Events"
,
VariableType::kPerEvent
,
LogType::kLinear
, 0, 1024, 50);
21
regHistogram
(
"RequestTime_perEvent"
,
"ROB Elapsed Time/Event;Elapsed Time [ms];Events"
,
VariableType::kPerEvent
);
22
}
23
CounterAlgorithmClass.h
kPerEvent
@ kPerEvent
Variable should buffer fill calls in an accumulator and fill the underlying histogram once at the end...
Definition
Variable.h:21
kPerCall
@ kPerCall
Variable should fill underlying histogram on each fill.
Definition
Variable.h:20
kLinear
@ kLinear
Linear x-binning.
Definition
Variable.h:29
kLog
@ kLog
Logarithmic x-binning.
Definition
Variable.h:30
CounterAlgorithmClass::CounterAlgorithmClass
CounterAlgorithmClass()=delete
Forbid default constructor.
CounterAlgorithm::CounterAlgorithm
CounterAlgorithm()=delete
Forbid default constructor.
CounterBase::regHistogram
void regHistogram(const std::string &name, const std::string &title, const VariableType type=VariableType::kPerCall, const LogType xaxis=kLog, const float min=0.1, const float max=1000000., const size_t bins=70)
Book a histogram for this Counter, to be filled in per-event monitoring.
Definition
CounterBase.cxx:29
MonitorBase
Forward declare.
Definition
Trigger/TrigCost/TrigCostAnalysis/src/MonitorBase.h:33
Generated on
for ATLAS Offline Software by
1.17.0