ATLAS Offline Software
RoIBuilder.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 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 
21 
23 
25 namespace ROIB {
26 
37  class RoIBuilder : public AthAlgorithm {
38 
39  public:
40  RoIBuilder( const std::string& name, ISvcLocator* pSvcLocator ) ;
41 
42  virtual StatusCode initialize() override;
43  virtual StatusCode execute() 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:
51  LVL1CTP::DEFAULT_CTPSLinkLocation, "StoreGate location of CTP RoI"};
52 
54 
55  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{ this, "EventInfoKey", "EventInfo", "Event info object "};
56 
62  "StoreGate location of EmTau inputs" };
63 
67  "StoreGate location of JetEnergy inputs" };
68 
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
ROIB::RoIBuilder::initialize
virtual StatusCode initialize() override
Definition: RoIBuilder.cxx:44
ROIB::RoIBuilder::SlinkWordDV
DataVector< LVL1CTP::SlinkWord > SlinkWordDV
Definition: RoIBuilder.h:53
ROIB::RoIBuilder::RoIBuilder
RoIBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: RoIBuilder.cxx:34
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
RoIBResult.h
ROIB::RoIBuilder::m_doMuon
Gaudi::Property< bool > m_doMuon
Definition: RoIBuilder.h:47
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
SG::ReadHandleKey< LVL1CTP::CTPSLink >
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ROIB::RoIBuilder::execute
virtual StatusCode execute() override
Definition: RoIBuilder.cxx:86
TrigT1StoreGateKeys.h
ROIB::RoIBuilder::m_caloEMTauLocation
SG::ReadHandleKeyArray< SlinkWordDV > m_caloEMTauLocation
Definition: RoIBuilder.h:57
ROIB::RoIBuilder::m_roibRDOLocation
SG::WriteHandleKey< RoIBResult > m_roibRDOLocation
Definition: RoIBuilder.h:73
AthAlgorithm.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
static const std::string EmTauSlinkLocation
Definition: TrigT1CaloDefs.h:82
ROIB::RoIBuilder
RoIBuilder simulation algorithm.
Definition: RoIBuilder.h:37
LVL1::TrigT1CaloDefs::jepSlinkLocation
static const std::string jepSlinkLocation
Definition: TrigT1CaloDefs.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SlinkWord.h
ROIB::RoIBuilder::m_muctpiSLinkLocation
SG::ReadHandleKey< L1MUINT::MuCTPIToRoIBSLink > m_muctpiSLinkLocation
Definition: RoIBuilder.h:69
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ROIB::RoIBuilder::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: RoIBuilder.h:55
TrigT1CaloDefs.h
EventInfo.h
ROIB::RoIBuilder::m_doCalo
Gaudi::Property< bool > m_doCalo
Definition: RoIBuilder.h:46
TrigT1Interfaces_ClassDEF.h