![]() |
ATLAS Offline Software
|
Class representing (part of) the input data to the MuCTPI. More...
#include <Lvl1MuCTPIInput.h>
Public Member Functions | |
Lvl1MuCTPIInput () | |
Lvl1MuCTPIInput (const Lvl1MuCTPIInput &) | |
virtual | ~Lvl1MuCTPIInput () |
Lvl1MuCTPIInput & | operator= (const Lvl1MuCTPIInput &right) |
const Lvl1MuSectorLogicData & | getSectorLogicData (size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) const |
void | setSectorLogicData (const Lvl1MuSectorLogicData &data, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) |
void | setSectorLogicData (const unsigned int §orWord, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) |
void | merge (const Lvl1MuCTPIInput &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... | |
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 () |
Protected 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 } |
Private Types | |
typedef std::vector< std::shared_ptr< Lvl1MuSectorLogicData > > | Lvl1MuVect |
typedef std::pair< int, Lvl1MuVect > | Lvl1MuVectWithBC |
Private Member Functions | |
size_t | reserve (size_t systemAddress, int bcid=0) |
To store object to file. (NOT TO BE USED ANYMORE...) More... | |
size_t | getSystemIndex (size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const |
size_t | getBcidIndex (size_t systemAddress, int bcid=0) const |
Private Attributes | |
bool | m_isFilledOutOfTimeCandidates [NumberOfMuonSystem] |
std::vector< Lvl1MuVectWithBC > | m_data [NumberOfMuonSystem] |
Friends | |
std::ostream & | operator<< (std::ostream &, const Lvl1MuCTPIInput &) |
Class representing (part of) the input data to the MuCTPI.
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 36 of file Lvl1MuCTPIInput.h.
|
private |
Definition at line 160 of file Lvl1MuCTPIInput.h.
|
private |
Definition at line 161 of file Lvl1MuCTPIInput.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Enumerator | |
---|---|
A_side | |
C_side |
Definition at line 51 of file Lvl1MuCTPIInput.h.
|
protected |
Enumerator | |
---|---|
Barrel | |
Endcap | |
Forward |
Definition at line 50 of file Lvl1MuCTPIInput.h.
LVL1MUONIF::Lvl1MuCTPIInput::Lvl1MuCTPIInput | ( | ) |
Definition at line 12 of file Lvl1MuCTPIInput.cxx.
LVL1MUONIF::Lvl1MuCTPIInput::Lvl1MuCTPIInput | ( | const Lvl1MuCTPIInput & | right | ) |
Definition at line 18 of file Lvl1MuCTPIInput.cxx.
|
virtual |
Definition at line 23 of file Lvl1MuCTPIInput.cxx.
void LVL1MUONIF::Lvl1MuCTPIInput::clear | ( | size_t | systemAddress | ) |
Definition at line 178 of file Lvl1MuCTPIInput.cxx.
void LVL1MUONIF::Lvl1MuCTPIInput::clearAll | ( | ) |
|
inlineprivate |
const Lvl1MuSectorLogicData & LVL1MUONIF::Lvl1MuCTPIInput::getSectorLogicData | ( | size_t | systemAddress, |
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) | const |
Definition at line 47 of file Lvl1MuCTPIInput.cxx.
|
inlineprivate |
Definition at line 134 of file Lvl1MuCTPIInput.h.
|
inline |
Return "true" if data of specified system is filled for bunches other than 'current' bunch
Definition at line 105 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 59 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 61 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 63 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 65 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 66 of file Lvl1MuCTPIInput.h.
bool LVL1MUONIF::Lvl1MuCTPIInput::isEmpty | ( | size_t | systemAddress, |
int | bcid = 0 |
||
) | const |
bool LVL1MUONIF::Lvl1MuCTPIInput::isEmptyAll | ( | int | bcid = 0 | ) | const |
void LVL1MUONIF::Lvl1MuCTPIInput::merge | ( | const Lvl1MuCTPIInput & | 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 109 of file Lvl1MuCTPIInput.cxx.
|
inlinestatic |
Definition at line 60 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 62 of file Lvl1MuCTPIInput.h.
|
inlinestatic |
Definition at line 64 of file Lvl1MuCTPIInput.h.
Lvl1MuCTPIInput & LVL1MUONIF::Lvl1MuCTPIInput::operator= | ( | const Lvl1MuCTPIInput & | right | ) |
Definition at line 29 of file Lvl1MuCTPIInput.cxx.
|
private |
To store object to file. (NOT TO BE USED ANYMORE...)
To retrieve object from file. (NOT TO BE USED ANYMORE...)
Definition at line 126 of file Lvl1MuCTPIInput.cxx.
void LVL1MUONIF::Lvl1MuCTPIInput::setSectorLogicData | ( | const Lvl1MuSectorLogicData & | data, |
size_t | systemAddress, | ||
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) |
Definition at line 63 of file Lvl1MuCTPIInput.cxx.
void LVL1MUONIF::Lvl1MuCTPIInput::setSectorLogicData | ( | const unsigned int & | sectorWord, |
size_t | systemAddress, | ||
size_t | subSystemAddress, | ||
size_t | sectorAddress, | ||
int | bcid = 0 |
||
) |
Definition at line 87 of file Lvl1MuCTPIInput.cxx.
|
friend |
Definition at line 223 of file Lvl1MuCTPIInput.cxx.
|
private |
Definition at line 162 of file Lvl1MuCTPIInput.h.
|
private |
Definition at line 157 of file Lvl1MuCTPIInput.h.