ATLAS Offline Software
Loading...
Searching...
No Matches
gFexInputProvider.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#ifndef L1TOPOSIMULATION_GFEXINPUTPROVIDER_H
6#define L1TOPOSIMULATION_GFEXINPUTPROVIDER_H
7
11#include "GaudiKernel/LockedHandle.h"
12
13// gFEX EDMs
16
17namespace LVL1 {
18
19 class gFexInputProvider : public extends<AthAlgTool, IInputTOBConverter> {
20 public:
21 gFexInputProvider(const std::string& type, const std::string& name, const IInterface* parent);
22
23 virtual ~gFexInputProvider() = default;
24
25 virtual StatusCode initialize() override final;
26 virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent& ) const override final;
27
28 private:
29
30 StatusCode fillSRJet(TCS::TopoInputEvent& inputEvent) const;
31 StatusCode fillLRJet(TCS::TopoInputEvent& inputEvent) const;
32
33 StatusCode fillXEJWOJ(TCS::TopoInputEvent& inputEvent) const;
34 StatusCode fillMHT(TCS::TopoInputEvent& inputEvent) const;
35 StatusCode fillXENC(TCS::TopoInputEvent& inputEvent) const;
36 StatusCode fillXERHO(TCS::TopoInputEvent& inputEvent) const;
37
38 StatusCode fillTE(TCS::TopoInputEvent& inputEvent) const;
39 StatusCode fillGESPRESSO(TCS::TopoInputEvent& inputEvent) const;
40
41 ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool to create online histograms"};
42
43 SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gJet_EDMKey {this, "gFexSRJetRoIKey", "L1_gFexSRJetRoI", "gFEX Jet EDM"};
44 SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gLJet_EDMKey {this, "gFexLRJetRoIKey", "L1_gFexLRJetRoI", "gFEX LJet EDM"};
45
46 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXEJWOJ_EDMKey {this, "gMETComponentsJwojKey", "L1_gMETComponentsJwoj", "gFEX XEJWOJ EDM"};
47 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gMHT_EDMKey {this,"gMHTComponentsJwojKey", "L1_gMHTComponentsJwoj", "gFEX MHT EDM"};
48 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXENC_EDMKey {this, "gMETComponentsNoiseCutKey", "L1_gMETComponentsNoiseCut", "gFEX XENC EDM"};
49 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXERHO_EDMKey {this, "gMETComponentsRmsKey", "L1_gMETComponentsRms", "gFEX RHO ROI EDM"};
50
51 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gTE_EDMKey {this, "gScalarEJwojKey", "L1_gScalarEJwoj", "gFEX TE EDM"};
52 SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gESPRESSO_EDMKey {this, "gEspressoKey", "L1_gEspresso", "gFEX gESPRESSO EDM"}; //TODO: update to actual default key once implemented on gFEX side!
53
54 // gFex to L1Topo conversion factors
55 static const int m_EtJet_conversion;
56 static const double m_EtGlobal_conversion;
57 static const int m_phi_conversion;
58 static const int m_eta_conversion;
59
60 static const double m_EtDoubleJet_conversion;
61 static const double m_EtDoubleGlobal_conversion;
62 static const double m_phiDouble_conversion;
63 static const double m_etaDouble_conversion;
64
65 };
66}
67
68#endif
Header file to be included by clients of the Monitored infrastructure.
static const double m_EtGlobal_conversion
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXERHO_EDMKey
StatusCode fillLRJet(TCS::TopoInputEvent &inputEvent) const
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gTE_EDMKey
static const double m_phiDouble_conversion
static const double m_EtDoubleJet_conversion
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXENC_EDMKey
StatusCode fillXEJWOJ(TCS::TopoInputEvent &inputEvent) const
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
StatusCode fillSRJet(TCS::TopoInputEvent &inputEvent) const
virtual ~gFexInputProvider()=default
static const double m_EtDoubleGlobal_conversion
StatusCode fillGESPRESSO(TCS::TopoInputEvent &inputEvent) const
static const int m_EtJet_conversion
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gESPRESSO_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXEJWOJ_EDMKey
StatusCode fillXENC(TCS::TopoInputEvent &inputEvent) const
static const int m_eta_conversion
StatusCode fillTE(TCS::TopoInputEvent &inputEvent) const
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gJet_EDMKey
static const int m_phi_conversion
static const double m_etaDouble_conversion
StatusCode fillXERHO(TCS::TopoInputEvent &inputEvent) const
StatusCode fillMHT(TCS::TopoInputEvent &inputEvent) const
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMHT_EDMKey
gFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override final
ToolHandle< GenericMonitoringTool > m_monTool
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gLJet_EDMKey
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
#define private