ATLAS Offline Software
Loading...
Searching...
No Matches
HistosForJetSelection.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef JETMONITORING_HISTOFORJETSELECTION_H
8#define JETMONITORING_HISTOFORJETSELECTION_H
19
20
21#include "GaudiKernel/ToolHandle.h"
22
26
29
30public:
31
32 HistosForJetSelection(const std::string &t);
34
35 virtual StatusCode initialize() ;
36 virtual int buildHistos();
37
38 virtual int fillHistosFromContainer(const xAOD::JetContainer & cont, float weight);
39
40 virtual int finalizeHistos();
41
43 virtual void prefixHistoDir(const std::string & preDir);
44
46 virtual void setInterval(Interval_t ityp, bool force = false);
47
49
57
58protected:
59
60 virtual void modifyNameAndTitle(TH1* h);
61
62
64 ToolHandleArray<JetHistoBase> m_histoTools;
65
66 ToolHandle<IJetSelector> m_selTool;
67
70
72 std::string m_titleSuffix;
74 std::string m_nameSuffix;
75};
76#endif
Header file for AthHistogramAlgorithm.
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
virtual void modifyNameAndTitle(TH1 *h)
virtual void setInterval(Interval_t ityp, bool force=false)
redefine to forward to sub histos
HistosForJetSelection(const std::string &t)
std::string m_nameSuffix
Suffix of the histos names.
ToolHandleArray< JetHistoBase > m_histoTools
List of histo tools to call on selected jets.
ToolHandle< IJetSelector > m_selTool
virtual void prefixHistoDir(const std::string &preDir)
redefine to forward to sub histos
virtual ~HistosForJetSelection()
int m_selType
used only if m_selType == FromTool
SelectionType
Describes the selection type : built-in or use of an external type.
std::string m_titleSuffix
Suffix of the histos titles. If the property is not set and using a built-in type,...
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
ASG_TOOL_CLASS0(HistosForJetSelection)
JetHistoBase(const std::string &t)
JetContainer_v1 JetContainer
Definition of the current "jet container version".