8#ifndef ANALYSISTRIGGEREVENT_MUON_ROI_H
9#define ANALYSISTRIGGEREVENT_MUON_ROI_H
39 Muon_ROI( uint32_t roiWord,
double eta,
double phi,
const std::string &thrName,
103 virtual double m()
const {
return 0.0; }
float getThrValue() const
Return the value of the highest threshold this RoI passed.
float m_eta
eta coordinate of RoI
bool isMoreCandInRoI() const
Returns if there were other muons detected in the same RoI.
Hemisphere getHemisphere() const
Returns the hemisphere that detected the muon candidate.
virtual double m() const
Return the mass of the object, always 0.0 for RoIs.
@ Pos
Candidate is a mu+ from a TGC sector.
@ Undef
This is an RPC candidate.
@ Neg
Candidate is a mu- from a TGC sector.
virtual double phi() const
Return the phi coordinate of the center of the RoI.
int getSectorAddress() const
Get the full sector address.
virtual double eta() const
Return the eta coordinate of the center of the RoI.
Muon_ROI(uint32_t roiWord, double eta, double phi, const std::string &thrName, double thrValue)
Constructor used when creating the object from RoIBResult data.
float getEta() const
Legacy function returning the eta coordinate of the RoI.
RoISource getSource() const
Returns the system that detected the muon candidate.
const std::string & getThrName() const
Return the name of the highest threshold this RoI passed.
Muon_ROI()
Default constructor (for persistency purposes)
float m_thrValue
Value of the highest threshold this RoI passed.
std::string m_thrName
Name of the highest threshold this RoI passed.
uint32_t getROIWord() const
Return the original 32-bit RoI word given by the LVL1 muon trigger.
Hemisphere
RoI hemisphere enumeration.
@ Negative
The candidate came from the -z side (side C)
@ Positive
The candidate came from the +z side (side A)
float getPhi() const
Legacy function returning the phi coordinate of the RoI.
virtual ~Muon_ROI()
Destructor.
bool isMoreCandInSector() const
Returns if there were other muons detected in the same sector.
bool isVetoed() const
Returns the veto flag for the candidate.
bool isFirstCandidate() const
Returns if the candidate had the highest pT in the sector.
virtual double pt() const
Return the value of the highest threshold this RoI passed.
float m_phi
phi coordinate of RoI
Charge getCharge() const
Returns the charge sign of the muon candidate.
uint32_t m_roiWord
32bit encoded ROI word
int getRoI() const
Get the "RoI number" (position inside the sector)
int getThrNumber() const
Get the logic number of the highest threshold this RoI passed.
RoISource
RoI source enumeration.
@ Barrel
The muon candidate was detected in the barrel region.
@ Endcap
The muon candidate was detected in the endcap region.
@ Forward
The muon candidate was detected in the forward region.
P4PtEtaPhiMBase is a base class for classes with 4-momentum behavior, for which pt,...