22 cout <<
"======================================================" << endl;
26 cout <<
"DT Inputs/RPCDT Inputs" << endl;
27 cout <<
"bx\twheel\tsector\tstation\tphi\tphib\tcode\tts2tag\tbxcnt\trpcbit" << endl;
29 for (
bx = -2;
bx <= 2;
bx++) {
31 for (sector = 0; sector < 12; sector++) {
35 if (dtts1 && dtts1->code() != 7) {
37 cout << dtts1->bxNum() <<
"\t" << dtts1->whNum() <<
"\t" << dtts1->scNum() <<
"\t" << dtts1->stNum() <<
"\t"
38 << dtts1->phi() <<
"\t" << dtts1->phiB() <<
"\t" << dtts1->code() <<
"\t" << dtts1->Ts2Tag() <<
"\t"
39 << dtts1->BxCnt() <<
"\t0" << endl;
41 if (dtts2 && dtts2->code() != 7) {
43 cout << dtts2->bxNum() <<
"\t" << dtts2->whNum() <<
"\t" << dtts2->scNum() <<
"\t" << dtts2->stNum() <<
"\t"
44 << dtts2->phi() <<
"\t" << dtts2->phiB() <<
"\t" << dtts2->code() <<
"\t" << dtts2->Ts2Tag() <<
"\t"
45 << dtts2->BxCnt() <<
"\t0" << endl;
54 cout <<
"RPC Inputs" << endl;
55 cout <<
"bx\tring\tsector\tstation\troll\tlayer\tstrip\tphi\tlocalX" << endl;
59 for (
auto digi = (*chamber).second.first; digi != (*chamber).second.second; ++digi) {
60 RPCDigi digi_out(digi->strip(), digi->bx());
64 cout << digi->bx() <<
"\t" << detid.
ring() <<
"\t" << detid.
sector() - 1 <<
"\t" << detid.
station() <<
"\t"
65 << detid.
roll() <<
"\t" << detid.
layer() <<
"\t" << digi->strip() <<
"\t" << phi <<
"\t" << localx << endl;
70 cout <<
"TwinMux Output" << endl;
71 cout <<
"bx\twheel\tsector\tstation\tphi\tphib\tcode\tts2tag\tbxcnt\trpcbit" << endl;
73 for (
bx = -2;
bx <= 2;
bx++) {
75 for (sector = 0; sector < 12; sector++) {
79 if (dtts1 && dtts1->code() != 7) {
81 cout << dtts1->bxNum() <<
"\t" << dtts1->whNum() <<
"\t" << dtts1->scNum() <<
"\t" << dtts1->stNum() <<
"\t"
82 << dtts1->phi() <<
"\t" << dtts1->phiB() <<
"\t" << dtts1->code() <<
"\t" << dtts1->Ts2Tag() <<
"\t"
83 << dtts1->BxCnt() <<
"\t" << dtts1->RpcBit() << endl;
85 if (dtts2 && dtts2->code() != 7) {
87 cout << dtts2->bxNum() <<
"\t" << dtts2->whNum() <<
"\t" << dtts2->scNum() <<
"\t" << dtts2->stNum() <<
"\t"
88 << dtts2->phi() <<
"\t" << dtts2->phiB() <<
"\t" << dtts2->code() <<
"\t" << dtts2->Ts2Tag() <<
"\t"
89 << dtts2->BxCnt() <<
"\t" << dtts2->RpcBit() << endl;
96 cout <<
"======================================================" << endl;
103 cout <<
"======================================================" << endl;
106 const std::vector<L1MuDTChambPhDigi>* vInCon = inphiDigis->
getContainer();
110 cout <<
"RPC->DT Inputs" << endl;
111 cout <<
"bx\twheel\tsector\tstation\tphi\tphib\tcode\tts2tag\tbxcnt\trpcbit" << endl;
113 for (
bx = -2;
bx <= 2;
bx++) {
115 for (sector = 0; sector < 12; sector++) {
121 cout << dtts1->bxNum() <<
"\t" << dtts1->whNum() <<
"\t" << dtts1->scNum() <<
"\t" << dtts1->stNum()
122 <<
"\t" << dtts1->phi() <<
"\t" << dtts1->phiB() <<
"\t" << dtts1->code() <<
"\t" << dtts1->Ts2Tag()
123 <<
"\t" << dtts1->BxCnt() <<
"\t0" << endl;
133 cout <<
"RPC Inputs" << endl;
134 cout <<
"bx\tring\tsector\tstation\troll\tlayer\tstrip\tphi\tlocalX" << endl;
138 for (
auto digi = (*chamber).second.first; digi != (*chamber).second.second; ++digi) {
139 RPCDigi digi_out(digi->strip(), digi->bx());
143 cout << digi->bx() <<
"\t" << detid.
ring() <<
"\t" << detid.
sector() - 1 <<
"\t" << detid.
station() <<
"\t"
144 << detid.
roll() <<
"\t" << detid.
layer() <<
"\t" << digi->strip() <<
"\t" << phi <<
"\t" << localx << endl;
149 cout <<
"TwinMux Output" << endl;
150 cout <<
"bx\twheel\tsector\tstation\tphi\tphib\tcode\tts2tag\tbxcnt\trpcbit" << endl;
152 for (
bx = -2;
bx <= 2;
bx++) {
154 for (sector = 0; sector < 12; sector++) {
158 if (dtts1 && dtts1->code() != 7) {
160 cout << dtts1->bxNum() <<
"\t" << dtts1->whNum() <<
"\t" << dtts1->scNum() <<
"\t" << dtts1->stNum() <<
"\t"
161 << dtts1->phi() <<
"\t" << dtts1->phiB() <<
"\t" << dtts1->code() <<
"\t" << dtts1->Ts2Tag() <<
"\t"
162 << dtts1->BxCnt() <<
"\t" << dtts1->RpcBit() << endl;
164 if (dtts2 && dtts2->code() != 7) {
166 cout << dtts2->bxNum() <<
"\t" << dtts2->whNum() <<
"\t" << dtts2->scNum() <<
"\t" << dtts2->stNum() <<
"\t"
167 << dtts2->phi() <<
"\t" << dtts2->phiB() <<
"\t" << dtts2->code() <<
"\t" << dtts2->Ts2Tag() <<
"\t"
168 << dtts2->BxCnt() <<
"\t" << dtts2->RpcBit() << endl;
175 cout <<
"======================================================" << endl;