CMS 3D CMS Logo

Functions
CSCStripDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
#include "DataFormats/CSCDigi/interface/CSCConstants.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cstdint>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const CSCStripDigi &digi)
 

Detailed Description

Author
M.Schmitt, Northwestern

Definition in file CSCStripDigi.cc.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const CSCStripDigi digi 
)

Definition at line 63 of file CSCStripDigi.cc.

References CSCStripDigi::getADCCounts(), CSCStripDigi::getStrip(), mps_fire::i, and EcalTangentSkim_cfg::o.

63  {
64  o << " " << digi.getStrip();
65  for (size_t i = 0; i < digi.getADCCounts().size(); ++i) {
66  o << " " << (digi.getADCCounts())[i];
67  }
68  return o;
69 }
int getStrip() const
Definition: CSCStripDigi.h:41
std::vector< int > const & getADCCounts() const
Get ADC readings.
Definition: CSCStripDigi.h:47