ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace ROIB {
17
39 class MuCTPIRoI {
40
41 public:
43 MuCTPIRoI( uint32_t );
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;
58 uint16_t getSectorOverflow() const;
60 uint16_t getRoiOverflow() const;
62 uint16_t getRoiNumber() const;
64 uint16_t getOverlapBits() const;
68 uint16_t getSectorID() const;
70 uint16_t getCandidateIsHighestPt() const;
71
73 static const uint32_t ROI_CAND_SECTOR_ADDRESS_SHIFT = 14;
75 static const uint32_t ROI_CAND_HIGHEST_PT_SHIFT = 22;
76
77 private:
79 uint32_t m_roIWord;
80
81 }; // class MuCTPIRoI
82
83} // namespace ROIB
84
85#endif // TRIGT1RESULT_MUCTPIROI_H
SectorLocation
Enumeration defining the different sources for the muon candidates.
Definition MuCTPI_RDO.h:45
static const uint32_t ROI_CAND_SECTOR_ADDRESS_SHIFT
Position of the sector address in the RoI word.
Definition MuCTPIRoI.h:73
uint16_t getSectorOverflow() const
Method telling whether there were more than two candidates in this candidate's sector.
Definition MuCTPIRoI.cxx:87
uint16_t getSectorID() const
Method returning the number of the trigger sector producing the candidate.
MuCTPI_RDO::SectorLocation getSectorLocation() const
Method returning the name of the system that produced the RoI.
uint16_t getRoiOverflow() const
Method telling whether there were more than one candidates in this candidate's RoI.
uint16_t getHemisphere() const
Method returning the hemisphere of the candidate.
Definition MuCTPIRoI.cxx:76
uint16_t getCandidateIsHighestPt() const
Method telling whether the candidate had the highest pT in the sector.
uint32_t m_roIWord
The RoI word itself.
Definition MuCTPIRoI.h:79
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
uint32_t roIWord() const
Method returning the RoI word.
Definition MuCTPIRoI.cxx:35
MuCTPIRoI(uint32_t)
Constructor with the actual RoI word.
Definition MuCTPIRoI.cxx:20
uint16_t getRoiNumber() const
Method returning the RoI in which the candidate was detected.
unsigned int pt() const
Method returning the pT of the RoI candidate.
Definition MuCTPIRoI.cxx:52
MuCTPIRoI()
Default constructor.
Definition MuCTPIRoI.cxx:27
uint16_t getOverlapBits() const
Method returning the "overlap bits" of the candidate.
unsigned int getSectorAddress() const
Method returning the "electronics address" of the candidate.
Definition MuCTPIRoI.cxx:66
~MuCTPIRoI()=default
Destructor.
Namespace of the LVL1 RoIB simulation.