10#ifndef TRIGT1INTERFACES_RECMUONROI_H
11#define TRIGT1INTERFACES_RECMUONROI_H
74 RecMuonRoI(
unsigned int roIWord,
const RecMuonRoiSvc* theRecRPCRoiSvc,
75 const RecMuonRoiSvc* theRecTGCRoiSvc,
76 const std::vector< TrigConf::TriggerThreshold* >* theMuonConfig );
80 const std::vector< TrigConf::TriggerThreshold* >* theMuonConfig );
88 void construct(
unsigned int roIWord,
const RecMuonRoiSvc* theRecRPCRoiSvc,
89 const RecMuonRoiSvc* theRecTGCRoiSvc,
90 const std::vector< TrigConf::TriggerThreshold* >* theMuonConfig );
94 const std::vector< TrigConf::TriggerThreshold* >* theMuonConfig );
151 unsigned int getBitMaskValue(
const unsigned int * uintValue,
const unsigned int mask );
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
unsigned int getOverlap() const
return Overlap in hardware numbering scheme
ChargeSign
Charge sign of the muon candidate.
@ UNDEFINED
Candidate coming from the RPC.
@ NEGATIVE
Negative (mu minus) candidate in the TGC.
@ POSITIVE
Positive (mu plus) candidate in the TGC.
unsigned int m_sysID
the system ID for this RoI (Barrel=0, Endcap=1, Forward=2) extracted from m_roiWord in the constructo...
virtual double eta() const
returns eta coord of ROI
bool candidateVetoed() const
Returns true if the candidate was vetoed in the multiplicity sum.
unsigned int sectorID() const
returns sector ID ROI
unsigned int m_sectorID
the sector number for this RoI extracted from m_roiWord in the constructor
unsigned int m_thresholdNumber
the pt threshold number associated with this RoI - extracted from m_roiWord in the constructor
void construct(unsigned int roIWord, const RecMuonRoiSvc *theRecRPCRoiSvc, const RecMuonRoiSvc *theRecTGCRoiSvc, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
unsigned int m_roiWord
this is the actual format of the data sent from the LVL1 hardware.
unsigned int m_thresholdValue
The value of the threshold in GeV.
virtual double phi() const
returns phi coord of ROI
virtual unsigned int roiWord() const
returns roi word
bool firstCandidate() const
returns true if this was the highest pt candidate in this sector
bool m_firstCandidateFlag
flag indicating if this was the highest pt candidate in this sector - extracted from m_roiWord in the...
unsigned int getThresholdNumber() const
returns the Threshold Number (1 to 6) associated with this RecRoI
bool m_sectorOflFlag
flag indicating if there were more than 2 candidates in this sector - extracted from m_roiWord in the...
unsigned int sysID() const
returns system ID ROI (Barrel=0, Endcap=1, Forward=2)
unsigned int subsysID() const
returns sub-system ID ROI (0=-z,1=+z)
RecMuonRoI(unsigned int roIWord, const RecMuonRoiSvc *theRecRPCRoiSvc, const RecMuonRoiSvc *theRecTGCRoiSvc, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
bool sectorOverflow() const
returns true if there were > 2 candidates in this sector
unsigned int m_roiNumber
the RoI number of this RoI - extracted from m_roiWord in the constructor
bool padOverflow() const
returns true if there were > 1 candidates in this pad
ChargeSign candidateCharge() const
Returns the change sign of the candidate.
unsigned int getThresholdValue() const
returns the Threshold Value (in GeV) associated with this RecRoI
unsigned int m_subSysID
the subSystem ID for this RoI (0=-z,1=+z) extracted from m_roiWord in the constructor
std::string getDebugString()
unsigned int m_overlap
the overlap information for this RoI extracted from m_roiWord in the constructor
bool m_padOflFlag
flag indicating if there was more than 1 candidate in this pad - extracted from m_roiWord in the cons...
unsigned int getRoINumber() const
return RoI number in hardware numbering scheme
unsigned int getBitMaskValue(const unsigned int *uintValue, const unsigned int mask)
a helper function to extract the value corresponding to a bit mask from a 32 bit unsigned int
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
BitMask
Bit masks used to decipher the 32 bit words of a muon candidate.
Forward iterator to traverse the main components of the trigger configuration.