ATLAS Offline Software
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 
17 namespace 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 
40  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool to create online histograms"};
41 
42  SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gJet_EDMKey {this, "gFexSRJetRoIKey", "L1_gFexSRJetRoI", "gFEX Jet EDM"};
43  SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gLJet_EDMKey {this, "gFexLRJetRoIKey", "L1_gFexLRJetRoI", "gFEX LJet EDM"};
44 
45  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXEJWOJ_EDMKey {this, "gMETComponentsJwojKey", "L1_gMETComponentsJwoj", "gFEX XEJWOJ EDM"};
46  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gMHT_EDMKey {this,"gMHTComponentsJwojKey", "L1_gMHTComponentsJwoj", "gFEX MHT EDM"};
47  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXENC_EDMKey {this, "gMETComponentsNoiseCutKey", "L1_gMETComponentsNoiseCut", "gFEX XENC EDM"};
48  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gXERHO_EDMKey {this, "gMETComponentsRmsKey", "L1_gMETComponentsRms", "gFEX RHO ROI EDM"};
49 
50  SG::ReadHandleKey<xAOD::gFexGlobalRoIContainer> m_gTE_EDMKey {this, "gScalarEJwojKey", "L1_gScalarEJwoj", "gFEX TE EDM"};
51 
52  // gFex to L1Topo conversion factors
53  static const int m_EtJet_conversion;
54  static const double m_EtGlobal_conversion;
55  static const int m_phi_conversion;
56  static const int m_eta_conversion;
57 
58  static const double m_EtDoubleJet_conversion;
59  static const double m_EtDoubleGlobal_conversion;
60  static const double m_phiDouble_conversion;
61  static const double m_etaDouble_conversion;
62 
63  };
64 }
65 
66 #endif
LVL1::gFexInputProvider::gFexInputProvider
gFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition: gFexInputProvider.cxx:31
LVL1::gFexInputProvider::fillMHT
StatusCode fillMHT(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:216
LVL1::gFexInputProvider
Definition: gFexInputProvider.h:19
LVL1::gFexInputProvider::m_gXERHO_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXERHO_EDMKey
Definition: gFexInputProvider.h:48
gFexGlobalRoIContainer.h
LVL1::gFexInputProvider::m_gJet_EDMKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gJet_EDMKey
Definition: gFexInputProvider.h:42
LVL1::gFexInputProvider::m_EtJet_conversion
static const int m_EtJet_conversion
Definition: gFexInputProvider.h:53
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
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
LVL1::gFexInputProvider::fillTopoInputEvent
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
Definition: gFexInputProvider.cxx:404
LVL1::gFexInputProvider::fillXEJWOJ
StatusCode fillXEJWOJ(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:164
LVL1::gFexInputProvider::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: gFexInputProvider.h:40
LVL1::gFexInputProvider::fillXENC
StatusCode fillXENC(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:268
LVL1::gFexInputProvider::m_gXENC_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXENC_EDMKey
Definition: gFexInputProvider.h:47
gFexJetRoIContainer.h
LVL1::gFexInputProvider::m_gXEJWOJ_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gXEJWOJ_EDMKey
Definition: gFexInputProvider.h:45
LVL1::gFexInputProvider::m_EtDoubleJet_conversion
static const double m_EtDoubleJet_conversion
Definition: gFexInputProvider.h:58
LVL1::gFexInputProvider::m_eta_conversion
static const int m_eta_conversion
Definition: gFexInputProvider.h:56
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::gFexInputProvider::m_gTE_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gTE_EDMKey
Definition: gFexInputProvider.h:50
LVL1::gFexInputProvider::fillSRJet
StatusCode fillSRJet(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:58
LVL1::gFexInputProvider::m_gMHT_EDMKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMHT_EDMKey
Definition: gFexInputProvider.h:46
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
LVL1::gFexInputProvider::fillXERHO
StatusCode fillXERHO(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:317
TrigConf::name
Definition: HLTChainList.h:35
GenericMonitoringTool
Definition: GenericMonitoringTool.py:1
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
LVL1::gFexInputProvider::m_gLJet_EDMKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gLJet_EDMKey
Definition: gFexInputProvider.h:43
LVL1::gFexInputProvider::fillTE
StatusCode fillTE(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:365
LVL1::gFexInputProvider::~gFexInputProvider
virtual ~gFexInputProvider()=default
LVL1::gFexInputProvider::fillLRJet
StatusCode fillLRJet(TCS::TopoInputEvent &inputEvent) const
Definition: gFexInputProvider.cxx:111
LVL1::gFexInputProvider::m_phi_conversion
static const int m_phi_conversion
Definition: gFexInputProvider.h:55
LVL1::gFexInputProvider::m_EtGlobal_conversion
static const double m_EtGlobal_conversion
Definition: gFexInputProvider.h:54
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
LVL1::gFexInputProvider::m_phiDouble_conversion
static const double m_phiDouble_conversion
Definition: gFexInputProvider.h:60
LVL1::gFexInputProvider::m_etaDouble_conversion
static const double m_etaDouble_conversion
Definition: gFexInputProvider.h:61
LVL1::gFexInputProvider::m_EtDoubleGlobal_conversion
static const double m_EtDoubleGlobal_conversion
Definition: gFexInputProvider.h:59
LVL1::gFexInputProvider::initialize
virtual StatusCode initialize() override final
Definition: gFexInputProvider.cxx:40
IInputTOBConverter.h