ATLAS Offline Software
|
Class representing (part of) the input data to the MuCTPI for Phase 1. More...
#include <Lvl1MuCTPIInputPhase1.h>
Public Types | |
enum | MuonSystem { Barrel = 0, Endcap = 1, Forward = 2 } |
enum | MuonSubSystem { A_side = 1, C_side = 0 } |
enum | { NumberOfMuonSystem = 3 } |
enum | { NumberOfMuonSubSystem = 2 } |
enum | { NumberOfBarrelSector = 32 } |
enum | { NumberOfEndcapSector = 48 } |
enum | { NumberOfForwardSector = 24 } |
typedef std::vector< std::shared_ptr< Lvl1MuSectorLogicDataPhase1 > > | Lvl1MuVect |
typedef std::pair< int, Lvl1MuVect > | Lvl1MuVectWithBC |
Public Member Functions | |
Lvl1MuCTPIInputPhase1 () | |
Lvl1MuCTPIInputPhase1 (const Lvl1MuCTPIInputPhase1 &) | |
virtual | ~Lvl1MuCTPIInputPhase1 () |
Lvl1MuCTPIInputPhase1 & | operator= (const Lvl1MuCTPIInputPhase1 &right) |
const Lvl1MuSectorLogicDataPhase1 & | getSectorLogicData (size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) const |
std::shared_ptr< Lvl1MuSectorLogicDataPhase1 > | getSectorLogicDataPtr (size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) const |
void | setSectorLogicData (const Lvl1MuSectorLogicDataPhase1 &data, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) |
void | setSectorLogicData (const Lvl1MuSectorLogicDataPhase1::SectorLogicWord §orWord, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) |
void | merge (const Lvl1MuCTPIInputPhase1 &another) |
Merge SectorLogic data of another object into this data of a system (Barrel, Endcap or Forward) is not overwritten if this object already has corresponding data. More... | |
void | clear (size_t systemAddress) |
void | clearAll () |
Clear Sector Logic data. More... | |
bool | isEmpty (size_t systemAddress, int bcid=0) const |
Return "true" if data of specified system is empty. More... | |
bool | isEmptyAll (int bcid=0) const |
Return "true" if data of all systems for this bcid is empty. More... | |
bool | hasOutOfTimeCandidates (size_t systemAddress) const |
Return "true" if data of specified system is filled for bunches other than 'current' bunch More... | |
size_t | getSystemIndex (size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const |
size_t | getBcidIndex (size_t systemAddress, int bcid=0) const |
const std::vector< Lvl1MuVectWithBC > & | getData (MuonSystem system) const |
Static Public Member Functions | |
static size_t | idBarrelSystem () |
static size_t | numberOfBarrelSector () |
static size_t | idEndcapSystem () |
static size_t | numberOfEndcapSector () |
static size_t | idForwardSystem () |
static size_t | numberOfForwardSector () |
static size_t | idSideA () |
static size_t | idSideC () |
static size_t | numberOfSystems () |
static size_t | numberOfSector (MuonSystem system) |
Private Member Functions | |
size_t | reserve (size_t systemAddress, int bcid=0) |
Private Attributes | |
bool | m_isFilledOutOfTimeCandidates [NumberOfMuonSystem] |
std::vector< Lvl1MuVectWithBC > | m_data [NumberOfMuonSystem] |
Friends | |
std::ostream & | operator<< (std::ostream &, const Lvl1MuCTPIInputPhase1 &) |
Class representing (part of) the input data to the MuCTPI for Phase 1.
This class can represent the full input data coming from the SL boards to the MuCTPI, or it can just represent a part of it. (Let's say only the data coming from the RPC simulation.)
Definition at line 33 of file Lvl1MuCTPIInputPhase1.h.
typedef std::vector<std::shared_ptr <Lvl1MuSectorLogicDataPhase1> > LVL1MUONIF::Lvl1MuCTPIInputPhase1::Lvl1MuVect |
Definition at line 120 of file Lvl1MuCTPIInputPhase1.h.
typedef std::pair<int, Lvl1MuVect> LVL1MUONIF::Lvl1MuCTPIInputPhase1::Lvl1MuVectWithBC |
Definition at line 121 of file Lvl1MuCTPIInputPhase1.h.
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
A_side | |
C_side |
Definition at line 48 of file Lvl1MuCTPIInputPhase1.h.
Enumerator | |
---|---|
Barrel | |
Endcap | |
Forward |
Definition at line 47 of file Lvl1MuCTPIInputPhase1.h.
LVL1MUONIF::Lvl1MuCTPIInputPhase1::Lvl1MuCTPIInputPhase1 | ( | ) |
Definition at line 11 of file Lvl1MuCTPIInputPhase1.cxx.
LVL1MUONIF::Lvl1MuCTPIInputPhase1::Lvl1MuCTPIInputPhase1 | ( | const Lvl1MuCTPIInputPhase1 & | right | ) |
Definition at line 17 of file Lvl1MuCTPIInputPhase1.cxx.
|
virtual |
Definition at line 22 of file Lvl1MuCTPIInputPhase1.cxx.
void LVL1MUONIF::Lvl1MuCTPIInputPhase1::clear | ( | size_t | systemAddress | ) |
Definition at line 188 of file Lvl1MuCTPIInputPhase1.cxx.
void LVL1MUONIF::Lvl1MuCTPIInputPhase1::clearAll | ( | ) |
|
inline |
|
inline |
Definition at line 181 of file Lvl1MuCTPIInputPhase1.h.
const Lvl1MuSectorLogicDataPhase1 & LVL1MUONIF::Lvl1MuCTPIInputPhase1::getSectorLogicData | ( | size_t | systemAddress, |
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) | const |
Definition at line 46 of file Lvl1MuCTPIInputPhase1.cxx.
std::shared_ptr< Lvl1MuSectorLogicDataPhase1 > LVL1MUONIF::Lvl1MuCTPIInputPhase1::getSectorLogicDataPtr | ( | size_t | systemAddress, |
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) | const |
Definition at line 61 of file Lvl1MuCTPIInputPhase1.cxx.
|
inline |
Definition at line 158 of file Lvl1MuCTPIInputPhase1.h.
|
inline |
Return "true" if data of specified system is filled for bunches other than 'current' bunch
Definition at line 150 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 134 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 136 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 138 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 140 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 141 of file Lvl1MuCTPIInputPhase1.h.
bool LVL1MUONIF::Lvl1MuCTPIInputPhase1::isEmpty | ( | size_t | systemAddress, |
int | bcid = 0 |
||
) | const |
bool LVL1MUONIF::Lvl1MuCTPIInputPhase1::isEmptyAll | ( | int | bcid = 0 | ) | const |
void LVL1MUONIF::Lvl1MuCTPIInputPhase1::merge | ( | const Lvl1MuCTPIInputPhase1 & | another | ) |
Merge SectorLogic data of another object into this data of a system (Barrel, Endcap or Forward) is not overwritten if this object already has corresponding data.
Definition at line 119 of file Lvl1MuCTPIInputPhase1.cxx.
|
inlinestatic |
Definition at line 135 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 137 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 139 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 143 of file Lvl1MuCTPIInputPhase1.h.
|
inlinestatic |
Definition at line 142 of file Lvl1MuCTPIInputPhase1.h.
Lvl1MuCTPIInputPhase1 & LVL1MUONIF::Lvl1MuCTPIInputPhase1::operator= | ( | const Lvl1MuCTPIInputPhase1 & | right | ) |
Definition at line 28 of file Lvl1MuCTPIInputPhase1.cxx.
|
private |
Definition at line 136 of file Lvl1MuCTPIInputPhase1.cxx.
void LVL1MUONIF::Lvl1MuCTPIInputPhase1::setSectorLogicData | ( | const Lvl1MuSectorLogicDataPhase1 & | data, |
size_t | systemAddress, | ||
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) |
Definition at line 74 of file Lvl1MuCTPIInputPhase1.cxx.
void LVL1MUONIF::Lvl1MuCTPIInputPhase1::setSectorLogicData | ( | const Lvl1MuSectorLogicDataPhase1::SectorLogicWord & | sectorWord, |
size_t | systemAddress, | ||
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) |
Definition at line 98 of file Lvl1MuCTPIInputPhase1.cxx.
|
friend |
Definition at line 201 of file Lvl1MuCTPIInputPhase1.cxx.
|
private |
Definition at line 131 of file Lvl1MuCTPIInputPhase1.h.
|
private |
Definition at line 129 of file Lvl1MuCTPIInputPhase1.h.