ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMonitoring
JetMonitoring
JetAttributeHisto.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_JETATTRIBUTEHISTOS_H
8
#define JETMONITORING_JETATTRIBUTEHISTOS_H
22
23
#include "GaudiKernel/ToolHandle.h"
24
25
#include "
JetMonitoring/JetHistoBase.h
"
26
#include "
JetMonitoring/HistoDefinitionTool.h
"
27
28
#include "TH1.h"
29
#include "TH2.h"
30
#include "TProfile.h"
31
32
namespace
jet
{
33
class
HistoFiller
;
34
}
35
class
JetAttributeHisto
:
public
JetHistoBase
{
36
ASG_TOOL_CLASS0
(
JetAttributeHisto
);
37
38
public
:
39
//typedef SG::AuxElement::Accessor< T > accessor_t;
40
41
JetAttributeHisto
(
const
std::string &t);
42
virtual
~JetAttributeHisto
();
43
44
virtual
StatusCode
initialize
() ;
45
virtual
int
buildHistos
();
46
virtual
int
fillHistosFromJet
(
const
xAOD::Jet
&j,
float
weight);
47
virtual
int
fillHistosFromContainer
(
const
xAOD::JetContainer
& cont,
float
weight);
48
49
protected
:
51
virtual
void
renameAndRegister
(TH1*
h
,
const
std::string & subD=
""
,
Interval_t
i=
all
);
52
53
ToolHandle<HistoDefinitionTool>
m_histoDef
;
54
std::vector<std::string>
m_attTypes
;
55
std::vector<std::string>
m_attNames
;
56
std::vector<bool>
m_attGeV
;
57
58
int
m_selectedIndex
;
59
bool
m_doTProfile
;
60
jet::HistoFiller
*
m_histoFiller
;
61
};
62
63
64
65
#endif
HistoDefinitionTool.h
JetHistoBase.h
h
Header file for AthHistogramAlgorithm.
HistoGroupBase::Interval_t
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
Definition
HistoGroupBase.h:37
HistoGroupBase::all
@ all
Definition
HistoGroupBase.h:39
JetAttributeHisto::fillHistosFromJet
virtual int fillHistosFromJet(const xAOD::Jet &j, float weight)
Definition
JetAttributeHisto.cxx:299
JetAttributeHisto::fillHistosFromContainer
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
Definition
JetAttributeHisto.cxx:304
JetAttributeHisto::buildHistos
virtual int buildHistos()
Definition
JetAttributeHisto.cxx:201
JetAttributeHisto::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetAttributeHisto.cxx:181
JetAttributeHisto::m_histoDef
ToolHandle< HistoDefinitionTool > m_histoDef
Definition
JetAttributeHisto.h:53
JetAttributeHisto::~JetAttributeHisto
virtual ~JetAttributeHisto()
Definition
JetAttributeHisto.cxx:178
JetAttributeHisto::JetAttributeHisto
JetAttributeHisto(const std::string &t)
Definition
JetAttributeHisto.cxx:162
JetAttributeHisto::m_attTypes
std::vector< std::string > m_attTypes
Definition
JetAttributeHisto.h:54
JetAttributeHisto::m_attGeV
std::vector< bool > m_attGeV
Definition
JetAttributeHisto.h:56
JetAttributeHisto::renameAndRegister
virtual void renameAndRegister(TH1 *h, const std::string &subD="", Interval_t i=all)
Rename an histo according to the tool's path. redefine here to take m_selectedIndex into account.
Definition
JetAttributeHisto.cxx:314
JetAttributeHisto::m_selectedIndex
int m_selectedIndex
Definition
JetAttributeHisto.h:58
JetAttributeHisto::ASG_TOOL_CLASS0
ASG_TOOL_CLASS0(JetAttributeHisto)
JetAttributeHisto::m_histoFiller
jet::HistoFiller * m_histoFiller
Definition
JetAttributeHisto.h:60
JetAttributeHisto::m_doTProfile
bool m_doTProfile
Definition
JetAttributeHisto.h:59
JetAttributeHisto::m_attNames
std::vector< std::string > m_attNames
Definition
JetAttributeHisto.h:55
JetHistoBase::JetHistoBase
JetHistoBase(const std::string &t)
Definition
JetHistoBase.cxx:10
jet::HistoFiller
Definition
JetAttributeHisto.cxx:12
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0