40using namespace TrigConf;
47 (
const std::string&
name, ISvcLocator* pSvcLocator )
51 m_JetTool(
"LVL1::L1JEMJetTools/L1JEMJetTools")
66 return StatusCode::SUCCESS ;
103 if (storedJEs->
size() == 0)
107 std::map<int, JetInput*>* inputMap =
new std::map<int, JetInput*> ;
108 m_JetTool->mapJetInputs(storedJEs, inputMap);
111 for (
int iCrate = 0; iCrate < 2; ++iCrate) {
112 for (
int iModule = 0; iModule < 16; ++iModule) {
115 std::vector<unsigned int> jetCMXData;
125 for (std::map<int, JetInput*>::iterator it = inputMap->begin(); it != inputMap->end(); ++it) {
145 return StatusCode::SUCCESS;
158 if (
sc.isSuccess()) {
180 if (
sc.isSuccess()) {
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
size_type size() const noexcept
Returns the number of elements in the collection.
SG::ReadHandleKey< xAOD::JetElementContainer > m_JetElementInputKey
Where to find the JetElements.
SG::WriteHandleKey< DataVector< JEMTobRoI > > m_JEMTobRoIOutputKey
Locations of outputs in StoreGate.
StatusCode execute(const EventContext &ctx)
Execute method.
void storeBackplaneTOBs(const EventContext &ctx)
Store module outputs in TES as inputs to CMX simulation.
void storeModuleRoIs(const EventContext &ctx)
Store TOB RoI objects in the TES.
DataVector< JetCMXData > * m_JetCMXData
Backplane data objects: CPM outputs to CMX.
ToolHandle< LVL1::IL1JEMJetTools > m_JetTool
The essentials - data access, configuration, tools.
SG::WriteHandleKey< DataVector< JetCMXData > > m_JetCMXDataOutputKey
DataVector< JEMTobRoI > * m_allTOBs
TOB RoIs for RoIB input and DAQ output simulation.
JEMJetSim(const std::string &name, ISvcLocator *pSvcLocator)
The JetCMXData object contains the data transferred from the CPM to one of the Jet CMX in the crate.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())