Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GepJetAlg.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRIGL0GEPPERF_GEPJETALG_H
6 #define TRIGL0GEPPERF_GEPJETALG_H
7 
8 /*
9  This algorithm creates jets from CaloClusters, and writes them out
10  as xAOD::Jets. The origin of the clusters maybe via standard ATLS
11  code, or by Gep clustering. The jet strategy is
12  carried out by helper objects.
13  The strategy used is chosen according to string set at configure time. *
14 */
15 
16 
17 
19 
21 
22 #include "xAODJet/JetContainer.h"
24 
25 //Athena::Units::GeV
26 #include "AthenaKernel/Units.h"
27 
28 #include <string>
29 
30 
32  public:
33 
34  GepJetAlg( const std::string& name, ISvcLocator* pSvcLocator );
35 
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute(const EventContext& ) const override;
38 
39 
40  private:
41 
42  Gaudi::Property<std::string> m_jetAlgName{this, "jetAlgName", "",
43  "Gep jet alg idenfifier"};
44 
46  this, "caloClustersKey", "", "key to read in a CaloCluster constainer"};
47 
49  this, "jFexSRJetRoIs", "L1_jFexSRJetRoISim", "key to read a L1 jet container"};
50 
52  this, "outputJetsKey", "",
53  "key for xAOD:Jet wrappers for GepJets"};
54 
55  // WTAConeMaker parameters
56  Gaudi::Property<float> m_WTAConstEtCut{this, "WTAConstEtCut", 2.0,
57  "Minimum Et for a tower to be considered as a constituent"};
58 
59  Gaudi::Property<float> m_WTASeedEtCut{this, "WTASeedEtCut", 5.0,
60  "Minimum Et for a tower to be considered as a seed"};
61 
62  Gaudi::Property<float> m_WTAJet_dR2{this, "WTAJet_dR2", 0.16,
63  "Jet area for merging constituents"};
64 
65  Gaudi::Property<unsigned int> m_WTAMaxConstN{this, "WTAMaxConstN", 205,
66  "Maximum number of constituents per jet"};
67 
68  Gaudi::Property<unsigned int> m_WTAMaxSeedSortingN{this, "WTAMaxSeedSortingN", 50,
69  "Maximum number of seeds to sort"};
70 
71  Gaudi::Property<unsigned int> m_WTABlockN{this, "WTABlockN", 4,
72  "Number of blocks to divide the input towers into for parallel processing. Options: 1, 4"};
73 
74  Gaudi::Property<std::string> m_WTASeedCleaningName{this, "WTASeedCleaningName", "TwoPass",
75  "Seed cleaning algorithm to use. Options: Baseline, TwoPass"};
76 
77 };
78 
79 #endif //> !TRIGL0GEPPERF_GEPJETALG_H
GepJetAlg::m_jFexSRJetsKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetsKey
Definition: GepJetAlg.h:48
GepJetAlg::m_WTAJet_dR2
Gaudi::Property< float > m_WTAJet_dR2
Definition: GepJetAlg.h:62
GepJetAlg::m_WTAMaxSeedSortingN
Gaudi::Property< unsigned int > m_WTAMaxSeedSortingN
Definition: GepJetAlg.h:68
GepJetAlg::GepJetAlg
GepJetAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GepJetAlg.cxx:23
GepJetAlg::m_outputGepJetsKey
SG::WriteHandleKey< xAOD::JetContainer > m_outputGepJetsKey
Definition: GepJetAlg.h:51
SG::ReadHandleKey< xAOD::CaloClusterContainer >
GepJetAlg::initialize
virtual StatusCode initialize() override
Definition: GepJetAlg.cxx:29
GepJetAlg::m_WTASeedCleaningName
Gaudi::Property< std::string > m_WTASeedCleaningName
Definition: GepJetAlg.h:74
GepJetAlg::m_WTAMaxConstN
Gaudi::Property< unsigned int > m_WTAMaxConstN
Definition: GepJetAlg.h:65
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
GepJetAlg::m_WTABlockN
Gaudi::Property< unsigned int > m_WTABlockN
Definition: GepJetAlg.h:71
SG::WriteHandleKey< xAOD::JetContainer >
jFexSRJetRoIContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GepJetAlg
Definition: GepJetAlg.h:31
GepJetAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: GepJetAlg.cxx:42
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
GepJetAlg::m_WTAConstEtCut
Gaudi::Property< float > m_WTAConstEtCut
Definition: GepJetAlg.h:56
Units.h
Wrapper to avoid constant divisions when using units.
GepJetAlg::m_caloClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersKey
Definition: GepJetAlg.h:45
JetContainer.h
CaloClusterContainer.h
GepJetAlg::m_WTASeedEtCut
Gaudi::Property< float > m_WTASeedEtCut
Definition: GepJetAlg.h:59
GepJetAlg::m_jetAlgName
Gaudi::Property< std::string > m_jetAlgName
Definition: GepJetAlg.h:42