ATLAS Offline Software
MonitorGlobal.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_MONITORGLOBAL_H
6 #define TRIGCOSTANALYSIS_MONITORGLOBAL_H 1
7 
8 #include "../MonitorBase.h"
9 
14 class MonitorGlobal : public MonitorBase {
15  public:
19  MonitorGlobal() = delete;
20 
26  MonitorGlobal(const std::string& name, const MonitoredRange* parent);
27 
31  virtual ~MonitorGlobal() = default;
32 
37 
41  MonitorGlobal(const MonitorGlobal&) = delete;
42 
48  virtual StatusCode newEvent(const CostData& data, const float weight = 1.) override;
49 
55  virtual std::unique_ptr<CounterBase> newCounter(const std::string& name) override;
56 };
57 
58 #endif // TRIGCOSTANALYSIS_MONITORGLOBAL_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
MonitorGlobal::newEvent
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
Definition: MonitorGlobal.cxx:12
MonitorGlobal::MonitorGlobal
MonitorGlobal()=delete
Forbid default constructor.
MonitorGlobal::newCounter
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
Definition: MonitorGlobal.cxx:25
MonitorGlobal::MonitorGlobal
MonitorGlobal(const MonitorGlobal &)=delete
Forbid copy.
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
MonitorGlobal::operator=
MonitorGlobal & operator=(const MonitorGlobal &)=delete
Forbid assignment.
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
MonitorGlobal
Concrete implementation of Monitor to monitor global properties of event execution.
Definition: MonitorGlobal.h:14
MonitorBase
Forward declare.
Definition: Trigger/TrigCost/TrigCostAnalysis/src/MonitorBase.h:33
MonitoredRange
Container which represents a time range and holds a collection of Monitors which monitor this range.
Definition: MonitoredRange.h:29
CostData
Caches and propagates event data to be used by monitoring algorithms.
Definition: CostData.h:26
MonitorGlobal::~MonitorGlobal
virtual ~MonitorGlobal()=default
Default destructor.