CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 106 of file CSCComparatorDigi.cc.

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

106  {
107  return o << " " << digi.getStrip()
108  << " " << digi.getComparator()
109  << " " << digi.getTimeBin();
110 }
int getStrip() const
Get the strip number.
int getComparator() const
Get Comparator readings.
int getTimeBin() const
Return bin number of first time bin which is ON. Counts from 0.