|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TRIGT1RESULT_MUCTPI_RIO_H
8 #define TRIGT1RESULT_MUCTPI_RIO_H
67 const bool accepted,
const bool first,
const bool duplicatedRoI,
const bool duplicatedSector);
73 bool &accepted,
bool &
first,
bool &duplicatedRoI,
bool &duplicatedSector)
const;
198 const bool accepted,
const bool first,
const bool duplicatedRoI,
const bool duplicatedSector);
246 #endif // TRIGT1RESULT_MUCTPI_RIO_H
std::vector< uint32_t > m_headerStatusWords
The status words.
void headerSourceId(uint32_t val)
Set the ROD ID specidied in the header.
const std::vector< uint32_t > & getHeaderStatusWords() const
Get the status words from the payload.
std::vector< MyRoI > m_roI
Variable holding the custom RoIs.
void headerDetectorEventType(uint32_t val)
Set the event type specified in the header.
Scalar phi() const
phi method
uint16_t m_pTvalue
pT threshold value (in GeV) as reconstructed from the data word
void headerNumberDataWords(uint32_t val)
Set the number of data words as it was specified in the trailer
bool m_first
Flag showing whether the candidate had the highest pT in its sector.
uint32_t getHeaderSourceId() const
Get the ROD ID specified in the header.
Custom private object to hold information about the stored reconstructed RoIs.
double m_phi
φ position of the candidate
uint16_t m_sectorID
8-bit sector address as stored in the data word
uint32_t m_headerNStatusWords
The number of status words as specified in the trailer
Scalar eta() const
pseudorapidity method
uint32_t getHeaderNumberDataWords() const
Get the number of data words as it was specified in the trailer
uint32_t m_headerBCID
The full BCID as specified in the header.
uint16_t m_bcId
3-bit BCID as stored in the data word
uint32_t m_headerDetEventType
The event type as specified in the header.
uint16_t getBCID() const
The BCID of the object.
void headerRunNumber(uint32_t val)
Set the run number specified in the header.
uint32_t m_headerNDataWords
The number of data words as specified in the trailer
MuCTPI_RIO()
Default constructor.
uint32_t getHeaderLVL1TriggerType() const
Get the LVL1 trigger type specified in the header.
bool m_accepted
Flag showing whether the candidate was sent to the RoIB.
uint32_t m_headerLVL1TriggerType
The LVL1 trigger type as specified in the header.
void setRoI(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)
Add a muon RoI to the object
uint16_t m_pTnumber
3-bit pT threshold number as stored in the data word
Reconstruction Input Object of the MuCTPI hardware and simulation.
std::array< uint16_t, N_SUM > m_sum
Candidate multiplicity in MuCTPI_RIO::N_SUM number of pT thresholds.
void headerNumberStatusWords(uint32_t val)
Set the number of status words as it was specified in the trailer
void setSum(const uint16_t *sum)
Set the multiplicity sum.
double m_eta
η position of the candidate
uint32_t m_headerSourceId
Source ID as specified in the header.
void headerLVL1ID(uint32_t val)
Set the LVL1 ID specified in the header.
std::vector< uint32_t > & headerStatusWords()
Get the status words from the payload.
uint32_t getHeaderBCID() const
Get the full BCID specified in the header.
void dumpData() const
Function dumping the stored information to the message stream.
void headerBCID(uint32_t val)
Set the BCID specified in the header.
uint32_t getHeaderNumberStatusWords() const
Get the number of status words as it was specified in the trailer
uint16_t bcId(uint32_t data)
int getNRoI() const
Get the number of muon RoIs.
bool m_duplicatedSector
Flag showing whether there were more than 2 candidates in this candidate's sector.
void headerLVL1TriggerType(uint32_t val)
Set the LVL1 trigger type specified in the header.
uint32_t m_headerRunNumber
Run number as specified in the header.
void setBCID(const uint16_t bcId)
Function setting the BCID of the object.
uint32_t getHeaderLVL1ID() const
Get the LVL1 ID specified in the header.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
~MyRoI()=default
Destructor.
uint16_t getSum(const int index) const
Get the multiplicity sum for a given pT threshold.
uint32_t m_headerLVL1ID
LVL1 ID as specified in the header.
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.
uint32_t getHeaderDetectorEventType() const
Get the event type specified in the header.
bool m_hemisphere
Hemisphere in which the candidate was detected (false: z < 0, true: z > 0)
uint32_t getHeaderRunNumber() const
Get the run number specified in the header.
bool m_duplicatedRoI
Flag showing whether there was more than 1 candidate in this candidate's RoI.
uint16_t m_roINumber
RoI number (sub-sector in which the candidate was detected) as stored in the data word.
uint16_t m_sysId
System in which the candidate was detected.
bool getRoI(const int index, uint16_t &bcId, uint16_t &pTval, uint16_t &pTnum, double &eta, double &phi, uint16_t &secID, uint16_t &sysId, uint16_t &hemisphere, uint16_t &roiNum, bool &accepted, bool &first, bool &duplicatedRoI, bool &duplicatedSector) const
Get the properties of a given muon RoI.
uint16_t m_bcId
What kind of BCID is this???
macros to associate a CLID to a type
~MuCTPI_RIO()=default
Destructor.
void dumpData() const
Function dumping the stored information to the message stream.