|
ATLAS Offline Software
|
Go to the documentation of this file.
18 const std::string&
name,
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;
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
void setEmIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
void setEmClus(float value)
Set the deposited ET from the "EM cluster".
Class describing a LVL1 em/tau region of interest.
::StatusCode StatusCode
StatusCode definition for legacy code.
void setHadIsol(float value)
Set the hadron calorimeter isolation (outer ring of had towers)
void setTauClus(float value)
Set the deposited ET from the "tau cluster".
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region.
Top level AOD object storing LVL1 RoIs.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
#define ATH_MSG_WARNING(x)
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
void setCore(float value)
Set the ET of the RoI Core cluster (2x2 towers, EM+Had)
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.