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

◆ operator<<()

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

Definition at line 74 of file CSCWireDigi.cc.

74  {
75  o << " CSCWireDigi wg: " << digi.getWireGroup() << ", First Time Bin On: " << digi.getTimeBin() << ", Time Bins On: ";
76  std::copy(digi.getTimeBinsOn().begin(), digi.getTimeBinsOn().end(), std::ostream_iterator<int>(o, " "));
77  return o;
78 }

References filterCSVwithJSON::copy, CSCWireDigi::getTimeBin(), CSCWireDigi::getTimeBinsOn(), CSCWireDigi::getWireGroup(), and EcalTangentSkim_cfg::o.

filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
CSCWireDigi::getWireGroup
int getWireGroup() const
default
Definition: CSCWireDigi.h:22
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
CSCWireDigi::getTimeBinsOn
std::vector< int > getTimeBinsOn() const
return vector of time bins ON
Definition: CSCWireDigi.cc:48
CSCWireDigi::getTimeBin
int getTimeBin() const
return first tbin ON number
Definition: CSCWireDigi.cc:35