17 for(
int i=0;
i<3;
i++)
39 unsigned int dw,
unsigned int ew,
float dr,
float er,
58 <<
" subsystem: " << std::setw(2) << de.
sid()
59 <<
" (cid." << std::setw(2) << de.
cid() <<
")" 61 <<
"(" << std::setw(5) << std::setprecision(2) << de.
x1()
62 <<
"," << std::setw(5) << std::setprecision(2) << de.
x2()
63 <<
"," << std::setw(5) << std::setprecision(2) << de.
x3() <<
")" 64 <<
" type: " << de.
type()
65 << std::hex << std::setfill(
'0')
66 <<
" dword:0x" << std::setw(8)<< word[0]
67 <<
" eword:0x" << std::setw(8)<< word[1]
70 <<
"(" << std::setw(5) << std::setprecision(2) << rankarr[0]
71 <<
"," << std::setw(5) << std::setprecision(2) << rankarr[1] <<
")";
81 for(
int j=0; j<2; j++) {
83 gltDecBits[j].reserve(w64*2);
84 gltTchBits[j].reserve(w64 );
85 for(
int i=0;
i<w64;
i++) {
86 gltDecBits[j][
i] =
false;
87 gltDecBits[j][
i+w64]=
false;
88 gltTchBits[j][
i] =
false;
94 this->
set(glbit, dbits, tbits);
98 for(
int i=0;
i<2;
i++) {
99 globalDBit[
i]=glbit[
i];
100 gltDecBits[
i]=dbits[
i];
101 gltTchBits[
i]=tbits[
i];
108 for(
int i=0;
i<2;
i++) {
116 if(glbit[0]!=glbit[1])
117 s <<
"(data), " << glbit[1] <<
"(emul)";
118 s <<
"\n data dec-word: ";
119 for(GltDEDigi::GltBits::const_iterator
i=dbits[0].
begin();
120 i!=dbits[0].end();
i++) s<<*
i;
121 s <<
"\n emul dec-word: ";
122 for(GltDEDigi::GltBits::const_iterator
i=dbits[1].
begin();
123 i!=dbits[1].end();
i++) s<<*
i;
124 s <<
"\n data techical: ";
125 for(GltDEDigi::GltBits::const_iterator
i=tbits[0].
begin();
126 i!=tbits[0].end();
i++) s<<*
i;
127 s <<
"\n emul technical: ";
128 for(GltDEDigi::GltBits::const_iterator
i=tbits[1].
begin();
129 i!=tbits[1].end();
i++) s<<*
i;
void rank(float *r) const
std::vector< bool > GltBits
void set(bool glbit[], GltBits dbits[], GltBits tbits[])
void data(unsigned int *d) const
L1MonitorDigi m_DEpair[2]
std::ostream & operator<<(std::ostream &s, const L1DataEmulDigi &de)