ATLAS Offline Software
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 #include <string>
26 
27 
29  public:
30 
31  GepJetAlg( const std::string& name, ISvcLocator* pSvcLocator );
32 
33  virtual StatusCode initialize() override;
34  virtual StatusCode execute(const EventContext& ) const override;
35 
36 
37  private:
38 
39  Gaudi::Property<std::string> m_jetAlgName{this, "jetAlgName", "",
40  "Gep jet alg idenfifier"};
41 
43  this, "caloClustersKey", "", "key to read in a CaloCluster constainer"};
44 
46  this, "jFexSRJetRoIs", "L1_jFexSRJetRoISim", "key to read a L1 jet container"};
47 
49  this, "outputJetsKey", "",
50  "key for xAOD:Jet wrappers for GepJets"};
51 
52 };
53 
54 #endif //> !TRIGL0GEPPERF_GEPJETALG_H
GepJetAlg::m_jFexSRJetsKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetsKey
Definition: GepJetAlg.h:45
GepJetAlg::GepJetAlg
GepJetAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GepJetAlg.cxx:22
GepJetAlg::m_outputGepJetsKey
SG::WriteHandleKey< xAOD::JetContainer > m_outputGepJetsKey
Definition: GepJetAlg.h:48
SG::ReadHandleKey< xAOD::CaloClusterContainer >
GepJetAlg::initialize
virtual StatusCode initialize() override
Definition: GepJetAlg.cxx:28
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
jFexSRJetRoIContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GepJetAlg
Definition: GepJetAlg.h:28
GepJetAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: GepJetAlg.cxx:41
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
GepJetAlg::m_caloClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersKey
Definition: GepJetAlg.h:42
JetContainer.h
CaloClusterContainer.h
GepJetAlg::m_jetAlgName
Gaudi::Property< std::string > m_jetAlgName
Definition: GepJetAlg.h:39