18 const std::string& name,
19 const IInterface* parent )
23 declareInterface< IJetRoICnvTool >(
this );
39 if( !xaod->
empty() ) {
41 << xaod->
size() <<
")" );
45 LVL1_ROI::jets_type::const_iterator aod_itr = aod->
getJetROIs().begin();
46 LVL1_ROI::jets_type::const_iterator aod_end = aod->
getJetROIs().end();
47 for( ; aod_itr != aod_end; ++aod_itr ) {
55 aod_itr->getEta(), aod_itr->getPhi() );
56 roi->
setEt4x4( aod_itr->getET4x4() );
57 roi->
setEt6x6( aod_itr->getET6x6() );
58 roi->
setEt8x8( aod_itr->getET8x8() );
59 for(
size_t i = 0; i < aod_itr->getThresholdNames().size(); ++i ) {
61 aod_itr->getThresholdValues()[ i ] );
66 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 jets_type & getJetROIs() const
Get all the jet RoIs in the event.
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
JetRoIContainer_v2 JetRoIContainer