ATLAS Offline Software
jFexInputProvider.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 
6 #ifndef L1TOPOSIMULATION_JFEXINPUTPROVIDER_H
7 #define L1TOPOSIMULATION_JFEXINPUTPROVIDER_H
8 
12 #include "GaudiKernel/LockedHandle.h"
13 
14 // jFEX EDMs
21 
22 namespace LVL1 {
23 
24  class jFexInputProvider : public extends<AthAlgTool, IInputTOBConverter> {
25  public:
26  jFexInputProvider(const std::string& type, const std::string& name,
27  const IInterface* parent);
28 
29  virtual ~jFexInputProvider();
30 
31  virtual StatusCode initialize() override final;
32  virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent& ) const override final;
33 
34  private:
35  StatusCode fillSRJet(TCS::TopoInputEvent& inputEvent) const;
36  StatusCode fillLRJet(TCS::TopoInputEvent& inputEvent) const;
37 
38  StatusCode fillEM(TCS::TopoInputEvent& inputEvent) const;
39  StatusCode fillTau(TCS::TopoInputEvent& inputEvent) const;
40 
41  StatusCode fillXE(TCS::TopoInputEvent& inputEvent) const;
42  StatusCode fillTE(TCS::TopoInputEvent& inputEvent) const;
43 
44  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool to create online histograms"};
45 
46  StringProperty m_gFEXJetLoc {""};
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 
55  // jFex to L1Topo conversion factors
56  static const int m_Et_conversion;
57  static const double m_sumEt_conversion;
58  static const int m_phi_conversion;
59  static const int m_eta_conversion;
60 
61  static const double m_EtDouble_conversion;
62  static const double m_sumEtDouble_conversion;
63  static const double m_phiDouble_conversion;
64  static const double m_etaDouble_conversion;
65 
66  };
67 }
68 
69 #endif
LVL1::jFexInputProvider::m_etaDouble_conversion
static const double m_etaDouble_conversion
Definition: jFexInputProvider.h:64
LVL1::jFexInputProvider::fillTE
StatusCode fillTE(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:351
LVL1::jFexInputProvider::~jFexInputProvider
virtual ~jFexInputProvider()
Definition: jFexInputProvider.cxx:39
LVL1::jFexInputProvider::m_gFEXJetLoc
StringProperty m_gFEXJetLoc
Definition: jFexInputProvider.h:46
jFexFwdElRoIContainer.h
LVL1::jFexInputProvider::fillLRJet
StatusCode fillLRJet(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:173
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:56
LVL1::jFexInputProvider
Definition: jFexInputProvider.h:24
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
LVL1::jFexInputProvider::fillTopoInputEvent
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
Definition: jFexInputProvider.cxx:460
jFexLRJetRoIContainer.h
LVL1::jFexInputProvider::m_eta_conversion
static const int m_eta_conversion
Definition: jFexInputProvider.h:59
LVL1::jFexInputProvider::fillEM
StatusCode fillEM(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:58
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:62
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:58
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:220
LVL1::jFexInputProvider::jFexInputProvider
jFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition: jFexInputProvider.cxx:32
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:63
LVL1::jFexInputProvider::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: jFexInputProvider.h:44
LVL1::jFexInputProvider::m_sumEt_conversion
static const double m_sumEt_conversion
Definition: jFexInputProvider.h:57
LVL1::jFexInputProvider::fillTau
StatusCode fillTau(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:120
LVL1::jFexInputProvider::initialize
virtual StatusCode initialize() override final
Definition: jFexInputProvider.cxx:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1::jFexInputProvider::m_EtDouble_conversion
static const double m_EtDouble_conversion
Definition: jFexInputProvider.h:61
jFexMETRoIContainer.h
IInputTOBConverter.h
LVL1::jFexInputProvider::fillXE
StatusCode fillXE(TCS::TopoInputEvent &inputEvent) const
Definition: jFexInputProvider.cxx:268