|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/MsgStream.h"
34 for( std::vector< Jet_ROI_p1 >::const_iterator
it = persObj->
m_jetROIs.begin();
it != persObj->
m_jetROIs.end(); ++
it ) {
35 Jet_ROI roi(
it->m_roiWord,
it->m_eta,
it->m_phi, (
it->m_roiWord & 0xfff ) );
39 for( std::vector< std::string >::const_iterator it2 =
it->m_thresholdNames.begin(); it2 !=
it->m_thresholdNames.end(); ++it2 ) {
42 for( std::vector< Float_t >::const_iterator it2 =
it->m_thresholdValues.begin(); it2 !=
it->m_thresholdValues.end(); ++it2 ) {
52 for( std::vector< std::string >::const_iterator it2 =
it->m_thresholds.begin(); it2 !=
it->m_thresholds.end(); ++it2 ) {
68 for( std::vector< std::string >::const_iterator it2 =
it->m_thresholdNames.begin(); it2 !=
it->m_thresholdNames.end(); ++it2 ) {
71 for( std::vector< Float_t >::const_iterator it2 =
it->m_thresholdValues.begin(); it2 !=
it->m_thresholdValues.end(); ++it2 ) {
84 unsigned int overflows = 0;
85 if (
conv.energyOverflow(
it->m_roiWord0)) overflows |= 0x1;
86 if (
conv.energyOverflow(
it->m_roiWord1)) overflows |= 0x2;
87 if (
conv.energyOverflow(
it->m_roiWord2)) overflows |= 0x4;
90 ( (
it->m_roiWord1 >> 16 ) & 0xff), ( (
it->m_roiWord2 >> 16 ) & 0xff), ( (
it->m_roiWord0 >> 16 ) & 0xff),
92 for( std::vector< std::string >::const_iterator it2 =
it->m_thresholds.begin(); it2 !=
it->m_thresholds.end(); ++it2 ) {
131 for( std::vector< std::string >::const_iterator it2 =
it->getThresholdNames().begin(); it2 !=
it->getThresholdNames().end(); ++it2 ) {
134 for( std::vector< float >::const_iterator it2 =
it->getThresholdValues().begin(); it2 !=
it->getThresholdValues().end(); ++it2 ) {
145 for( std::vector< std::string >::const_iterator it2 =
it->getThresholds().begin(); it2 !=
it->getThresholds().end(); ++it2 ) {
164 for( std::vector< std::string >::const_iterator it2 =
it->getThresholdNames().begin(); it2 !=
it->getThresholdNames().end(); ++it2 ) {
167 for( std::vector< float >::const_iterator it2 =
it->getThresholdValues().begin(); it2 !=
it->getThresholdValues().end(); ++it2 ) {
183 for( std::vector< std::string >::const_iterator it2 =
it->getThresholds().begin(); it2 !=
it->getThresholds().end(); ++it2 ) {
Persistent representation of LVL1_ROI.
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
std::vector< Float_t > m_thresholdValues
Energy-Sum RoI class for analysis.
void setET4x4(float value)
Set the ET deposited in a 4x4 cluster.
void addJetROI(const jets_type::value_type roi)
Add a jet RoI to the object.
virtual void persToTrans(const LVL1_ROI_p1 *persObj, LVL1_ROI *transObj, MsgStream &log) const override
Persistent representation of Muon_ROI.
void addThresholdName(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
std::vector< EnergySum_ROI_p1 > m_energysumROIs
void addEmTauROI(const emtaus_type::value_type roi)
Add an em/tau RoI to the object.
std::vector< Jet_ROI_p1 > m_jetROIs
Jet RoI class for analysis.
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
void setET6x6(float value)
Set the ET deposited in a 6x6 cluster.
std::vector< Float_t > m_thresholdValues
std::vector< std::string > m_thresholds
Energy-Sum RoI class for analysis.
void addThresholdName(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
void addMuonROI(const muons_type::value_type roi)
Add a muon RoI to the object.
void setCore(float value)
Set the ET deposited in the "RoI core".
void setHadIsol(float value)
Set the hadron calorimeter isolation (outer ring of Had towers)
void setEMIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
Muon RoI class for analysis.
void addJetETROI(const jetets_type::value_type roi)
Add a jet-ET RoI to the object.
Persistent representation of EmTau_ROI.
Persistent representation of Jet_ROI.
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
void addThreshold(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region (2x2 core)
void addEnergySumROI(const energysums_type::value_type roi)
Add an energy sum RoI to the object.
virtual void transToPers(const LVL1_ROI *transObj, LVL1_ROI_p1 *persObj, MsgStream &log) const override
std::vector< Muon_ROI_p1 > m_muonROIs
void setTauClus(float value)
Set the deposited ET in the "tau cluster".
const jetets_type & getJetEtROIs() const
Get all the jet-ET RoIs in the event.
Top level AOD object storing LVL1 RoIs.
std::vector< std::string > m_thresholdNames
void addThresholdValue(thr_value_type::value_type thr)
Add the value of a threshold that this RoI passed.
const energysums_type & getEnergySumROIs() const
Get all the energy sum RoIs in the event.
void addThresholdValue(thr_value_type::value_type thr)
Add the value of a threshold that this RoI passed.
void setEMClus(float value)
Set the deposited ET in the "EM cluster".
std::vector< std::string > m_thresholdNames
std::vector< EmTau_ROI_p1 > m_emtauROIs
void clear()
Clear all the RoIs from the object.
Em/Tau RoI class for analysis.
void addThreshold(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
Persistent representation of EnergySum_ROI.
void setET8x8(float value)
Set the ET deposited in an 8x8 cluster.
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
std::vector< JetET_ROI_p1 > m_jetetROIs
std::vector< std::string > m_thresholds
Persistent representation of JetET_ROI.