ATLAS Offline Software
|
Base class for the data coming from one SL board. More...
#include <Lvl1MuSectorLogicData.h>
Public Types | |
typedef unsigned int | SectorLogicWord |
Public Member Functions | |
Lvl1MuSectorLogicData () | |
Lvl1MuSectorLogicData (const Lvl1MuSectorLogicData &right) | |
virtual | ~Lvl1MuSectorLogicData () |
Lvl1MuSectorLogicData & | operator= (const Lvl1MuSectorLogicData &right) |
bool | is2candidatesInSector () const |
int | bcid () const |
int | roi (size_t id) const |
int | ovl (size_t id) const |
int | pt (size_t id) const |
int | charge (size_t id) const |
bool | is2candidates (size_t id) const |
void | set2candidatesInSector () |
void | clear2candidatesInSector () |
void | bcid (int value) |
void | roi (size_t id, int value) |
void | ovl (size_t id, int value) |
void | pt (size_t id, int value) |
void | charge (size_t id, int value) |
void | set2candidates (size_t id) |
void | clear2candidates (size_t id) |
void | clear () |
virtual SectorLogicWord | getWordFormat () const =0 |
Get data in 32 bit word format: More... | |
virtual const Lvl1MuSectorLogicData & | convertFromWordFormat (const SectorLogicWord &)=0 |
Convert SectorLogicData from 32 bit word data. More... | |
int | getSystemId () const |
Protected Member Functions | |
virtual void | printOut (std::ostream &out) const |
print out data More... | |
Protected Attributes | |
bool | m_2candidatesInSector |
int | m_roi [2] |
int | m_ovl [2] |
int | m_pt [2] |
bool | m_2candidates [2] |
int | m_bcid |
int | m_charge [2] |
int | m_id_system |
Friends | |
std::ostream & | operator<< (std::ostream &, const Lvl1MuSectorLogicData &) |
Base class for the data coming from one SL board.
Each muon SL board sends 32 bits of information to the MuCTPI. While the format of these 32 bits is a bit different for the different sector types, the information stored in them is the same. So the derived classes only have to implement the functions decoding the 32-bit words into the variables in this class.
Definition at line 34 of file Lvl1MuSectorLogicData.h.
typedef unsigned int LVL1MUONIF::Lvl1MuSectorLogicData::SectorLogicWord |
Definition at line 44 of file Lvl1MuSectorLogicData.h.
LVL1MUONIF::Lvl1MuSectorLogicData::Lvl1MuSectorLogicData | ( | ) |
Definition at line 13 of file Lvl1MuSectorLogicData.cxx.
LVL1MUONIF::Lvl1MuSectorLogicData::Lvl1MuSectorLogicData | ( | const Lvl1MuSectorLogicData & | right | ) |
Definition at line 27 of file Lvl1MuSectorLogicData.cxx.
|
inlinevirtual |
Definition at line 39 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 47 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 56 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 51 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 60 of file Lvl1MuSectorLogicData.h.
void LVL1MUONIF::Lvl1MuSectorLogicData::clear | ( | ) |
|
inline |
Definition at line 62 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 55 of file Lvl1MuSectorLogicData.h.
|
pure virtual |
Convert SectorLogicData from 32 bit word data.
Implemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicData, LVL1MUONIF::Lvl1MuEndcapSectorLogicData, and LVL1MUONIF::Lvl1MuForwardSectorLogicData.
|
inline |
Definition at line 73 of file Lvl1MuSectorLogicData.h.
|
pure virtual |
Get data in 32 bit word format:
Implemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicData, LVL1MUONIF::Lvl1MuEndcapSectorLogicData, and LVL1MUONIF::Lvl1MuForwardSectorLogicData.
|
inline |
Definition at line 52 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 46 of file Lvl1MuSectorLogicData.h.
Lvl1MuSectorLogicData & LVL1MUONIF::Lvl1MuSectorLogicData::operator= | ( | const Lvl1MuSectorLogicData & | right | ) |
Definition at line 31 of file Lvl1MuSectorLogicData.cxx.
|
inline |
Definition at line 49 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 58 of file Lvl1MuSectorLogicData.h.
|
protectedvirtual |
print out data
Reimplemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicData, LVL1MUONIF::Lvl1MuEndcapSectorLogicData, and LVL1MUONIF::Lvl1MuForwardSectorLogicData.
Definition at line 54 of file Lvl1MuSectorLogicData.cxx.
|
inline |
Definition at line 50 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 59 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 48 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 57 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 61 of file Lvl1MuSectorLogicData.h.
|
inline |
Definition at line 54 of file Lvl1MuSectorLogicData.h.
|
friend |
Definition at line 47 of file Lvl1MuSectorLogicData.cxx.
|
protected |
Definition at line 83 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 79 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 84 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 85 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 86 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 81 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 82 of file Lvl1MuSectorLogicData.h.
|
protected |
Definition at line 80 of file Lvl1MuSectorLogicData.h.