CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
CSCCorrelatedLCTDigi.h File Reference
#include <boost/cstdint.hpp>
#include <iosfwd>

Go to the source code of this file.

Classes

class  CSCCorrelatedLCTDigi
 

Functions

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

Function Documentation

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

Definition at line 85 of file CSCCorrelatedLCTDigi.cc.

References CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getCSCID(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getMPCLink(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::getSyncErr(), CSCCorrelatedLCTDigi::getTrknmb(), and CSCCorrelatedLCTDigi::isValid().

86  {
87  return o << "CSC LCT #" << digi.getTrknmb()
88  << ": Valid = " << digi.isValid()
89  << " Quality = " << digi.getQuality()
90  << " MPC Link = " << digi.getMPCLink()
91  << " cscID = " << digi.getCSCID() << "\n"
92  <<" cathode info: Strip = " << digi.getStrip()
93  << " Pattern = " << digi.getPattern()
94  << " Bend = " << ((digi.getBend() == 0) ? 'L' : 'R') << "\n"
95  <<" anode info: Key wire = " << digi.getKeyWG()
96  << " BX = " << digi.getBX()
97  << " bx0 = " << digi.getBX0()
98  << " syncErr = " << digi.getSyncErr() << "\n";
99 }
int getStrip() const
return the key halfstrip from 0,159
uint16_t getSyncErr() const
int getQuality() const
return the 4 bit Correlated LCT Quality
int getBend() const
return bend
uint16_t getCSCID() const
int getTrknmb() const
return track number
int getBX() const
return BX
uint16_t getBX0() const
int getMPCLink() const
return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank
bool isValid() const
return valid pattern bit
int getPattern() const
return pattern
int getKeyWG() const
return the key wire group