ATLAS Offline Software
Loading...
Searching...
No Matches
JetContainerHistoFiller.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef JETMONITORING_JETCONTAINERHISTOFILLER_H
8#define JETMONITORING_JETCONTAINERHISTOFILLER_H
16
17
18#include "GaudiKernel/ToolHandle.h"
19#include "AsgTools/AsgTool.h"
20
23
24
25// temporary, we should define a proper interface
26static const InterfaceID IID_JetContainerHistoFiller("JetContainerHistoFiller", 1, 0);
27
30
31
32
33public:
34
35 JetContainerHistoFiller(const std::string &t);
37
38 virtual StatusCode initialize() ;
39
40 virtual int buildHistos();
41
42 virtual int fillHistos();
43
44 virtual int finalizeHistos();
45
47 virtual void prefixHistoDir(const std::string & preDir);
48
49
50 static const InterfaceID& interfaceID( ){return IID_JetContainerHistoFiller;}
51
52 virtual void setInterval(Interval_t ityp, bool force = false);
53
54
55protected:
56
57
59 ToolHandleArray<JetHistoBase> m_histoTools;
62 SG::ReadHandleKey<xAOD::EventInfo> m_EventInfoKey{this, "EventInfoKey", "EventInfo"};
63
64};
65#endif
#define ASG_TOOL_CLASS0(CLASSNAME)
static const InterfaceID IID_JetContainerHistoFiller("JetContainerHistoFiller", 1, 0)
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
HistoGroupBase(const std::string &t)
ToolHandleArray< JetHistoBase > m_histoTools
The list of histogramming tools.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
JetContainerHistoFiller(const std::string &t)
static const InterfaceID & interfaceID()
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
the jet container to build histos from
virtual void prefixHistoDir(const std::string &preDir)
redefine from base class to forward prefix path to sub histos
virtual void setInterval(Interval_t ityp, bool force=false)
Property holding a SG store/key/clid from which a ReadHandle is made.