ATLAS Offline Software
Loading...
Searching...
No Matches
IMonitorToolBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IMONITORTOOLBASE_H
6#define IMONITORTOOLBASE_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include <vector>
10
11class EventContext;
12
13// Declaration of the interface ID ( interface id, major version, minor version)
14static const InterfaceID IID_IMonitorToolBase("IMonitorToolBase", 1 , 0);
15
16
17// The interface implemented by concrete Monitoring tools.
18// Concrete tools, derived from the MonitorToolBase base abstract
19// class are controlled via this interface.
20//
21// @author Manuel Diaz <Manuel.Diaz.Gomez@cern.ch>
22
23
24class IMonitorToolBase : virtual public IAlgTool
25
26{
27 public:
28
29 // Retrieve interface ID
30 static const InterfaceID& interfaceID() { return IID_IMonitorToolBase; }
31
32 virtual StatusCode setupOutputStreams(std::vector<std::string> Mapping
33 = std::vector<std::string>() ) = 0;
34
35 //Virtual destructor
36 virtual ~IMonitorToolBase() {}
37
38 // book & fill (pure virtual)
39 virtual StatusCode bookHists() = 0;
40 virtual StatusCode fillHists(const EventContext& ctx) = 0;
41 virtual StatusCode finalHists() = 0;
42 virtual StatusCode runStat() = 0;
43 virtual StatusCode checkHists(bool fromFinalize) = 0;
44 virtual bool preSelector() = 0;
45};
46#endif
static const InterfaceID IID_IMonitorToolBase("IMonitorToolBase", 1, 0)
virtual StatusCode runStat()=0
virtual StatusCode finalHists()=0
virtual StatusCode setupOutputStreams(std::vector< std::string > Mapping=std::vector< std::string >())=0
virtual ~IMonitorToolBase()
virtual bool preSelector()=0
virtual StatusCode checkHists(bool fromFinalize)=0
virtual StatusCode bookHists()=0
virtual StatusCode fillHists(const EventContext &ctx)=0
static const InterfaceID & interfaceID()