335 {
336
338
340
341 const TrigConf::L1Menu *
l1menu =
nullptr;
343
344
345 const auto & exMU =
l1menu->thrExtraInfo().MU();
346 auto rpcPtValues = exMU.knownRpcPtValues();
347 auto tgcPtValues = exMU.knownTgcPtValues();
348
350 for (auto muonRoi : *muonROIs) {
351
353
354 }
355
356
358
359 const EventContext& ctx = Gaudi::Hive::currentContext();
361
362 if( latemuonROIs.isValid() ) {
363
364 ATH_MSG_DEBUG(
"Contains L1Topo LateMuons L1Muctpi object from StoreGate!" );
365
366 for(const auto muonRoi : *latemuonROIs) {
368 }
369 }
370 }
371 } else{
372
374
375
376
377 const LVL1::MuCTPIL1Topo* l1topo {nullptr};
378
381 if( l1topoh.isValid() ) l1topo = l1topoh.cptr();
382 }
383
384 if( l1topo ) {
385 ATH_MSG_DEBUG(
"Use MuCTPiToTopo granularity Muon ROIs: retrieve from SG");
386
387 const std::vector<MuCTPIL1TopoCandidate> & candList = l1topo->
getCandidates();
388 for( const MuCTPIL1TopoCandidate & muCand : candList) {
390 if(muCand.moreThan2CandidatesOverflow()){
392 ATH_MSG_DEBUG(
"setOverflowFromMuonInput : true (MuCTPIL1TopoCandidate from SG)");
393 }
394 }
395 } else {
396 ATH_MSG_ERROR(
"Couldn't retrieve L1Topo inputs from StoreGate");
397 return StatusCode::FAILURE;
398 }
399
400
401
404 if( l1topoBC1.isValid() ) {
405 ATH_MSG_DEBUG(
"Contains L1Topo LateMuons L1Muctpi object from StoreGate!" );
406 const std::vector<MuCTPIL1TopoCandidate> & candList = l1topoBC1->getCandidates();
407 for( const MuCTPIL1TopoCandidate& muCand : candList)
408 {
411 }
412 }
413 }
414 }
415 return StatusCode::SUCCESS;
416}
#define ATH_CHECK
Evaluate an expression and check for errors.
const std::vector< MuCTPIL1TopoCandidate > & getCandidates() const
void setOverflowFromMuonInput(bool v)
retrieve(aClass, aKey=None)