CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCALCTDigi.cc File Reference
#include <DataFormats/CSCDigi/interface/CSCALCTDigi.h>
#include <iomanip>
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 100 of file CSCALCTDigi.cc.

References CSCALCTDigi::getAccelerator(), CSCALCTDigi::getBX(), CSCALCTDigi::getCollisionB(), CSCALCTDigi::getKeyWG(), CSCALCTDigi::getQuality(), CSCALCTDigi::getTrknmb(), and CSCALCTDigi::isValid().

100  {
101  return o << "CSC ALCT #" << digi.getTrknmb()
102  << ": Valid = " << digi.isValid()
103  << " Quality = " << digi.getQuality()
104  << " Accel. = " << digi.getAccelerator()
105  << " PatternB = " << digi.getCollisionB()
106  << " Key wire group = " << digi.getKeyWG()
107  << " BX = " << digi.getBX();
108 }
bool isValid() const
check ALCT validity (1 - valid ALCT)
Definition: CSCALCTDigi.h:30
int getTrknmb() const
return track number (1,2)
Definition: CSCALCTDigi.h:51
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
Definition: CSCALCTDigi.h:48
int getQuality() const
return quality of a pattern
Definition: CSCALCTDigi.h:33
int getAccelerator() const
Definition: CSCALCTDigi.h:37
int getKeyWG() const
return key wire group
Definition: CSCALCTDigi.h:45
int getCollisionB() const
Definition: CSCALCTDigi.h:42