7#ifndef ANALYSISTRIGGEREVENT_JET_ROI_H
8#define ANALYSISTRIGGEREVENT_JET_ROI_H
34 Jet_ROI( uint32_t roiWord,
float eta,
float phi, uint32_t thrPattern );
78 virtual double pt()
const;
84 virtual double m()
const {
return 0.0; }
void addThresholdName(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
float getEta() const
Legacy function returning the eta coordinate of the RoI.
float getET6x6() const
Return the ET deposited in a 6x6 cluster.
Jet_ROI(uint32_t roiWord, float eta, float phi, uint32_t thrPattern)
Constructor used when creating the object from RoIBResult data.
void setET6x6(float value)
Set the ET deposited in a 6x6 cluster.
float m_phi
phi coordinate of RoI
void setET4x4(float value)
Set the ET deposited in a 4x4 cluster.
uint32_t getROIWord() const
Return the RoI word produced by the L1Calo hardware.
void setET8x8(float value)
Set the ET deposited in an 8x8 cluster.
virtual double eta() const
Return the eta coordinate of the center of the RoI.
const thresholds_type & getThresholdNames() const
Return the names of the passed threshodlds.
std::vector< std::string > thresholds_type
Type storing the names of the passed thresholds.
virtual double phi() const
Return the phi coordinate of the center of the RoI.
uint32_t m_thrPattern
threshold bit pattern
float getET4x4() const
Return the ET deposited in a 4x4 cluster.
virtual ~Jet_ROI()
Destructor.
virtual double m() const
Return the mass of the object, always 0.0 for RoIs.
Jet_ROI()
Default constructor (for persistency purposes)
thresholds_type m_thresholdNames
Names of the passed thresholds.
float m_eta
eta coordinate of RoI
float m_ET8x8
ET sum in an 8x8 cluster.
float m_ET6x6
ET sum in a 6x6 cluster.
float m_ET4x4
ET sum in a 4x4 cluster.
virtual double pt() const
Return the pT of the highest threshold passed.
std::vector< float > thr_value_type
Type storing the values of the passed thresholds.
float getPhi() const
Legacy function returning the phi coordinate of the RoI.
uint32_t getThrPattern() const
Return the bit-pattern describing the passed thresholds.
uint32_t m_roiWord
32bit encoded ROI word
float getET8x8() const
Return the ET deposited in an 8x8 cluster.
thr_value_type m_thresholdValues
Values of the passed thresholds.
void addThresholdValue(thr_value_type::value_type thr)
Add the value of a threshold that this RoI passed.
const thr_value_type & getThresholdValues() const
Return the values of the passed thresholds.
P4PtEtaPhiMBase is a base class for classes with 4-momentum behavior, for which pt,...