ATLAS Offline Software
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 
16 #include "AsgTools/AsgTool.h"
20 
21 #include <vector>
22 
24  public IJetModifier {
25 
27 
28  public:
29 
30  // Constructor from tool name.
31  JetConstitFourMomTool(const std::string& myname);
32 
34 
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
JetConstitFourMomTool::m_altColls
Gaudi::Property< std::vector< std::string > > m_altColls
Definition: JetConstitFourMomTool.h:41
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
PropertyWrapper.h
JetConstitFourMomTool::m_altJetScales
Gaudi::Property< std::vector< std::string > > m_altJetScales
Definition: JetConstitFourMomTool.h:43
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
IJetModifier.h
JetConstitFourMomTool::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: JetConstitFourMomTool.cxx:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetConstitFourMomTool
Russell Smith May 2015.
Definition: JetConstitFourMomTool.h:24
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetConstitFourMomTool::m_altColls_keys
SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > m_altColls_keys
Definition: JetConstitFourMomTool.h:47
JetConstitFourMomTool::m_altConstitScales
Gaudi::Property< std::vector< int > > m_altConstitScales
Definition: JetConstitFourMomTool.h:42
JetConstitFourMomTool::m_jetScaleNames
Gaudi::Property< std::vector< std::string > > m_jetScaleNames
Definition: JetConstitFourMomTool.h:40
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
JetConstitFourMomTool::m_isDetectorEtaPhi
std::vector< bool > m_isDetectorEtaPhi
Definition: JetConstitFourMomTool.h:45
JetConstitFourMomTool::modify
StatusCode modify(xAOD::JetContainer &jets) const
Method to modify a jet collection.
Definition: JetConstitFourMomTool.cxx:63
CaloClusterContainer.h
JetConstitFourMomTool::JetConstitFourMomTool
JetConstitFourMomTool(const std::string &myname)
Definition: JetConstitFourMomTool.cxx:14
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
ReadHandleKeyArray.h
AsgTool.h
JetConstitFourMomTool::m_constitScale
Gaudi::Property< int > m_constitScale
Definition: JetConstitFourMomTool.h:39
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20