ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMonitoring
JetMonitoring
NumJetVarTool.h
Go to the documentation of this file.
1
/* this file is -*- C++ -*-
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETMONITORING_NUMJETVARTOOL_H
6
#define JETMONITORING_NUMJETVARTOOL_H
7
8
#include "
JetMonitoring/EventHistoVarTool.h
"
9
#include "GaudiKernel/IAlgTool.h"
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
18
19
class
NumJetVarTool
:
public
AthAlgTool
,
virtual
public
IEventHistoVarTool
{
20
public
:
21
NumJetVarTool
(
const
std::string &
type
,
const
std::string & name,
const
IInterface* parent);
22
virtual
~NumJetVarTool
(){}
23
24
virtual
StatusCode
initialize
() ;
25
26
virtual
float
value
(
const
xAOD::JetContainer
&)
const
;
27
virtual
std::string
varName
()
const
{
return
m_varName
;}
28
29
private
:
30
31
Gaudi::Property<float>
m_ptCut
= {
this
,
"PtCut"
, 0.};
32
Gaudi::Property<float>
m_etCut
= {
this
,
"EtCut"
, 0.};
33
Gaudi::Property<float>
m_etaMin
= {
this
,
"EtaMin"
, -10.};
34
Gaudi::Property<float>
m_etaMax
= {
this
,
"EtaMax"
, 10.};
35
Gaudi::Property<std::string>
m_varName
{
this
,
"VarName"
,
""
};
36
bool
m_failureOnMissingContainer
;
37
38
};
39
40
41
#endif
AthAlgTool.h
EventHistoVarTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
IEventHistoVarTool
Definition
EventHistoVarTool.h:25
NumJetVarTool::NumJetVarTool
NumJetVarTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
NumJetVarTool.cxx:9
NumJetVarTool::varName
virtual std::string varName() const
a compact description of the variable.
Definition
NumJetVarTool.h:27
NumJetVarTool::value
virtual float value(const xAOD::JetContainer &) const
the value of the variable for a given Event
Definition
NumJetVarTool.cxx:26
NumJetVarTool::m_etaMax
Gaudi::Property< float > m_etaMax
Definition
NumJetVarTool.h:34
NumJetVarTool::m_failureOnMissingContainer
bool m_failureOnMissingContainer
Definition
NumJetVarTool.h:36
NumJetVarTool::initialize
virtual StatusCode initialize()
Definition
NumJetVarTool.cxx:18
NumJetVarTool::m_etCut
Gaudi::Property< float > m_etCut
Definition
NumJetVarTool.h:32
NumJetVarTool::m_ptCut
Gaudi::Property< float > m_ptCut
Definition
NumJetVarTool.h:31
NumJetVarTool::~NumJetVarTool
virtual ~NumJetVarTool()
Definition
NumJetVarTool.h:22
NumJetVarTool::m_etaMin
Gaudi::Property< float > m_etaMin
Definition
NumJetVarTool.h:33
NumJetVarTool::m_varName
Gaudi::Property< std::string > m_varName
Definition
NumJetVarTool.h:35
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0