ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1RoIB
src
RoIBuilder.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TRIGT1ROIB_ROIBUILDER_H
8
#define TRIGT1ROIB_ROIBUILDER_H
9
10
#include <string>
11
12
13
#include "
xAODEventInfo/EventInfo.h
"
14
#include "
TrigT1Interfaces/CTPSLink.h
"
15
#include "
TrigT1Interfaces/TrigT1StoreGateKeys.h
"
16
#include "
TrigT1Interfaces/TrigT1Interfaces_ClassDEF.h
"
17
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
18
#include "
TrigT1Interfaces/MuCTPIToRoIBSLink.h
"
19
#include "
TrigT1Interfaces/SlinkWord.h
"
20
#include "
TrigT1Result/RoIBResult.h
"
21
22
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
23
25
namespace
ROIB
{
26
37
class
RoIBuilder
:
public
AthReentrantAlgorithm
{
38
39
public
:
40
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
41
42
virtual
StatusCode
initialize
()
override
;
43
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
44
45
private
:
46
Gaudi::Property<bool>
m_doCalo
{
this
,
"DoCalo"
,
true
,
"Use inputs from Calo system"
};
47
Gaudi::Property<bool>
m_doMuon
{
this
,
"DoMuon"
,
true
,
"Use inputs from Muon system"
};
48
49
// String members containing locations of objects in SG:
50
SG::ReadHandleKey<LVL1CTP::CTPSLink>
m_ctpSLinkLocation
{
this
,
"CTPSLinkLocation"
,
51
LVL1CTP::DEFAULT_CTPSLinkLocation
,
"StoreGate location of CTP RoI"
};
52
53
typedef
DataVector< LVL1CTP::SlinkWord>
SlinkWordDV
;
54
55
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
"Event info object "
};
56
57
SG::ReadHandleKeyArray< SlinkWordDV >
m_caloEMTauLocation
{
this
,
"CaloEMTauLocation"
,
58
{
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
+
"0"
,
59
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
+
"1"
,
60
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
+
"2"
,
61
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
+
"3"
},
62
"StoreGate location of EmTau inputs"
};
63
64
SG::ReadHandleKeyArray< SlinkWordDV >
m_caloJetEnergyLocation
{
this
,
"CaloJetEnergyLocation"
,
65
{
LVL1::TrigT1CaloDefs::jepSlinkLocation
+
"0"
,
66
LVL1::TrigT1CaloDefs::jepSlinkLocation
+
"1"
},
67
"StoreGate location of JetEnergy inputs"
};
68
69
SG::ReadHandleKey<L1MUINT::MuCTPIToRoIBSLink>
m_muctpiSLinkLocation
{
this
,
"MuCTPISLinkLocation"
,
70
LVL1MUCTPI::DEFAULT_MuonRoIBLocation
,
71
"StoreGate location of MuCTPI inputs"
};
72
73
SG::WriteHandleKey<RoIBResult>
m_roibRDOLocation
{
this
,
"RoIBRDOLocation"
,
ROIB::DEFAULT_RoIBRDOLocation
,
"StoreGate location of RoIB RDO"
};
74
75
};
// class RoIBuilder
76
77
}
// namespace ROIB
78
79
#endif
// TRIGT1ROIB_ROIBUILDER_H
AthReentrantAlgorithm.h
CTPSLink.h
MuCTPIToRoIBSLink.h
RoIBResult.h
SlinkWord.h
TrigT1CaloDefs.h
TrigT1Interfaces_ClassDEF.h
TrigT1StoreGateKeys.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
LVL1::TrigT1CaloDefs::jepSlinkLocation
static const std::string jepSlinkLocation
Definition
TrigT1CaloDefs.h:83
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
static const std::string EmTauSlinkLocation
Definition
TrigT1CaloDefs.h:82
ROIB::RoIBuilder
RoIBuilder simulation algorithm.
Definition
RoIBuilder.h:37
ROIB::RoIBuilder::m_doCalo
Gaudi::Property< bool > m_doCalo
Definition
RoIBuilder.h:46
ROIB::RoIBuilder::m_caloEMTauLocation
SG::ReadHandleKeyArray< SlinkWordDV > m_caloEMTauLocation
Definition
RoIBuilder.h:57
ROIB::RoIBuilder::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
RoIBuilder.h:55
ROIB::RoIBuilder::m_roibRDOLocation
SG::WriteHandleKey< RoIBResult > m_roibRDOLocation
Definition
RoIBuilder.h:73
ROIB::RoIBuilder::m_doMuon
Gaudi::Property< bool > m_doMuon
Definition
RoIBuilder.h:47
ROIB::RoIBuilder::m_muctpiSLinkLocation
SG::ReadHandleKey< L1MUINT::MuCTPIToRoIBSLink > m_muctpiSLinkLocation
Definition
RoIBuilder.h:69
ROIB::RoIBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
RoIBuilder.cxx:72
ROIB::RoIBuilder::initialize
virtual StatusCode initialize() override
Definition
RoIBuilder.cxx:30
ROIB::RoIBuilder::SlinkWordDV
DataVector< LVL1CTP::SlinkWord > SlinkWordDV
Definition
RoIBuilder.h:53
ROIB::RoIBuilder::m_caloJetEnergyLocation
SG::ReadHandleKeyArray< SlinkWordDV > m_caloJetEnergyLocation
Definition
RoIBuilder.h:64
ROIB::RoIBuilder::m_ctpSLinkLocation
SG::ReadHandleKey< LVL1CTP::CTPSLink > m_ctpSLinkLocation
Definition
RoIBuilder.h:50
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
LVL1CTP::DEFAULT_CTPSLinkLocation
static const std::string DEFAULT_CTPSLinkLocation
default StoreGate location for CTPSLink
Definition
TrigT1StoreGateKeys.h:57
LVL1MUCTPI::DEFAULT_MuonRoIBLocation
static const std::string DEFAULT_MuonRoIBLocation
default StoreGate location for MuCTPI to RoIB input
Definition
TrigT1StoreGateKeys.h:18
ROIB
Namespace of the LVL1 RoIB simulation.
Definition
ILvl1ResultAccessTool.h:19
ROIB::DEFAULT_RoIBRDOLocation
static const std::string DEFAULT_RoIBRDOLocation
location of RoIBuilder output in StoreGate
Definition
TrigT1StoreGateKeys.h:81
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0