CMS 3D CMS Logo

Classes | Functions
CSCComparatorDigi.h File Reference
#include <iosfwd>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Classes

class  CSCComparatorDigi
 

Functions

std::ostream & operator<< (std::ostream &o, const CSCComparatorDigi &digi)
 Output operator. More...
 

Function Documentation

◆ operator<<()

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

Output operator.

Definition at line 102 of file CSCComparatorDigi.cc.

102  {
103  o << "CSCComparatorDigi Strip:" << digi.getStrip() << ", Comparator: " << digi.getComparator()
104  << ", First Time Bin On: " << digi.getTimeBin() << ", Time Bins On: ";
105  std::copy(digi.getTimeBinsOn().begin(), digi.getTimeBinsOn().end(), std::ostream_iterator<int>(o, " "));
106  return o;
107 }

References filterCSVwithJSON::copy, CSCComparatorDigi::getComparator(), CSCComparatorDigi::getStrip(), CSCComparatorDigi::getTimeBin(), CSCComparatorDigi::getTimeBinsOn(), and EcalTangentSkim_cfg::o.

filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
CSCComparatorDigi::getComparator
int getComparator() const
Get Comparator readings. Can be 0 or 1.
Definition: CSCComparatorDigi.h:35
CSCComparatorDigi::getTimeBin
int getTimeBin() const
Return bin number of first time bin which is ON. Counts from 0.
Definition: CSCComparatorDigi.cc:50
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
CSCComparatorDigi::getTimeBinsOn
std::vector< int > getTimeBinsOn() const
Definition: CSCComparatorDigi.cc:72
CSCComparatorDigi::getStrip
int getStrip() const
Get the strip number. Counts from 1.
Definition: CSCComparatorDigi.h:32