ATLAS Offline Software
MonitorSequence.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_MONITORSEQUENCE_H
6 #define TRIGCOSTANALYSIS_MONITORSEQUENCE_H 1
7 
8 
9 #include "../MonitorBase.h"
10 
15 class MonitorSequence : public MonitorBase {
16  public:
20  MonitorSequence() = delete;
21 
27  MonitorSequence(const std::string& name, const MonitoredRange* parent);
28 
32  virtual ~MonitorSequence() = default;
33 
38 
42  MonitorSequence(const MonitorSequence&) = 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 };
58 
59 #endif // TRIGCOSTANALYSIS_MONITORSEQUENCE_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
MonitorSequence::MonitorSequence
MonitorSequence(const MonitorSequence &)=delete
Forbid copy.
MonitorSequence::newCounter
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
Definition: MonitorSequence.cxx:24
MonitorSequence
Concrete implementation of Monitor to monitor all sequences in an event.
Definition: MonitorSequence.h:15
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
MonitorSequence::newEvent
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
Definition: MonitorSequence.cxx:12
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
MonitorSequence::operator=
MonitorSequence & operator=(const MonitorSequence &)=delete
Forbid assignment.
MonitorSequence::~MonitorSequence
virtual ~MonitorSequence()=default
Default destructor.
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
MonitorSequence::MonitorSequence
MonitorSequence()=delete
Forbid default constructor.