ATLAS Offline Software
CounterAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCOSTANALYSIS_COUNTERALGORITHM_H
6 #define TRIGCOSTANALYSIS_COUNTERALGORITHM_H 1
7 
8 #include "../CounterBase.h"
9 
14 class CounterAlgorithm : public CounterBase {
15  public:
19  CounterAlgorithm() = delete;
20 
27  CounterAlgorithm(const std::string& name, const MonitorBase* parent, const bool skipHistograms=false);
28 
32  virtual ~CounterAlgorithm() = default;
33 
38 
43 
50  virtual StatusCode newEvent(const CostData& data, size_t index, const float weight = 1.) override;
51 };
52 
53 #endif // TRIGCOSTANALYSIS_COUNTERALGORITHM_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
CounterBase
Forward declare.
Definition: CounterBase.h:25
index
Definition: index.py:1
CounterAlgorithm::~CounterAlgorithm
virtual ~CounterAlgorithm()=default
Default destructor.
CounterAlgorithm::operator=
CounterAlgorithm & operator=(const CounterAlgorithm &)=delete
Forbid assignment.
CounterAlgorithm::CounterAlgorithm
CounterAlgorithm()=delete
Forbid default constructor.
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
CounterAlgorithm
Concrete implimentation of Counter to monitor all properties of a given Algorithm instance.
Definition: CounterAlgorithm.h:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MonitorBase
Forward declare.
Definition: Trigger/TrigCost/TrigCostAnalysis/src/MonitorBase.h:33
CounterAlgorithm::CounterAlgorithm
CounterAlgorithm(const CounterAlgorithm &)=delete
Forbid copy.
CounterAlgorithm::newEvent
virtual StatusCode newEvent(const CostData &data, size_t index, const float weight=1.) override
Concrete implimentation.
Definition: CounterAlgorithm.cxx:30
CostData
Caches and propagates event data to be used by monitoring algorithms.
Definition: CostData.h:26