CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCWireDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCWireDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <stdint.h>

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 73 of file CSCWireDigi.cc.

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

73  {
74  o << " CSC Wire " << digi.getWireGroup()
75  << " CSC Wire First Time Bin On " << digi.getTimeBin()
76  << " CSC Time Bins On ";
77  for (unsigned int i = 0; i<digi.getTimeBinsOn().size(); ++i ){
78  o <<" " <<digi.getTimeBinsOn()[i]; }
79  return o;
80 }
int i
Definition: DBlmapReader.cc:9
std::vector< int > getTimeBinsOn() const
return vector of time bins ON
Definition: CSCWireDigi.cc:48
int getWireGroup() const
default
Definition: CSCWireDigi.h:24
int getTimeBin() const
return first tbin ON number
Definition: CSCWireDigi.cc:37