#include "EventFilter/CSCRawToDigi/interface/CSCCFEBTimeSlice.h"
#include <cassert>
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const CSCCFEBTimeSlice &slice) |
Variables | |
unsigned | channelGrayCode [] = {0,1,3,2, 6,7,5,4, 12,13,15,14, 10,11,9,8} |
unsigned | channelInverseGrayCode [] = {0,1,3,2, 7,6,4,5, 15,14,12,13, 8,9,11,10} |
unsigned | layerGrayCode [] = {3,1,5,6,4,2} |
unsigned | layerInverseGrayCode [] = {1,5,0,4,2,3} |
std::ostream& operator<< | ( | std::ostream & | os, | |
const CSCCFEBTimeSlice & | slice | |||
) |
Definition at line 67 of file CSCCFEBTimeSlice.cc.
References lat::endl(), CSCCFEBTimeSlice::timeSample(), and value.
00068 { 00069 for(int ichannel = 1; ichannel <= 16; ++ichannel) 00070 { 00071 for(int ilayer = 1; ilayer <= 6; ++ilayer) 00072 { 00073 //unsigned index = (ilayer-1) + (ichannel-1)*6; 00074 //int value = (slice.timeSample(index))->adcCounts - 560; 00075 int value = (slice.timeSample(ilayer, ichannel))->adcCounts - 560; 00076 os << " " << std::setw(5) << std::dec << value; 00077 } 00078 os << std::endl; 00079 } 00080 return os; 00081 }
unsigned channelGrayCode[] = {0,1,3,2, 6,7,5,4, 12,13,15,14, 10,11,9,8} |
Definition at line 10 of file CSCCFEBTimeSlice.cc.
unsigned channelInverseGrayCode[] = {0,1,3,2, 7,6,4,5, 15,14,12,13, 8,9,11,10} |
unsigned layerGrayCode[] = {3,1,5,6,4,2} |
Definition at line 8 of file CSCCFEBTimeSlice.cc.
unsigned layerInverseGrayCode[] = {1,5,0,4,2,3} |