|
ATLAS Offline Software
|
Go to the documentation of this file.
23 ISvcLocator* pSvcLocator )
53 std::vector< ROIB::MuCTPIRoI > roi_vector;
61 std::vector< uint32_t >::const_iterator dword_itr = muctpi_rdo->
dataWord().begin();
62 std::vector< uint32_t >::const_iterator dword_end = muctpi_rdo->
dataWord().end();
63 for( ; dword_itr != dword_end; ++dword_itr ) {
71 ATH_MSG_VERBOSE(
" - Processed data word: 0x" << std::hex << std::setw( 8 )
72 << std::setfill(
'0' ) << *dword_itr );
80 std::move(roi_vector) );
88 std::vector< ROIB::EMTauResult >(roibresult->
eMTauResult()) );
93 return StatusCode::SUCCESS;
102 return ( ( multi_word >> 18 ) & 0x7 );
111 return ( ( ( data_word & 0x8000000 ) >> 4 ) | ( ( data_word & 0x3fe0000 ) >> 3 ) |
112 ( data_word & 0x3fff ) );
121 return ( ( data_word >> 14 ) & 0x7 );
131 return ( ( data_word >> 26 ) & 0
x1 );
def retrieve(aClass, aKey=None)
virtual StatusCode execute() override
Regular algorithm execure function.
std::string m_roibInputKey
Key of the old (incorrect) RoIBResult object.
std::string m_muctpiInputKey
Key of the MuCTPI_RDO object.
static uint32_t toRoIWord(uint32_t data_word)
Transform a data word into an RoI word.
static bool roiAccepted(uint32_t data_word)
Extract whether the candidate was accepted to be sent to LVL2.
Class holding the LVL1 RoIB result build by the RoIBuilder.
const std::vector< JetEnergyResult > & jetEnergyResult() const
Gets the jet/energy part of the L1 RDO.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::string m_roibOutputKey
Key of the new (correct) RoIBResult object.
const std::vector< EMTauResult > & eMTauResult() const
Gets the egamma part of the L1 RDO.
const Header & header() const
Member function returning the header.
Class for storing the 32-bit muon RoI word.
Class holding the LVL1 CTP result used by the RoIBuilder.
#define ATH_MSG_VERBOSE(x)
static uint32_t roiBCID(uint32_t data_word)
Extract the BCID stored in the data word.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
uint32_t candidateMultiplicity() const
Function returning the candidate multiplicity for the triggered bunch crossing.
static uint32_t multiplicityBCID(uint32_t multi_word)
Extract the BCID stored in the multiplicity word.
const Trailer & trailer() const
Member function returning the trailer.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
Class holding the RoIs from the MuCTPI collected by the RoIB.
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
Helpers for checking error return status codes and reporting errors.
ROIB::Trailer models the LVL1 ROD Trailer.
setEventNumber setTimeStamp bcid
Class representing the readout data of the MuCTPI hardware and simulation.
const MuCTPIResult & muCTPIResult() const
Gets the MuCTPI part of the L1 RDO.
MuCTPI_RDOToRoIBResult(const std::string &name, ISvcLocator *pSvcLocator)
Regular algorithm constructor.
const std::vector< uint32_t > & dataWord() const
Function returning the muon candidate data words.