|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODTRIGGER_VERSIONS_MUONROI_V1_H
8 #define XAODTRIGGER_VERSIONS_MUONROI_V1_H
55 const std::string& thrname,
float thrvalue,
167 #endif // XAODTRIGGER_VERSIONS_MUONROI_V1_H
bool isRun4() const
flag whether it is Run4+ RoI definition
static constexpr float PT_WIDTH
void initialize(uint32_t roiword, float eta, float phi, const std::string &thrname, float thrvalue, uint32_t extraword=0u)
Initialise the object with all its properties.
static constexpr uint32_t ETA_MASK
constants to decode RoI word for Run 4+
int getSectorAddress() const
Get the full sector address.
bool getPhiOverlap() const
Returns whether there's overlap between barrel sectors.
@ Endcap
The muon candidate was detected in the endcap region.
bool getInnerCoincidence() const
Returns whether or not there was an inner coincidence in the TGC.
@ Neg
Candidate is a mu- from a TGC sector.
Base class for elements of a container that can have aux data.
static constexpr uint32_t PHI_SHIFT
Charge getCharge() const
Returns the charge sign of the muon candidate.
float eta() const
The pseudorapidity ( ) of the muon candidate.
float thrValue() const
The highest threshold value (in MeV) passed by the muon candidate.
MuonRoI_v1()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Hemisphere getHemisphere() const
Returns the hemisphere that detected the muon candidate.
void setPhi(float v)
Set the azimuthal angle of the muon candidate.
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the muon candidate.
SG_BASE(xAOD::MuonRoI_v1, SG::AuxElement)
@ u
Enums for curvilinear frames.
const std::string & thrName() const
The name of the highest threshold value passed by the muon candidate.
static constexpr uint32_t PT_MASK
bool isRun3() const
Returns extra flag at end of RoI word indicating that it's in Run3 format.
bool isMoreCandInRoI() const
Returns if there were other muons detected in the same RoI.
bool isVetoed() const
Returns the veto flag for the candidate.
static constexpr uint32_t PT_SHIFT
void setThrName(const std::string &value)
Set the name of the threshold passed by the muon candidate.
Class describing a LVL1 muon region of interest.
static constexpr uint32_t PHI_MASK
RoISource getSource() const
Returns the system that detected the muon candidate.
void setThrValue(float v)
Set the threshold value passed by the muon candidate.
@ Undef
This is an RPC candidate.
int getRoI() const
Get the "RoI number" (position inside the sector)
void setRoIExtraWord(uint32_t value)
Set the second "raw" RoI word, describing extra information of the muon candidate.
@ Barrel
The muon candidate was detected in the barrel region.
@ Negative
The candidate came from the -z side (side C)
float pt() const
the transverse momentum of the muon candidate
RoISource
RoI source enumeration.
bool isMoreCandInSector() const
Returns if there were other muons detected in the same sector.
bool isFirstCandidate() const
Returns if the candidate had the highest pT in the sector.
static constexpr uint32_t ETA_SHIFT
Hemisphere
RoI hemisphere enumeration.
@ Forward
The muon candidate was detected in the forward region.
bool getBW3Coincidence() const
Returns whether or not there was a 3-station coincidence in the TGC.
uint32_t roiExtraWord() const
The second "raw" RoI word describing extra information of the muon candidate.
int getSectorID() const
Get the sector ID number.
int getThrNumber() const
Get the logic number of the highest threshold this RoI passed.
static constexpr uint32_t CHARGE_SHIFT
void setEta(float v)
Set the pseudorapidity of the muon candidate.
@ Pos
Candidate is a mu+ from a TGC sector.
@ Positive
The candidate came from the +z side (side A)
uint32_t roiWord() const
The "raw" RoI word describing the muon candidate.
Base class for elements of a container that can have aux data.
bool getEtaOverlap() const
Returns whether there's overlap between the barrel-EC sectors.
bool getGoodMF() const
Returns whether or not there was a good magnetic field quality in the TGC.
float phi() const
The azimuthal angle ( ) of the muon candidate.