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