|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TRIGT1CALOSIM_ROIROD_H
13 #define TRIGT1CALOSIM_ROIROD_H
21 #include "GaudiKernel/ServiceHandle.h"
54 typedef std::unique_ptr<t_SlinkContainer>
t_SlinkPtr;
59 RoIROD(
const std::string&
name, ISvcLocator* pSvcLocator ) ;
74 unsigned int subDetID,
75 unsigned int moduleId,
76 const EventContext& ctx)
const;
79 unsigned int numberOfDataWords)
const;
83 const EventContext& ctx)
const;
87 const EventContext& ctx)
const;
92 std::unique_ptr<LVL1CTP::SlinkWord>
getWord(
unsigned int tword)
const;
107 {
this,
"EmTauSlinkKeys", {},
"" };
111 {
this,
"JEPSlinkKeys", {},
"" };
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< t_EnergyRoIContainer > m_energyRoILocation
std::string m_jepSlinkLocation
SG::WriteHandleKeyArray< t_SlinkContainer > m_jepSlinkKeys
void addTail(t_SlinkContainer &slink, unsigned int numberOfDataWords) const
add Slink tail
CMXRoI t_EnergyRoIContainer
virtual StatusCode initialize() override
static const std::string CMXRoILocation
static const std::string JEMTobRoILocation
static const unsigned int numOfJEPRoIRODs
RoIROD(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
void addHeader(t_SlinkContainer &slink, unsigned int subDetID, unsigned int moduleId, const EventContext &ctx) const
adds slink header
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
An algorithm that can be simultaneously executed in multiple threads.
void dumpSlinks(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs]) const
prints out the Slink info.
virtual StatusCode execute(const EventContext &ctx) const override
DataVector< LVL1CTP::SlinkWord > t_SlinkContainer
DataVector< LVL1::JEMTobRoI > t_jemTobRoIContainer
CMXRoI_v1 CMXRoI
Define the latest version of the CMXRoI class.
StatusCode saveSlinkObjects(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], const EventContext &ctx) const
save Slink Objects to SG
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< t_cpmTobRoIContainer > m_emTauRoILocation
std::unique_ptr< t_SlinkContainer > t_SlinkPtr
std::unique_ptr< LVL1CTP::SlinkWord > getWord(unsigned int tword) const
creates a new SlinkWord object with the passed word, and returns a pointer.
virtual StatusCode finalize() override
std::string m_emTauSlinkLocation
DataVector< LVL1::CPMTobRoI > t_cpmTobRoIContainer
SG::ReadHandleKey< t_jemTobRoIContainer > m_JetRoILocation
void formSlinkObjects(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], const EventContext &ctx) const
get ROIwords and form Slink words from them, adding header and tail.
An STL vector of pointers that by default owns its pointed-to elements.
static const std::string CPMTobRoILocation
static const unsigned int numOfCPRoIRODs
SG::WriteHandleKeyArray< t_SlinkContainer > m_emTauSlinkKeys
void assignVectors(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs]) const
Create the object vectors to be stored in SG and clear mult vectors.