ATLAS Offline Software
Loading...
Searching...
No Matches
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
24namespace 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
Header file to be included by clients of the Monitored infrastructure.
static const double m_gXE_conversion
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXEJWOJ_EDMKey
StatusCode fillEM(TCS::TopoInputEvent &inputEvent) const
static const double m_sumEt_conversion
static const double m_phiDouble_conversion
SG::ReadHandleKey< xAOD::jFexSumETRoIContainer > m_jTE_EDMKey
StatusCode fillTau(TCS::TopoInputEvent &inputEvent) const
SG::ReadHandleKey< xAOD::jFexFwdElRoIContainer > m_jEM_EDMKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jJet_EDMKey
StatusCode fillXE(TCS::TopoInputEvent &inputEvent) const
virtual StatusCode initialize() override final
SG::ReadHandleKey< xAOD::jFexMETRoIContainer > m_jXE_EDMKey
static const int m_Et_conversion
jFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
static const double m_sumEtDouble_conversion
static const double m_etaDouble_conversion
StatusCode fillLRJet(TCS::TopoInputEvent &inputEvent) const
StatusCode fillSRJet(TCS::TopoInputEvent &inputEvent) const
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
SG::ReadHandleKey< xAOD::jFexLRJetRoIContainer > m_jLJet_EDMKey
ToolHandle< GenericMonitoringTool > m_monTool
StatusCode fillTE(TCS::TopoInputEvent &inputEvent) const
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_jTau_EDMKey
static const double m_EtDouble_conversion
static const int m_phi_conversion
static const int m_eta_conversion
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...