18 const std::string& name,
19 const IInterface* parent )
23 declareInterface< IEmTauRoICnvTool >(
this );
40 if( !xaod->
empty() ) {
42 << xaod->
size() <<
")" );
46 LVL1_ROI::emtaus_type::const_iterator aod_itr = aod->
getEmTauROIs().begin();
47 LVL1_ROI::emtaus_type::const_iterator aod_end = aod->
getEmTauROIs().end();
48 for( ; aod_itr != aod_end; ++aod_itr ) {
56 aod_itr->getEta(), aod_itr->getPhi() );
57 roi->
setCore( aod_itr->getCore() );
63 for(
size_t i = 0; i < aod_itr->getThresholdNames().size(); ++i ) {
65 aod_itr->getThresholdValues()[ i ] );
70 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 emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
void setTauClus(float value)
Set the deposited ET from the "tau cluster".
void setCore(float value)
Set the ET of the RoI Core cluster (2x2 towers, EM+Had)
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region.
void setEmClus(float value)
Set the deposited ET from the "EM cluster".
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
void setEmIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
void setHadIsol(float value)
Set the hadron calorimeter isolation (outer ring of had towers)
EmTauRoIContainer_v2 EmTauRoIContainer