ATLAS Offline Software
jFexInputProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef L1TOPOSIMULATION_JFEXINPUTPROVIDER_H
7 #define L1TOPOSIMULATION_JFEXINPUTPROVIDER_H
8 
12 #include "GaudiKernel/LockedHandle.h"
13 
14 // jFEX EDMs
21 // gFEX EDMs for combinedMET (cXE)
23 
24 namespace LVL1 {
25 
26  class jFexInputProvider : public extends<AthAlgTool, IInputTOBConverter> {
27  public:
28  jFexInputProvider(const std::string& type, const std::string& name,
29  const IInterface* parent);
30 
31  virtual ~jFexInputProvider();
32 
33  virtual StatusCode initialize() override final;
34  virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent& ) const override final;
35 
36  private:
37  StatusCode fillSRJet(TCS::TopoInputEvent& inputEvent) const;
38  StatusCode fillLRJet(TCS::TopoInputEvent& inputEvent) const;
39 
40  StatusCode fillEM(TCS::TopoInputEvent& inputEvent) const;
41  StatusCode fillTau(TCS::TopoInputEvent& inputEvent) const;
42 
43  StatusCode fillXE(TCS::TopoInputEvent& inputEvent) const;
44  StatusCode fillTE(TCS::TopoInputEvent& inputEvent) const;
45 
46  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool to create online histograms"};
47 
48  SG::ReadHandleKey<xAOD::jFexSRJetRoIContainer> m_jJet_EDMKey {this, "jFexSRJetRoIKey", "L1_jFexSRJetRoI", "jFEX Jet EDM"};
49  SG::ReadHandleKey<xAOD::jFexLRJetRoIContainer> m_jLJet_EDMKey {this, "jFexLRJetRoIKey", "L1_jFexLRJetRoI", "jFEX LJet EDM"};
50  SG::ReadHandleKey<xAOD::jFexFwdElRoIContainer> m_jEM_EDMKey {this, "jFexFwdElRoIKey", "L1_jFexFwdElRoI", "jFEX EM EDM"};
51  SG::ReadHandleKey<xAOD::jFexTauRoIContainer> m_jTau_EDMKey {this, "jFexTauRoIKey", "L1_jFexTauRoI", "jFEX Tau EDM"};
52  SG::ReadHandleKey<xAOD::jFexMETRoIContainer> m_jXE_EDMKey {this, "jFexMETRoIKey", "L1_jFexMETRoI", "jFEX XE EDM"};
53  SG::ReadHandleKey<xAOD::jFexSumETRoIContainer> m_jTE_EDMKey {this, "jFexSumETRoIKey", "L1_jFexSumETRoI", "jFEX TE EDM"};
54  // gFEX XE to build "combined MET" (cXE)
55  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXEJWOJ_EDMKey {this, "gMETComponentsJwojKey", "L1_gMETComponentsJwoj", "gFEX XEJWOJ EDM"};
56 
57  // jFex to L1Topo conversion factors
58  static const int m_Et_conversion;
59  static const double m_sumEt_conversion;
60  static const double m_gXE_conversion;
61  static const int m_phi_conversion;
62  static const int m_eta_conversion;
63 
64  static const double m_EtDouble_conversion;
65  static const double m_sumEtDouble_conversion;
66  static const double m_phiDouble_conversion;
67  static const double m_etaDouble_conversion;
68 
69  };
70 }
71 
72 #endif
LVL1::jFexInputProvider::m_etaDouble_conversion
static const double m_etaDouble_conversion
Definition: jFexInputProvider.h:67
LVL1::jFexInputProvider::fillTE
StatusCode fillTE(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:414
LVL1::jFexInputProvider::~jFexInputProvider
virtual ~jFexInputProvider()
Definition: jFexInputProvider.cxx:40
jFexFwdElRoIContainer.h
LVL1::jFexInputProvider::fillLRJet
StatusCode fillLRJet(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:179
LVL1::jFexInputProvider::m_jEM_EDMKey
SG::ReadHandleKey< xAOD::jFexFwdElRoIContainer > m_jEM_EDMKey
Definition: jFexInputProvider.h:50
jFexSumETRoIContainer.h
LVL1::jFexInputProvider::m_Et_conversion
static const int m_Et_conversion
Definition: jFexInputProvider.h:58
LVL1::jFexInputProvider
Definition: jFexInputProvider.h:26
gFexGlobalRoIContainer.h
LVL1::jFexInputProvider::m_jTE_EDMKey
SG::ReadHandleKey< xAOD::jFexSumETRoIContainer > m_jTE_EDMKey
Definition: jFexInputProvider.h:53
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
jFexTauRoIContainer.h
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
LVL1::jFexInputProvider::m_gXEJWOJ_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXEJWOJ_EDMKey
Definition: jFexInputProvider.h:55
LVL1::jFexInputProvider::fillTopoInputEvent
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
Definition: jFexInputProvider.cxx:545
jFexLRJetRoIContainer.h
LVL1::jFexInputProvider::m_eta_conversion
static const int m_eta_conversion
Definition: jFexInputProvider.h:62
LVL1::jFexInputProvider::fillEM
StatusCode fillEM(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:64
jFexSRJetRoIContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::jFexInputProvider::m_sumEtDouble_conversion
static const double m_sumEtDouble_conversion
Definition: jFexInputProvider.h:65
TCS::TopoInputEvent
Definition: TopoInputEvent.h:42
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::jFexInputProvider::m_jLJet_EDMKey
SG::ReadHandleKey< xAOD::jFexLRJetRoIContainer > m_jLJet_EDMKey
Definition: jFexInputProvider.h:49
LVL1::jFexInputProvider::m_phi_conversion
static const int m_phi_conversion
Definition: jFexInputProvider.h:61
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigConf::name
Definition: HLTChainList.h:35
LVL1::jFexInputProvider::m_jTau_EDMKey
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_jTau_EDMKey
Definition: jFexInputProvider.h:51
LVL1::jFexInputProvider::m_jJet_EDMKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jJet_EDMKey
Definition: jFexInputProvider.h:48
LVL1::jFexInputProvider::fillSRJet
StatusCode fillSRJet(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:226
LVL1::jFexInputProvider::jFexInputProvider
jFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition: jFexInputProvider.cxx:33
LVL1::jFexInputProvider::m_jXE_EDMKey
SG::ReadHandleKey< xAOD::jFexMETRoIContainer > m_jXE_EDMKey
Definition: jFexInputProvider.h:52
LVL1::jFexInputProvider::m_phiDouble_conversion
static const double m_phiDouble_conversion
Definition: jFexInputProvider.h:66
LVL1::jFexInputProvider::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: jFexInputProvider.h:46
LVL1::jFexInputProvider::m_sumEt_conversion
static const double m_sumEt_conversion
Definition: jFexInputProvider.h:59
LVL1::jFexInputProvider::fillTau
StatusCode fillTau(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:126
LVL1::jFexInputProvider::initialize
virtual StatusCode initialize() override final
Definition: jFexInputProvider.cxx:44
LVL1::jFexInputProvider::m_gXE_conversion
static const double m_gXE_conversion
Definition: jFexInputProvider.h:60
LVL1::jFexInputProvider::m_EtDouble_conversion
static const double m_EtDouble_conversion
Definition: jFexInputProvider.h:64
jFexMETRoIContainer.h
IInputTOBConverter.h
LVL1::jFexInputProvider::fillXE
StatusCode fillXE(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:274