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 90 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().

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