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

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

Output operator.

Definition at line 118 of file CSCComparatorDigi.cc.

References CSCComparatorDigi::getComparator(), CSCComparatorDigi::getStrip(), and CSCComparatorDigi::getTimeBin().

118  {
119  return o << " " << digi.getStrip()
120  << " " << digi.getComparator()
121  << " " << digi.getTimeBin();
122 }
int getStrip() const
Get the strip number. Counts from 1.
int getComparator() const
Get Comparator readings. Can be 0 or 1.
int getTimeBin() const
Return bin number of first time bin which is ON. Counts from 0.