18 const std::string& name,
19 const IInterface* parent )
23 declareInterface< IMuonRoICnvTool >(
this );
40 if( !xaod->
empty() ) {
42 << xaod->
size() <<
")" );
46 LVL1_ROI::muons_type::const_iterator aod_itr = aod->
getMuonROIs().begin();
47 LVL1_ROI::muons_type::const_iterator aod_end = aod->
getMuonROIs().end();
48 for( ; aod_itr != aod_end; ++aod_itr ) {
56 aod_itr->getEta(), aod_itr->getPhi(),
57 aod_itr->getThrName(), aod_itr->getThrValue() );
61 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
Top level AOD object storing LVL1 RoIs.
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
void initialize(uint32_t roiword, float eta, float phi, const std::string &thrname, float thrvalue, uint32_t extraword=0u)
Initialise the object with all its properties.
MuonRoIContainer_v1 MuonRoIContainer