ATLAS Offline Software
Loading...
Searching...
No Matches
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
15class MonitorChain : public MonitorBase {
16 public:
20 MonitorChain() = delete;
21
27 MonitorChain(const std::string& name, const MonitoredRange* parent);
28
32 virtual ~MonitorChain() = default;
33
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
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
Caches and propagates event data to be used by monitoring algorithms.
Definition CostData.h:26
MonitorBase()=delete
Forbid default constructor.
MonitorChain()=delete
Forbid default constructor.
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
virtual ~MonitorChain()=default
Default destructor.
MonitorChain & operator=(const MonitorChain &)=delete
Forbid assignment.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
MonitorChain(const MonitorChain &)=delete
Forbid copy.
Container which represents a time range and holds a collection of Monitors which monitor this range.