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