![]() |
ATLAS Offline Software
|
Custom private object to hold information about the stored reconstructed RoIs. More...
#include <MuCTPI_RIO.h>
Public Member Functions | |
| MyRoI (const uint16_t bcId, const uint16_t pTVal, const uint16_t pTNum, const double eta, const double phi, const uint16_t secID, const uint16_t sysId, const uint16_t hemisphere, const uint16_t roiNum, const bool accepted, const bool first, const bool duplicatedRoI, const bool duplicatedSector) | |
| Constructor. More... | |
| ~MyRoI ()=default | |
| Destructor. More... | |
| void | dumpData () const |
| Function dumping the stored information to the message stream. More... | |
| void | dumpData (MsgStream &) const |
| Function dumping the stored information to the message stream. More... | |
Public Attributes | |
| uint16_t | m_bcId |
| 3-bit BCID as stored in the data word More... | |
| uint16_t | m_pTvalue |
| pT threshold value (in GeV) as reconstructed from the data word More... | |
| uint16_t | m_pTnumber |
| 3-bit pT threshold number as stored in the data word More... | |
| double | m_eta |
| η position of the candidate More... | |
| double | m_phi |
| φ position of the candidate More... | |
| uint16_t | m_sectorID |
| 8-bit sector address as stored in the data word More... | |
| uint16_t | m_sysId |
| System in which the candidate was detected. More... | |
| bool | m_hemisphere |
| Hemisphere in which the candidate was detected (false: z < 0, true: z > 0) More... | |
| uint16_t | m_roINumber |
| RoI number (sub-sector in which the candidate was detected) as stored in the data word. More... | |
| bool | m_accepted |
| Flag showing whether the candidate was sent to the RoIB. More... | |
| bool | m_first |
| Flag showing whether the candidate had the highest pT in its sector. More... | |
| bool | m_duplicatedRoI |
| Flag showing whether there was more than 1 candidate in this candidate's RoI. More... | |
| bool | m_duplicatedSector |
| Flag showing whether there were more than 2 candidates in this candidate's sector. More... | |
Custom private object to hold information about the stored reconstructed RoIs.
For a little bit clearer code, the properties of the "reconstructed RoIs" in MuCTPI_RIO are stored in such objects. They store the information encoded in the 32-bit MuCTPI data words in separate variables for faster access, but this makes the object waste a bit of space. → Should not be written to POOL. For a detailed description of the data format of the MuCTPI, see the MIROD documentation (https://edms.cern.ch/file/248757/1/mirod.pdf).
Definition at line 192 of file MuCTPI_RIO.h.
| MuCTPI_RIO::MyRoI::MyRoI | ( | const uint16_t | bcId, |
| const uint16_t | pTVal, | ||
| const uint16_t | pTnumber, | ||
| const double | eta, | ||
| const double | phi, | ||
| const uint16_t | secID, | ||
| const uint16_t | sysId, | ||
| const uint16_t | hemisphere, | ||
| const uint16_t | roiNum, | ||
| const bool | accepted, | ||
| const bool | first, | ||
| const bool | duplicatedRoI, | ||
| const bool | duplicatedSector | ||
| ) |
Constructor.
Constructor specifying all the variables which are stored in the class.
| bcId | 3-bit BCID from the muon candidate word |
| pTVal | pT threshold value in GeV taken from the configuration |
| pTnumber | pT threshold number from the muon candidate word |
| eta | η coordinate of the muon candidate |
| phi | φ coordinate of the muon candidate |
| secID | 8-bit sector ID from the muon candidate word |
| sysId | system ID (Barrel=0, Endcap=1, Forward=2) |
| hemisphere | Hemisphere (0: z < 0, 1: z > 0) |
| roiNum | RoI number from the muon candidate word |
| accepted | flag showing whether the candidate was sent to the RoIB |
| first | flag showing whether the candidate had the highest pT in it's sector |
| duplicatedRoI | flag showing whether there was more than 1 muon candidate in this candidate's RoI |
| duplicatedSector | flag showing whether there were more than 2 muon candidates in this candidate's sector |
Definition at line 185 of file MuCTPI_RIO.cxx.
|
default |
Destructor.
| void MuCTPI_RIO::MyRoI::dumpData | ( | ) | const |
Function dumping the stored information to the message stream.
This function is not responsible for actually printing the information, it just creates a message stream to print the information to with MuCTPI_RIO::MyRoI::dumpData(MsgStream&) const.
Definition at line 194 of file MuCTPI_RIO.cxx.
| void MuCTPI_RIO::MyRoI::dumpData | ( | MsgStream & | log | ) | const |
Function dumping the stored information to the message stream.
Function printing the information stored in the object in an easy-to-read fashion.
| log | A message stream to print the information to |
Definition at line 211 of file MuCTPI_RIO.cxx.
| bool MuCTPI_RIO::MyRoI::m_accepted |
Flag showing whether the candidate was sent to the RoIB.
Definition at line 228 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_bcId |
3-bit BCID as stored in the data word
Definition at line 208 of file MuCTPI_RIO.h.
| bool MuCTPI_RIO::MyRoI::m_duplicatedRoI |
Flag showing whether there was more than 1 candidate in this candidate's RoI.
Definition at line 232 of file MuCTPI_RIO.h.
| bool MuCTPI_RIO::MyRoI::m_duplicatedSector |
Flag showing whether there were more than 2 candidates in this candidate's sector.
Definition at line 234 of file MuCTPI_RIO.h.
| double MuCTPI_RIO::MyRoI::m_eta |
η position of the candidate
Definition at line 214 of file MuCTPI_RIO.h.
| bool MuCTPI_RIO::MyRoI::m_first |
Flag showing whether the candidate had the highest pT in its sector.
Definition at line 230 of file MuCTPI_RIO.h.
| bool MuCTPI_RIO::MyRoI::m_hemisphere |
Hemisphere in which the candidate was detected (false: z < 0, true: z > 0)
Definition at line 222 of file MuCTPI_RIO.h.
| double MuCTPI_RIO::MyRoI::m_phi |
φ position of the candidate
Definition at line 216 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_pTnumber |
3-bit pT threshold number as stored in the data word
Definition at line 212 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_pTvalue |
pT threshold value (in GeV) as reconstructed from the data word
Definition at line 210 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_roINumber |
RoI number (sub-sector in which the candidate was detected) as stored in the data word.
Definition at line 225 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_sectorID |
8-bit sector address as stored in the data word
Definition at line 218 of file MuCTPI_RIO.h.
| uint16_t MuCTPI_RIO::MyRoI::m_sysId |
System in which the candidate was detected.
Definition at line 220 of file MuCTPI_RIO.h.
1.8.18