|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef ANALYSISTRIGGERALGS_ROIBRESULTTOXAOD_H
7 #define ANALYSISTRIGGERALGS_ROIBRESULTTOXAOD_H
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "GaudiKernel/ToolHandle.h"
53 virtual bool isClonable()
const override {
return true; }
66 const EventContext& ctx )
const;
69 const EventContext& ctx )
const;
72 const EventContext& ctx )
const;
78 ToolHandle<LVL1::ITrigT1MuonRecRoiTool>
m_recRPCRoiTool {
this,
"RecRpcRoiTool",
"LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool"};
81 this,
"RecTgcRoiTool",
"LVL1::TrigT1TGCRecRoiTool/TrigT1TGCRecRoiTool",
82 "TGC RoI reconstruction service" };
91 this,
"L1CPMTools",
"LVL1::L1CPMTools/L1CPMTools",
92 "Tool for calculation of EmTau trigger sums per RoI" };
95 this,
"L1JEMJetTools",
"LVL1::L1JEMJetTools/L1JEMJetTools",
96 "Tool for calculation of Jet cluster sums per RoI" };
105 this,
"RoIBResultInputKey",
"RoIBResult",
106 "Key for the ROIB::RoIBResult input object" };
111 "Key for the xAOD::CPMTowerContainer input object" };
115 "Key for the xAOD::JetElementContainer input object" };
124 this,
"xAODKeyMuon",
"LVL1MuonRoIs",
125 "Key for the xAOD::MuonRoIContainer output object" };
128 this,
"xAODKeyEmTau",
"LVL1EmTauRoIs",
129 "Key for the xAOD::EmTauRoIContainer output object" };
132 this,
"xAODKeyEsum",
"LVL1EnergySumRoI",
133 "Key for the xAOD::EnergySumRoI output object" };
136 this,
"xAODKeyJetEt",
"LVL1JetEtRoI",
137 "Key for the xAOD::JetEtRoI output object" };
140 this,
"xAODKeyJet",
"LVL1JetRoIs",
141 "Key for the xAOD::JetRoIContainer output object" };
149 this,
"DoCalo",
true,
"Use inputs from the Calo system" };
152 this,
"DoMuon",
true,
"Use inputs from the Muon system" };
156 this,
"EGammaItem", {},
"List of LVL1 items for e/gamma trigger type" };
159 this,
"TauHadItem", {},
"List of LVL1 items for tau trigger type" };
161 Gaudi::Property< std::vector< std::string > >
m_jetItem {
162 this,
"JetItem", {},
"List of LVL1 items for jet trigger type" };
165 this,
"ESumItem", {},
"List of LVL1 items for energy sum trigger type" };
168 this,
"HighMuItem", {},
169 "List of LVL1 items for high pt muon trigger type" };
172 this,
"LowMuItem", {},
173 "List of LVL1 items for low pt muon trigger type" };
179 #endif // ANALYSISTRIGGERALGS_ROIBRESULTTOXAOD_H
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recTGCRoiTool
The TGC RoI reconstruction service.
StatusCode createJetEnergyRoI(const ROIB::RoIBResult &roib, const EventContext &ctx) const
Create the JetEnergy RoI object.
RoIB result to xAOD converter.
Gaudi::Property< std::vector< std::string > > m_tauhadItem
List of LVL1 items for tau trigger type.
SG::ReadHandleKey< xAOD::JetElementContainer > m_jetElementKey
Read key for the xAOD::JetElementContainer object.
Class holding the LVL1 RoIB result build by the RoIBuilder.
SG::ReadHandleKey< xAOD::CPMTowerContainer > m_cpmTowerKey
Read key for the xAOD::CPMTowerContainer object.
StatusCode createMuonRoI(const ROIB::RoIBResult &roib, const EventContext &ctx) const
Create the Muon RoI objects.
Gaudi::Property< bool > m_doCalo
Gaudi::Property< std::vector< std::string > > m_jetItem
List of LVL1 items for jet trigger type.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< LVL1::IL1JEMJetTools > m_jetTool
Tool for calculation of Jet cluster sums per RoI.
virtual bool isClonable() const override
Declare that the algorithm is clonable.
Gaudi::Property< std::vector< std::string > > m_lowmuItem
List of LVL1 items for low pt muon trigger type.
Gaudi::Property< std::vector< std::string > > m_esumItem
List of LVL1 items for energy sum trigger type.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
StatusCode createEmTauRoI(const ROIB::RoIBResult &roib, const EventContext &ctx) const
Create the EmTau RoI objects.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_doMuon
Use inputs from the Muon system.
Gaudi::Property< std::vector< std::string > > m_highmuItem
List of LVL1 items for high pt muon trigger type.
SG::ReadHandleKey< ROIB::RoIBResult > m_roibResultKey
Read key for the ROIB::RoIBResult object.
SG::WriteHandleKey< xAOD::JetEtRoI > m_jetetRoIKey
Write key for the xAOD::JetEtRoI object.
static const std::string CPMTowerLocation
ToolHandle< LVL1::IL1CPMTools > m_emTauTool
Tool for calculation of EmTau trigger sums per RoI.
SG::WriteHandleKey< xAOD::EmTauRoIContainer > m_emtauRoIKey
Write key for the xAOD::EmTauRoIContainer object.
Property holding a SG store/key/clid from which a WriteHandle is made.
static const std::string JetElementLocation
SG::WriteHandleKey< xAOD::EnergySumRoI > m_energysumRoIKey
Write key for the xAOD::EnergySumRoI object.
virtual StatusCode initialize() override
Function initialising the algorithm.
SG::WriteHandleKey< xAOD::MuonRoIContainer > m_muonRoIKey
Write key for the xAOD::MuonRoIContainer object.
SG::WriteHandleKey< xAOD::JetRoIContainer > m_jetRoIKey
Write key for the xAOD::JetRoIContainer object.
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recRPCRoiTool
The RPC RoI reconstruction tool.
Gaudi::Property< std::vector< std::string > > m_egammaItem
List of LVL1 items for e/gamma trigger type.
RoIBResultToxAOD(const std::string &name, ISvcLocator *svcLoc)
Algorithm constructor.