ATLAS Offline Software
MuCTPIRoI.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGT1RESULT_MUCTPIROI_H
8 #define TRIGT1RESULT_MUCTPIROI_H
9 
10 // System include(s):
11 #include <stdint.h>
12 
13 // Local include(s):
15 
16 namespace ROIB {
17 
39  class MuCTPIRoI {
40 
41  public:
45  MuCTPIRoI();
47  ~MuCTPIRoI()= default;
48 
50  uint32_t roIWord() const;
52  unsigned int pt() const;
54  unsigned int getSectorAddress() const;
56  uint16_t getHemisphere() const;
60  uint16_t getRoiOverflow() const;
62  uint16_t getRoiNumber() const;
64  uint16_t getOverlapBits() const;
68  uint16_t getSectorID() const;
71 
76 
77  private:
80 
81  }; // class MuCTPIRoI
82 
83 } // namespace ROIB
84 
85 #endif // TRIGT1RESULT_MUCTPIROI_H
MuCTPI_RDO::SectorLocation
SectorLocation
Enumeration defining the different sources for the muon candidates.
Definition: MuCTPI_RDO.h:45
ROIB::MuCTPIRoI::getSectorLocation
MuCTPI_RDO::SectorLocation getSectorLocation() const
Method returning the name of the system that produced the RoI.
Definition: MuCTPIRoI.cxx:180
ROIB::MuCTPIRoI::getRoiNumber
uint16_t getRoiNumber() const
Method returning the RoI in which the candidate was detected.
Definition: MuCTPIRoI.cxx:115
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
ROIB::MuCTPIRoI::ROI_CAND_HIGHEST_PT_SHIFT
static const uint32_t ROI_CAND_HIGHEST_PT_SHIFT
Position of the "highest p<sub>T</sub> bit" in the RoI word.
Definition: MuCTPIRoI.h:75
ROIB::MuCTPIRoI
Class for storing the 32-bit muon RoI word.
Definition: MuCTPIRoI.h:39
ROIB::MuCTPIRoI::getRoiOverflow
uint16_t getRoiOverflow() const
Method telling whether there were more than one candidates in this candidate's RoI.
Definition: MuCTPIRoI.cxx:100
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ROIB::MuCTPIRoI::getCandidateIsHighestPt
uint16_t getCandidateIsHighestPt() const
Method telling whether the candidate had the highest pT in the sector.
Definition: MuCTPIRoI.cxx:217
ROIB::MuCTPIRoI::getHemisphere
uint16_t getHemisphere() const
Method returning the hemisphere of the candidate.
Definition: MuCTPIRoI.cxx:76
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
ROIB::MuCTPIRoI::roIWord
uint32_t roIWord() const
Method returning the RoI word.
Definition: MuCTPIRoI.cxx:35
ROIB::MuCTPIRoI::MuCTPIRoI
MuCTPIRoI()
Default constructor.
Definition: MuCTPIRoI.cxx:27
ROIB::MuCTPIRoI::getSectorAddress
unsigned int getSectorAddress() const
Method returning the "electronics address" of the candidate.
Definition: MuCTPIRoI.cxx:66
ROIB::MuCTPIRoI::m_roIWord
uint32_t m_roIWord
The RoI word itself.
Definition: MuCTPIRoI.h:79
ROIB::MuCTPIRoI::pt
unsigned int pt() const
Method returning the pT of the RoI candidate.
Definition: MuCTPIRoI.cxx:52
MuCTPI_RDO.h
ROIB::MuCTPIRoI::getOverlapBits
uint16_t getOverlapBits() const
Method returning the "overlap bits" of the candidate.
Definition: MuCTPIRoI.cxx:153
ROIB::MuCTPIRoI::ROI_CAND_SECTOR_ADDRESS_SHIFT
static const uint32_t ROI_CAND_SECTOR_ADDRESS_SHIFT
Position of the sector address in the RoI word.
Definition: MuCTPIRoI.h:73
ROIB::MuCTPIRoI::getSectorID
uint16_t getSectorID() const
Method returning the number of the trigger sector producing the candidate.
Definition: MuCTPIRoI.cxx:200
ROIB::MuCTPIRoI::~MuCTPIRoI
~MuCTPIRoI()=default
Destructor.
ROIB::MuCTPIRoI::getSectorOverflow
uint16_t getSectorOverflow() const
Method telling whether there were more than two candidates in this candidate's sector.
Definition: MuCTPIRoI.cxx:87