CMS 3D CMS Logo

Functions
CSCCorrelatedLCTDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.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().

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