ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
std::vector< bool > m_isDetectorEtaPhi
Gaudi::Property< std::vector< int > > m_altConstitScales
Gaudi::Property< std::vector< std::string > > m_altJetScales
Gaudi::Property< std::vector< std::string > > m_altColls
SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > m_altColls_keys
Gaudi::Property< std::vector< std::string > > m_jetScaleNames
JetConstitFourMomTool(const std::string &myname)
StatusCode modify(xAOD::JetContainer &jets) const
Method to modify a jet collection.
StatusCode initialize()
Dummy implementation of the initialisation function.
Gaudi::Property< int > m_constitScale
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
JetContainer_v1 JetContainer
Definition of the current "jet container version".