|
ATLAS Offline Software
|
Go to the documentation of this file.
18 const std::string&
name,
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;
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
::StatusCode StatusCode
StatusCode definition for legacy code.
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
Top level AOD object storing LVL1 RoIs.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Class describing a LVL1 jet region of interest.
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
#define ATH_MSG_WARNING(x)
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.