ATLAS Offline Software
CounterSequence.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_COUNTERSEQUENCE_H
6 #define TRIGCOSTANALYSIS_COUNTERSEQUENCE_H 1
7 
8 #include "../CounterBase.h"
9 
14 class CounterSequence : public CounterBase {
15  public:
19  CounterSequence() = delete;
20 
26  CounterSequence(const std::string& name, const MonitorBase* parent);
27 
31  virtual ~CounterSequence() = default;
32 
37 
41  CounterSequence(const CounterSequence&) = delete;
42 
49  virtual StatusCode newEvent(const CostData& data, size_t index, const float weight = 1.) override;
50 };
51 
52 #endif // TRIGCOSTANALYSIS_COUNTERSEQUENCE_H
CounterSequence::operator=
CounterSequence & operator=(const CounterSequence &)=delete
Forbid assignment.
CounterSequence::~CounterSequence
virtual ~CounterSequence()=default
Default destructor.
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
CounterBase
Forward declare.
Definition: CounterBase.h:25
CounterSequence::CounterSequence
CounterSequence(const CounterSequence &)=delete
Forbid copy.
index
Definition: index.py:1
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
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CounterSequence::CounterSequence
CounterSequence()=delete
Forbid default constructor.
MonitorBase
Forward declare.
Definition: Trigger/TrigCost/TrigCostAnalysis/src/MonitorBase.h:33
CounterSequence
Concrete implimentation of Counter to monitor all properties of a given Sequence instance.
Definition: CounterSequence.h:14
CounterSequence::newEvent
virtual StatusCode newEvent(const CostData &data, size_t index, const float weight=1.) override
Concrete implimentation.
Definition: CounterSequence.cxx:26
CostData
Caches and propagates event data to be used by monitoring algorithms.
Definition: CostData.h:26