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;
155 const EventContext& ctx = Gaudi::Hive::currentContext();
159 if (
sc.isSuccess()) {
178 const EventContext& ctx = Gaudi::Hive::currentContext();
182 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 with parameters:
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.
DataVector< JetCMXData > * m_JetCMXData
Backplane data objects: CPM outputs to CMX.
ToolHandle< LVL1::IL1JEMJetTools > m_JetTool
The essentials - data access, configuration, tools.
void storeBackplaneTOBs()
Store module outputs in TES as inputs to CMX simulation.
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)
void storeModuleRoIs()
Store TOB RoI objects in the TES.
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())