ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoSimulation
src
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
6
#include "
AthenaBaseComps/AthAlgTool.h
"
7
#include "
AthenaMonitoringKernel/Monitored.h
"
8
#include "
L1TopoSimulation/IInputTOBConverter.h
"
9
#include "GaudiKernel/LockedHandle.h"
10
11
//EM/Tau EDMs
12
#include "
xAODTrigger/eFexEMRoIContainer.h
"
13
#include "
xAODTrigger/eFexTauRoIContainer.h
"
14
15
namespace
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
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
AthAlgTool.h
IInputTOBConverter.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
LVL1::eFexInputProvider::fillEM
StatusCode fillEM(TCS::TopoInputEvent &inputEvent) const
Definition
eFexInputProvider.cxx:48
LVL1::eFexInputProvider::initialize
virtual StatusCode initialize() override final
Definition
eFexInputProvider.cxx:38
LVL1::eFexInputProvider::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
eFexInputProvider.h:36
LVL1::eFexInputProvider::m_etaDouble_conversion
static const double m_etaDouble_conversion
Definition
eFexInputProvider.h:44
LVL1::eFexInputProvider::fillTopoInputEvent
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override final
Definition
eFexInputProvider.cxx:177
LVL1::eFexInputProvider::eFexInputProvider
eFexInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition
eFexInputProvider.cxx:27
LVL1::eFexInputProvider::m_EtDouble_conversion
static const double m_EtDouble_conversion
Definition
eFexInputProvider.h:42
LVL1::eFexInputProvider::m_eEM_EDMKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eEM_EDMKey
Definition
eFexInputProvider.h:38
LVL1::eFexInputProvider::CalculateCoordinates
void CalculateCoordinates(int32_t roiWord, double &eta, double &phi) const
calculates eta and phi from roiWord
Definition
eFexInputProvider.cxx:185
LVL1::eFexInputProvider::m_eTau_EDMKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eTau_EDMKey
Definition
eFexInputProvider.h:39
LVL1::eFexInputProvider::~eFexInputProvider
virtual ~eFexInputProvider()
Definition
eFexInputProvider.cxx:34
LVL1::eFexInputProvider::m_phiDouble_conversion
static const double m_phiDouble_conversion
Definition
eFexInputProvider.h:43
LVL1::eFexInputProvider::fillTau
StatusCode fillTau(TCS::TopoInputEvent &inputEvent) const
Definition
eFexInputProvider.cxx:115
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TCS::TopoInputEvent
Definition
TopoInputEvent.h:42
eFexEMRoIContainer.h
eFexTauRoIContainer.h
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
type
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0