ATLAS Offline Software
|
Base class for the data coming from one SL board. More...
#include <Lvl1MuSectorLogicDataPhase1.h>
Public Types | |
typedef std::pair< unsigned long int, unsigned short int > | SectorLogicWord |
Public Member Functions | |
Lvl1MuSectorLogicDataPhase1 () | |
Lvl1MuSectorLogicDataPhase1 (const Lvl1MuSectorLogicDataPhase1 &right) | |
virtual | ~Lvl1MuSectorLogicDataPhase1 () |
Lvl1MuSectorLogicDataPhase1 & | operator= (const Lvl1MuSectorLogicDataPhase1 &right) |
bool | is2candidatesInSector () const |
int | bcid () const |
int | nsw () 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 |
int | goodmf (size_t id) const |
int | innercoin (size_t id) const |
int | bw2or3 (size_t id) const |
int | veto (size_t id) const |
void | set2candidatesInSector () |
void | clear2candidatesInSector () |
void | bcid (int value) |
void | nsw (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 | goodmf (size_t id, int value) |
void | innercoin (size_t id, int value) |
void | bw2or3 (size_t id, int value) |
void | veto (size_t id, int value) |
void | clear () |
virtual SectorLogicWord | getWordFormat () const =0 |
Get data in 32 bit word format: More... | |
virtual const Lvl1MuSectorLogicDataPhase1 & | convertFromWordFormat (const SectorLogicWord &)=0 |
Convert SectorLogicDataPhase1 from 32 bit word data. More... | |
int | getSystemId () const |
Protected Member Functions | |
virtual void | printOut (std::ostream &out) const =0 |
print out data More... | |
void | initialize () |
Protected Attributes | |
bool | m_2candidatesInSector |
std::vector< int > | m_roi |
std::vector< int > | m_ovl |
std::vector< int > | m_pt |
std::vector< bool > | m_2candidates |
int | m_bcid |
int | m_nsw |
std::vector< int > | m_charge |
int | m_id_system |
std::vector< int > | m_goodmf |
std::vector< int > | m_innercoin |
std::vector< int > | m_bw2or3 |
std::vector< int > | m_veto |
Friends | |
std::ostream & | operator<< (std::ostream &, const Lvl1MuSectorLogicDataPhase1 &) |
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 35 of file Lvl1MuSectorLogicDataPhase1.h.
typedef std::pair<unsigned long int, unsigned short int> LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::SectorLogicWord |
Definition at line 45 of file Lvl1MuSectorLogicDataPhase1.h.
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::Lvl1MuSectorLogicDataPhase1 | ( | ) |
Definition at line 14 of file Lvl1MuSectorLogicDataPhase1.cxx.
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::Lvl1MuSectorLogicDataPhase1 | ( | const Lvl1MuSectorLogicDataPhase1 & | right | ) |
Definition at line 54 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
virtual |
Definition at line 22 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
inline |
Definition at line 48 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 62 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 57 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 72 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 53 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 67 of file Lvl1MuSectorLogicDataPhase1.h.
void LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::clear | ( | ) |
Definition at line 86 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
inline |
Definition at line 69 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 61 of file Lvl1MuSectorLogicDataPhase1.h.
|
pure virtual |
Convert SectorLogicDataPhase1 from 32 bit word data.
Implemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicDataPhase1, LVL1MUONIF::Lvl1MuEndcapSectorLogicDataPhase1, and LVL1MUONIF::Lvl1MuForwardSectorLogicDataPhase1.
|
inline |
Definition at line 84 of file Lvl1MuSectorLogicDataPhase1.h.
|
pure virtual |
Get data in 32 bit word format:
Implemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicDataPhase1, LVL1MUONIF::Lvl1MuEndcapSectorLogicDataPhase1, and LVL1MUONIF::Lvl1MuForwardSectorLogicDataPhase1.
|
inline |
Definition at line 55 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 70 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 35 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
inline |
Definition at line 56 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 71 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 54 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 47 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 49 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 63 of file Lvl1MuSectorLogicDataPhase1.h.
Lvl1MuSectorLogicDataPhase1 & LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::operator= | ( | const Lvl1MuSectorLogicDataPhase1 & | right | ) |
Definition at line 58 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
inline |
Definition at line 51 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 65 of file Lvl1MuSectorLogicDataPhase1.h.
|
protectedpure virtual |
print out data
Implemented in LVL1MUONIF::Lvl1MuBarrelSectorLogicDataPhase1, LVL1MUONIF::Lvl1MuEndcapSectorLogicDataPhase1, and LVL1MUONIF::Lvl1MuForwardSectorLogicDataPhase1.
|
inline |
Definition at line 52 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 66 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 50 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 64 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 68 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 60 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 58 of file Lvl1MuSectorLogicDataPhase1.h.
|
inline |
Definition at line 73 of file Lvl1MuSectorLogicDataPhase1.h.
|
friend |
Definition at line 79 of file Lvl1MuSectorLogicDataPhase1.cxx.
|
protected |
Definition at line 95 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 91 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 96 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 102 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 98 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 100 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 99 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 101 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 97 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 93 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 94 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 92 of file Lvl1MuSectorLogicDataPhase1.h.
|
protected |
Definition at line 103 of file Lvl1MuSectorLogicDataPhase1.h.