CMS 3D CMS Logo

Functions
CSCComparatorDigi.cc File Reference
#include <DataFormats/CSCDigi/interface/CSCComparatorDigi.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <algorithm>
#include <iterator>

Go to the source code of this file.

Functions

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

Detailed Description

Author
M.Schmitt, Northwestern

Definition in file CSCComparatorDigi.cc.

Function Documentation

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

Output operator.

Definition at line 113 of file CSCComparatorDigi.cc.

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

113  {
114  return o << " " << digi.getStrip()
115  << " " << digi.getComparator()
116  << " " << digi.getTimeBin();
117 }
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.