CMS 3D CMS Logo

Functions
CSCWireDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCWireDigi.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 CSCWireDigi &digi)
 

Function Documentation

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

Definition at line 77 of file CSCWireDigi.cc.

References CSCWireDigi::getTimeBin(), CSCWireDigi::getTimeBinsOn(), CSCWireDigi::getWireGroup(), mps_fire::i, and connectstrParser::o.

77  {
78  o << " CSC Wire " << digi.getWireGroup() << " CSC Wire First Time Bin On " << digi.getTimeBin()
79  << " CSC Time Bins On ";
80  for (unsigned int i = 0; i < digi.getTimeBinsOn().size(); ++i) {
81  o << " " << digi.getTimeBinsOn()[i];
82  }
83  return o;
84 }
std::vector< int > getTimeBinsOn() const
return vector of time bins ON
Definition: CSCWireDigi.cc:48
int getWireGroup() const
default
Definition: CSCWireDigi.h:22
int getTimeBin() const
return first tbin ON number
Definition: CSCWireDigi.cc:35