CMS 3D CMS Logo

Functions
CSCCFEBData.cc File Reference
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "EventFilter/CSCRawToDigi/interface/CSCCFEBData.h"
#include "EventFilter/CSCRawToDigi/interface/CSCCFEBTimeSlice.h"
#include "EventFilter/CSCRawToDigi/interface/CSCBadCFEBTimeSlice.h"
#include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
#include "DataFormats/CSCDigi/interface/CSCCFEBStatusDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <cassert>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCCFEBData &data)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const CSCCFEBData data 
)

Definition at line 311 of file CSCCFEBData.cc.

311  {
312  os << "printing CFEB data sample by sample " << std::endl;
313  for (unsigned ilayer = 1; ilayer <= 6; ++ilayer) {
314  for (unsigned channel = 1; channel <= 16; ++channel) {
315  unsigned strip = channel + data.boardNumber_ * 16;
316  os << "Strip " << strip << " ";
317  for (unsigned timeBin = 0; timeBin < data.nTimeSamples(); ++timeBin) {
318  os << data.adcCounts(ilayer, channel, timeBin) << " ";
319  }
320  os << std::endl;
321  }
322  }
323  return os;
324 }

References data, and digitizers_cfi::strip.

digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79