12#ifndef TRIGT1CALOSIM_ROIROD_H
13#define TRIGT1CALOSIM_ROIROD_H
21#include "GaudiKernel/ServiceHandle.h"
59 RoIROD(
const std::string&
name, ISvcLocator* pSvcLocator ) ;
68 virtual StatusCode
execute(
const EventContext& ctx)
const override;
69 virtual StatusCode
finalize()
override;
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", {},
"" };
An STL vector of pointers that by default owns its pointed-to elements.
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
std::string m_jepSlinkLocation
SG::ReadHandleKey< t_EnergyRoIContainer > m_energyRoILocation
virtual StatusCode initialize() override
DataVector< LVL1CTP::SlinkWord > t_SlinkContainer
std::unique_ptr< t_SlinkContainer > t_SlinkPtr
SG::WriteHandleKeyArray< t_SlinkContainer > m_jepSlinkKeys
SG::WriteHandleKeyArray< t_SlinkContainer > m_emTauSlinkKeys
RoIROD(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< t_jemTobRoIContainer > m_JetRoILocation
virtual StatusCode finalize() override
CMXRoI t_EnergyRoIContainer
void dumpSlinks(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs]) const
prints out the Slink info.
void addTail(t_SlinkContainer &slink, unsigned int numberOfDataWords) const
add Slink tail
SG::ReadHandleKey< t_cpmTobRoIContainer > m_emTauRoILocation
StatusCode saveSlinkObjects(t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], const EventContext &ctx) const
save Slink Objects to SG
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.
virtual StatusCode execute(const EventContext &ctx) const override
std::unique_ptr< LVL1CTP::SlinkWord > getWord(unsigned int tword) const
creates a new SlinkWord object with the passed word, and returns a pointer.
std::string m_emTauSlinkLocation
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.
DataVector< LVL1::CPMTobRoI > t_cpmTobRoIContainer
void addHeader(t_SlinkContainer &slink, unsigned int subDetID, unsigned int moduleId, const EventContext &ctx) const
adds slink header
DataVector< LVL1::JEMTobRoI > t_jemTobRoIContainer
static const std::string CPMTobRoILocation
static const unsigned int numOfJEPRoIRODs
static const unsigned int numOfCPRoIRODs
static const std::string JEMTobRoILocation
static const std::string CMXRoILocation
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray