CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 83 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().

84  {
85  return o << "CSC LCT #" << digi.getTrknmb()
86  << ": Valid = " << digi.isValid()
87  << " Quality = " << digi.getQuality()
88  << " MPC Link = " << digi.getMPCLink()
89  << " cscID = " << digi.getCSCID() << "\n"
90  <<" cathode info: Strip = " << digi.getStrip()
91  << " Pattern = " << digi.getPattern()
92  << " Bend = " << ((digi.getBend() == 0) ? 'L' : 'R') << "\n"
93  <<" anode info: Key wire = " << digi.getKeyWG()
94  << " BX = " << digi.getBX()
95  << " bx0 = " << digi.getBX0()
96  << " syncErr = " << digi.getSyncErr() << "\n";
97 }
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