7#ifndef ANALYSISTRIGGEREVENT_EMTAU_ROI_H
8#define ANALYSISTRIGGEREVENT_EMTAU_ROI_H
38 EmTau_ROI( uint32_t roiWord,
float eta,
float phi, uint32_t thrPattern );
94 virtual double pt()
const;
100 virtual double m()
const {
return 0.0; }
void setCore(float value)
Set the ET deposited in the "RoI core".
float getEMIsol() const
Return the EM calorimeter isolation (outer ring of EM towers)
EmTau_ROI()
Default constructor (for persistency purposes)
std::vector< float > thr_value_type
Type storing the values of the passed thresholds.
EmTau_ROI(uint32_t roiWord, float eta, float phi, uint32_t thrPattern)
Constructor used when creating the object from RoIBResult data.
const thr_value_type & getThresholdValues() const
Return the values of the passed thresholds.
void setHadIsol(float value)
Set the hadron calorimeter isolation (outer ring of Had towers)
std::vector< std::string > thresholds_type
Type storing the names of the passed thresholds.
virtual double m() const
Return the mass of the object, always 0.0 for RoIs.
const thresholds_type & getThresholdNames() const
Return the names of the passed threshodlds.
uint32_t m_roiWord
32bit encoded ROI word
float getTauClus() const
Return the deposited ET from the "tau cluster".
float m_eta
eta coordinate of RoI
thresholds_type m_thresholdNames
Names of the passed thresholds.
uint32_t getThrPattern() const
Return the bit-pattern describing the passed thresholds.
void addThresholdName(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
virtual ~EmTau_ROI()
Destructor.
virtual double pt() const
Return the pT of the highest threshold passed.
void addThresholdValue(thr_value_type::value_type thr)
Add the value of a threshold that this RoI passed.
float getPhi() const
Legacy function returning the phi coordinate of the RoI.
void setEMIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
float m_Core
ET of RoI core cluster (used to select window)
void setTauClus(float value)
Set the deposited ET in the "tau cluster".
float m_TauClus
Deposited ET in the "tau cluster".
void setEMClus(float value)
Set the deposited ET in the "EM cluster".
uint32_t getROIWord() const
Return the RoI word produced by the L1Calo hardware.
float m_EMClus
Deposited ET in the "EM cluster".
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region (2x2 core)
float getEMClus() const
Return the deposited ET from the "EM cluster".
float getHadCore() const
Return the ET deposited in the inner hadronic isolation region (2x2 core)
float getCore() const
Return the ET of the RoI Core cluster (2x2 towers, EM+Had)
thr_value_type m_thresholdValues
Values of the passed thresholds.
virtual double eta() const
Return the eta coordinate of the center of the RoI.
float getEta() const
Legacy function returning the eta coordinate of the RoI.
float m_EMIsol
EM calorimeter isolation.
float getHadIsol() const
Return the hadron calorimeter isolation (outer ring of had towers)
float m_HadCore
ET of inner hadronic isolation sum.
virtual double phi() const
Return the phi coordinate of the center of the RoI.
uint32_t m_thrPattern
threshold bit pattern
float m_HadIsol
Outer Hadron calorimeter isolation.
float m_phi
phi coordinate of RoI
P4PtEtaPhiMBase is a base class for classes with 4-momentum behavior, for which pt,...