ATLAS Offline Software
MonitorChain.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCOSTANALYSIS_MONITORCHAIN_H
6 #define TRIGCOSTANALYSIS_MONITORCHAIN_H 1
7 
8 
9 #include "../MonitorBase.h"
10 
15 class MonitorChain : public MonitorBase {
16  public:
20  MonitorChain() = delete;
21 
27  MonitorChain(const std::string& name, const MonitoredRange* parent);
28 
32  virtual ~MonitorChain() = default;
33 
37  MonitorChain& operator=(const MonitorChain&) = delete;
38 
42  MonitorChain(const MonitorChain&) = delete;
43 
49  virtual StatusCode newEvent(const CostData& data, const float weight = 1.) override;
50 
56  virtual std::unique_ptr<CounterBase> newCounter(const std::string& name) override;
57 
64  std::unique_ptr<CounterBase> newCounter(const std::string& name, unsigned nROS);
65 };
66 
67 #endif // TRIGCOSTANALYSIS_MONITORCHAIN_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
MonitorChain::newEvent
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
Definition: MonitorChain.cxx:12
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MonitorChain::operator=
MonitorChain & operator=(const MonitorChain &)=delete
Forbid assignment.
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
MonitoredRange
Container which represents a time range and holds a collection of Monitors which monitor this range.
Definition: MonitoredRange.h:29
MonitorChain::MonitorChain
MonitorChain()=delete
Forbid default constructor.
MonitorChain::newCounter
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
Definition: MonitorChain.cxx:27
MonitorChain
Definition: MonitorChain.h:15
MonitorChain::~MonitorChain
virtual ~MonitorChain()=default
Default destructor.
CostData
Caches and propagates event data to be used by monitoring algorithms.
Definition: CostData.h:26
MonitorChain::MonitorChain
MonitorChain(const MonitorChain &)=delete
Forbid copy.