ATLAS Offline Software
Loading...
Searching...
No Matches
MonitorAlgorithmClass.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_MONITORALGORITHMCLASS_H
6#define TRIGCOSTANALYSIS_MONITORALGORITHMCLASS_H 1
7
8#include "../MonitorBase.h"
9
15 public:
20
26 MonitorAlgorithmClass(const std::string& name, const MonitoredRange* parent);
27
31 virtual ~MonitorAlgorithmClass() = default;
32
37
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};
57
58#endif // TRIGCOSTANALYSIS_MONITORALGORITHMCLASS_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
MonitorAlgorithmClass & operator=(const MonitorAlgorithmClass &)=delete
Forbid assignment.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
virtual ~MonitorAlgorithmClass()=default
Default destructor.
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
MonitorAlgorithmClass(const MonitorAlgorithmClass &)=delete
Forbid copy.
MonitorAlgorithmClass()=delete
Forbid default constructor.
MonitorBase()=delete
Forbid default constructor.
Container which represents a time range and holds a collection of Monitors which monitor this range.