|
ATLAS Offline Software
|
Go to the documentation of this file.
19 (
this != &right ) ) {
22 for (
size_t i = 0;
i < 2; ++
i ) {
44 val |= (
roi( 0 ) & 0x0FF ) << 1;
50 val |= (
ovl( 0 ) & 0x0001 ) << 9;
56 val |= (
roi( 1 ) & 0x00FF ) << 10;
62 val |= (
ovl( 1 ) & 0x0001 ) << 18;
68 val |= (
pt( 0 ) & 0x0007 ) << 19;
74 val |= (
pt( 1 ) & 0x0007 ) << 22;
83 if (
charge( 0 ) > 0 )
val |= 0x040000000;
85 if (
charge( 1 ) > 0 )
val |= 0x080000000;
95 if (
value & 0x0001 ) {
102 if (
val == 0x00FF ) {
111 if (
val == 0x00FF ) {
120 if (
val == 0x0007 ) {
127 if (
val == 0x0007 ) {
152 out <<
"Bit 0 " <<
" >2candidates in a sector ";
155 out <<
"Bit 1-8 " <<
" ROI<1> ";
156 if (
m_roi[ 0 ] == -1 ) {
157 out << std::setw( 8 ) <<
"NA" << std::endl;
159 out << std::setw( 8 ) <<
m_roi[ 0 ] << std::endl;
161 out <<
"Bit 9 " <<
" OVL<1> ";
162 if (
m_ovl[ 0 ] < 0 ) {
163 out << std::setw( 8 ) <<
"NA" << std::endl;
165 out << std::setw( 8 ) <<
m_ovl[ 0 ] << std::endl;
167 out <<
"Bit 10-17 " <<
" ROI<2> ";
168 if (
m_roi[ 1 ] == -1 ) {
169 out << std::setw( 8 ) <<
"NA" << std::endl;
171 out << std::setw( 8 ) <<
m_roi[ 1 ] << std::endl;
173 out <<
"Bit 18 " <<
" OVL<2> ";
174 if (
m_ovl[ 1 ] < 0 ) {
175 out << std::setw( 8 ) <<
"NA" << std::endl;
177 out << std::setw( 8 ) <<
m_ovl[ 1 ] << std::endl;
179 out <<
"Bit 19-21 " <<
" Pt1 ";
180 if (
m_pt[ 0 ] == -1 ) {
181 out << std::setw( 8 ) <<
"No Hit" << std::endl;
183 out << std::setw( 8 ) <<
m_pt[ 0 ] << std::endl;
185 out <<
"Bit 22-24 " <<
" Pt2 ";
186 if (
m_pt[ 1 ] == -1 ) {
187 out << std::setw( 8 ) <<
"No Hit" << std::endl;
189 out << std::setw( 8 ) <<
m_pt[ 1 ] << std::endl;
191 out <<
"Bit 25-26 " <<
" NA " << std::endl;
192 out <<
"Bit 27-29 " <<
" BCID ";
193 out << std::setw( 8 ) <<
m_bcid << std::endl;
194 out <<
"Bit 30 " <<
" charge in ROI1 ";
195 out << std::setw( 8 ) <<
m_charge[ 0 ] << std::endl;
196 out <<
"Bit 31 " <<
" charge in ROI2 ";
197 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.
const Lvl1MuSectorLogicData & convertFromWordFormat(const SectorLogicWord &)
Convert SectorLogicData from 32 bit word data.
void clear2candidates(size_t id)
void clear2candidatesInSector()
Lvl1MuEndcapSectorLogicData()
SectorLogicWord getWordFormat() const
Get data in 32 bit word format.
void set2candidatesInSector()
Class representing data from an endcap SL board.
unsigned int SectorLogicWord
Lvl1MuEndcapSectorLogicData & operator=(const Lvl1MuSectorLogicData &right)
int charge(size_t id) const
bool is2candidates(size_t id) const
virtual void printOut(std::ostream &out) const
print out data
bool is2candidatesInSector() const