|
ATLAS Offline Software
|
Go to the documentation of this file.
18 (
this != &right ) ) {
21 for (
size_t i = 0;
i < 2; ++
i ) {
43 val |= (
roi( 0 ) & 0x03F ) << 1;
51 val |= (
roi( 1 ) & 0x003F ) << 10;
59 val |= (
pt( 0 ) & 0x0007 ) << 19;
65 val |= (
pt( 1 ) & 0x0007 ) << 22;
74 if (
charge( 0 ) > 0 )
val |= 0x040000000;
76 if (
charge( 1 ) > 0 )
val |= 0x040000000;
85 if (
value & 0x0001 ) {
92 if (
val == 0x003F ) {
101 if (
val == 0x003F ) {
110 if (
val == 0x0007 ) {
117 if (
val == 0x0007 ) {
141 out <<
"Bit 0 " <<
" >2candidates in a sector ";
144 out <<
"Bit 1-6 " <<
" ROI<1> ";
145 if (
m_roi[ 0 ] == -1 ) {
146 out << std::setw( 8 ) <<
"NA" << std::endl;
148 out << std::setw( 8 ) <<
m_roi[ 0 ] << std::endl;
150 out <<
"Bit 7-9 " <<
" NA " << std::endl;
151 out <<
"Bit 10-15 " <<
" ROI<2> ";
152 if (
m_roi[ 1 ] == -1 ) {
153 out << std::setw( 8 ) <<
"NA" << std::endl;
155 out << std::setw( 8 ) <<
m_roi[ 1 ] << std::endl;
157 out <<
"Bit 16-18 " <<
" NA " << std::endl;
159 out <<
"Bit 19-21 " <<
" Pt1 ";
160 if (
m_pt[ 0 ] == -1 ) {
161 out << std::setw( 8 ) <<
"No Hit" << std::endl;
163 out << std::setw( 8 ) <<
m_pt[ 0 ] << std::endl;
165 out <<
"Bit 22-24 " <<
" Pt2 ";
166 if (
m_pt[ 1 ] == -1 ) {
167 out << std::setw( 8 ) <<
"No Hit" << std::endl;
169 out << std::setw( 8 ) <<
m_pt[ 1 ] << std::endl;
172 out <<
"Bit 25-26 " <<
" NA " << std::endl;
173 out <<
"Bit 27-29 " <<
" BCID ";
174 out << std::setw( 8 ) <<
m_bcid << std::endl;
175 out <<
"Bit 30 " <<
" charge in ROI1 ";
176 out << std::setw( 8 ) <<
m_charge[ 0 ] << std::endl;
177 out <<
"Bit 31 " <<
" charge in ROI2 ";
178 out << std::setw( 8 ) <<
m_charge[ 1 ] << std::endl;
Base class for the data coming from one SL board.
bool m_2candidatesInSector
Namespace for the LVL1 muon interface classes.
SectorLogicWord getWordFormat() const
Get data in 32 bit word format.
void clear2candidates(size_t id)
void clear2candidatesInSector()
Class representing data from a forward SL board.
const Lvl1MuSectorLogicData & convertFromWordFormat(const SectorLogicWord &)
Convert SectorLogicData from 32 bit word data.
void set2candidatesInSector()
Lvl1MuForwardSectorLogicData & operator=(const Lvl1MuSectorLogicData &right)
unsigned int SectorLogicWord
virtual void printOut(std::ostream &out) const
print out data
int charge(size_t id) const
bool is2candidates(size_t id) const
bool is2candidatesInSector() const
Lvl1MuForwardSectorLogicData()