CMS 3D CMS Logo

Functions | Variables
CSCCFEBTimeSlice.cc File Reference
#include "EventFilter/CSCRawToDigi/interface/CSCCFEBTimeSlice.h"
#include <cassert>
#include <iomanip>
#include <cstdint>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCCFEBTimeSlice &slice)
 

Variables

const unsigned channelInverseGrayCode [] = {0, 1, 3, 2, 7, 6, 4, 5, 15, 14, 12, 13, 8, 9, 11, 10}
 
const unsigned layerInverseGrayCode [] = {1, 5, 0, 4, 2, 3}
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const CSCCFEBTimeSlice slice 
)

Definition at line 69 of file CSCCFEBTimeSlice.cc.

69  {
70  for (int ichannel = 1; ichannel <= 16; ++ichannel) {
71  for (int ilayer = 1; ilayer <= 6; ++ilayer) {
72  //unsigned index = (ilayer-1) + (ichannel-1)*6;
73  //int value = (slice.timeSample(index))->adcCounts - 560;
74  int value = (slice.timeSample(ilayer, ichannel))->adcCounts - 560;
75  os << " " << std::setw(5) << std::dec << value;
76  }
77  os << std::endl;
78  }
79  return os;
80 }

References TauDecayModes::dec, mergeAndRegister::slice, and relativeConstraints::value.

Variable Documentation

◆ channelInverseGrayCode

const unsigned channelInverseGrayCode[] = {0, 1, 3, 2, 7, 6, 4, 5, 15, 14, 12, 13, 8, 9, 11, 10}

Definition at line 11 of file CSCCFEBTimeSlice.cc.

Referenced by CSCCFEBTimeSlice::timeSample().

◆ layerInverseGrayCode

const unsigned layerInverseGrayCode[] = {1, 5, 0, 4, 2, 3}

Definition at line 9 of file CSCCFEBTimeSlice.cc.

Referenced by CSCCFEBTimeSlice::timeSample().

value
Definition: value.py:1
relativeConstraints.value
value
Definition: relativeConstraints.py:53
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
mergeAndRegister.slice
slice
Definition: mergeAndRegister.py:121