ATLAS Offline Software
MonitorROS.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_MONITORROS_H
6 #define TRIGCOSTANALYSIS_MONITORROS_H 1
7 
8 #include "../MonitorBase.h"
9 
14 class MonitorROS : public MonitorBase {
15  public:
19  MonitorROS() = delete;
20 
26  MonitorROS(const std::string& name, const MonitoredRange* parent);
27 
31  virtual ~MonitorROS() = default;
32 
36  MonitorROS& operator=(const MonitorROS&) = delete;
37 
41  MonitorROS(const MonitorROS&) = 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 
63  std::unique_ptr<CounterBase> newCounter(const std::string& name, unsigned nRobs);
64 
65 };
66 
67 #endif // TRIGCOSTANALYSIS_MONITORROS_H
MonitorROS::newCounter
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
Definition: MonitorROS.cxx:51
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
MonitorROS::MonitorROS
MonitorROS()=delete
Forbid default constructor.
MonitorROS::~MonitorROS
virtual ~MonitorROS()=default
Default destructor.
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
MonitorROS
Concrete implimentation of Monitor to monitor Read Out System.
Definition: MonitorROS.h:14
MonitorROS::operator=
MonitorROS & operator=(const MonitorROS &)=delete
Forbid assignment.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MonitorROS::MonitorROS
MonitorROS(const MonitorROS &)=delete
Forbid copy.
test_pyathena.parent
parent
Definition: test_pyathena.py:15
MonitorROS::newEvent
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
Definition: MonitorROS.cxx: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
CostData
Caches and propagates event data to be used by monitoring algorithms.
Definition: CostData.h:26