ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMomentTools
JetMomentTools
JetConstitFourMomTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// JetConstitFourMomTool.h
6
7
#ifndef JetMomentTools_JetConstitFourMomTool_H
8
#define JetMomentTools_JetConstitFourMomTool_H
9
14
15
#include "
AsgDataHandles/ReadHandleKeyArray.h
"
16
#include "
AsgTools/AsgTool.h
"
17
#include "
AsgTools/PropertyWrapper.h
"
18
#include "
JetInterface/IJetModifier.h
"
19
#include "
xAODCaloEvent/CaloClusterContainer.h
"
20
21
#include <vector>
22
23
class
JetConstitFourMomTool
:
public
asg::AsgTool
,
24
public
IJetModifier
{
25
26
ASG_TOOL_CLASS
(
JetConstitFourMomTool
,
IJetModifier
)
27
28
public
:
29
30
// Constructor from tool name.
31
JetConstitFourMomTool
(
const
std::string& myname);
32
33
StatusCode
initialize
();
34
35
StatusCode
modify
(
xAOD::JetContainer
& jets)
const
;
36
37
private
:
38
39
Gaudi::Property<int>
m_constitScale
{
this
,
"ConstitScale"
, 0,
"Cluster signal state to use for the jet constituents"
};
40
Gaudi::Property<std::vector<std::string> >
m_jetScaleNames
{
this
,
"JetScaleNames"
, {},
"The names of the jet scale"
};
41
Gaudi::Property<std::vector<std::string> >
m_altColls
{
this
,
"AltConstitColls"
, {},
"Alternate collections to use (e.g. origin-corrected or not)"
};
42
Gaudi::Property<std::vector<int> >
m_altConstitScales
{
this
,
"AltConstitScales"
, {},
"Scales to use for the alternate constituent collections"
};
43
Gaudi::Property<std::vector<std::string> >
m_altJetScales
{
this
,
"AltJetScales"
, {},
"Existing momentum scales that should just be copied"
};
44
45
std::vector<bool>
m_isDetectorEtaPhi
;
46
47
SG::ReadHandleKeyArray<xAOD::CaloClusterContainer>
m_altColls_keys
{
this
,
"AltConstitCollsKeys"
, {},
"Do not configure this manually"
};
48
49
};
50
51
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ReadHandleKeyArray.h
CaloClusterContainer.h
IJetModifier.h
PropertyWrapper.h
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition
IJetModifier.h:20
JetConstitFourMomTool::m_isDetectorEtaPhi
std::vector< bool > m_isDetectorEtaPhi
Definition
JetConstitFourMomTool.h:45
JetConstitFourMomTool::m_altConstitScales
Gaudi::Property< std::vector< int > > m_altConstitScales
Definition
JetConstitFourMomTool.h:42
JetConstitFourMomTool::m_altJetScales
Gaudi::Property< std::vector< std::string > > m_altJetScales
Definition
JetConstitFourMomTool.h:43
JetConstitFourMomTool::m_altColls
Gaudi::Property< std::vector< std::string > > m_altColls
Definition
JetConstitFourMomTool.h:41
JetConstitFourMomTool::m_altColls_keys
SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > m_altColls_keys
Definition
JetConstitFourMomTool.h:47
JetConstitFourMomTool::m_jetScaleNames
Gaudi::Property< std::vector< std::string > > m_jetScaleNames
Definition
JetConstitFourMomTool.h:40
JetConstitFourMomTool::JetConstitFourMomTool
JetConstitFourMomTool(const std::string &myname)
Definition
JetConstitFourMomTool.cxx:14
JetConstitFourMomTool::modify
StatusCode modify(xAOD::JetContainer &jets) const
Method to modify a jet collection.
Definition
JetConstitFourMomTool.cxx:63
JetConstitFourMomTool::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetConstitFourMomTool.cxx:24
JetConstitFourMomTool::m_constitScale
Gaudi::Property< int > m_constitScale
Definition
JetConstitFourMomTool.h:39
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
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