ATLAS Offline Software
Loading...
Searching...
No Matches
eFexInputProvider.h
Go to the documentation of this file.
1// Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3#ifndef L1TOPOSIMULATION_EFEXINPUTPROVIDER_H
4#define L1TOPOSIMULATION_EFEXINPUTPROVIDER_H
5
9#include "GaudiKernel/LockedHandle.h"
10
11//EM/Tau EDMs
14
15namespace LVL1 {
16
17 class eFexInputProvider : public extends<AthAlgTool, IInputTOBConverter> {
18 public:
19 eFexInputProvider(const std::string& type, const std::string& name,
20 const IInterface* parent);
21
22 virtual ~eFexInputProvider();
23
24 virtual StatusCode initialize() override final;
25
26 virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent& ) const override final;
27
28 private:
29
31 void CalculateCoordinates(int32_t roiWord, double & eta, double & phi) const;
32
33 StatusCode fillEM(TCS::TopoInputEvent& inputEvent) const;
34 StatusCode fillTau(TCS::TopoInputEvent& inputEvent) const;
35
36 ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool to create online histograms"};
37
38 SG::ReadHandleKey<xAOD::eFexEMRoIContainer> m_eEM_EDMKey {this, "eFexEMRoIKey", "L1_eEMRoI", "eFEXEM EDM"};
39 SG::ReadHandleKey<xAOD::eFexTauRoIContainer> m_eTau_EDMKey {this, "eFexTauRoIKey", "L1_eTauRoI", "eFEXTau EDM"};
40
41 // eFex to L1Topo conversion factors
42 static const double m_EtDouble_conversion;
43 static const double m_phiDouble_conversion;
44 static const double m_etaDouble_conversion;
45
46 };
47}
48
49#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Header file to be included by clients of the Monitored infrastructure.
StatusCode fillEM(TCS::TopoInputEvent &inputEvent) const
virtual StatusCode initialize() override final
ToolHandle< GenericMonitoringTool > m_monTool
static const double m_etaDouble_conversion
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
eFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
static const double m_EtDouble_conversion
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eEM_EDMKey
void CalculateCoordinates(int32_t roiWord, double &eta, double &phi) const
calculates eta and phi from roiWord
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eTau_EDMKey
static const double m_phiDouble_conversion
StatusCode fillTau(TCS::TopoInputEvent &inputEvent) const
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...