ATLAS Offline Software
Loading...
Searching...
No Matches
MuFastSteering.cxx File Reference

Go to the source code of this file.

Functions

const LVL1::RecMuonRoImatchingRecRoI (uint32_t roiWord, const DataVector< LVL1::RecMuonRoI > &collection)
const xAOD::MuonRoImatchingRecRoI (uint32_t roiWord, const xAOD::MuonRoIContainer &collection)

Function Documentation

◆ matchingRecRoI() [1/2]

const LVL1::RecMuonRoI * matchingRecRoI ( uint32_t roiWord,
const DataVector< LVL1::RecMuonRoI > & collection )

Definition at line 200 of file MuFastSteering.cxx.

202{
203 for ( auto recRoI: collection ) {
204 if ( recRoI->roiWord() == roiWord ){
205 return recRoI;
206 }
207 }
208 return nullptr;
209}

◆ matchingRecRoI() [2/2]

const xAOD::MuonRoI * matchingRecRoI ( uint32_t roiWord,
const xAOD::MuonRoIContainer & collection )

Definition at line 214 of file MuFastSteering.cxx.

216{
217 for ( auto recRoI: collection ) {
218 if ( recRoI->roiWord() == roiWord ){
219 return recRoI;
220 }
221 }
222 return nullptr;
223}