CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 141 of file CSCCLCTDigi.cc.

References CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCFEB(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getStrip(), CSCCLCTDigi::getStripType(), CSCCLCTDigi::getTrknmb(), and CSCCLCTDigi::isValid().

141  {
142  return o << "CSC CLCT #" << digi.getTrknmb()
143  << ": Valid = " << digi.isValid()
144  << " Quality = " << digi.getQuality()
145  << " Pattern = " << digi.getPattern()
146  << " StripType = " << digi.getStripType()
147  << " Bend = " << digi.getBend()
148  << " Strip = " << digi.getStrip()
149  << " KeyStrip = " << digi.getKeyStrip()
150  << " CFEB = " << digi.getCFEB()
151  << " BX = " << digi.getBX();
152 }
int getQuality() const
return quality of a pattern (number of layers hit!)
Definition: CSCCLCTDigi.h:33
int getStrip() const
return halfstrip that goes from 0 to 31
Definition: CSCCLCTDigi.h:45
int getStripType() const
return striptype
Definition: CSCCLCTDigi.h:39
int getBend() const
return bend
Definition: CSCCLCTDigi.h:42
int getCFEB() const
return Key CFEB ID
Definition: CSCCLCTDigi.h:48
int getBX() const
return BX
Definition: CSCCLCTDigi.h:51
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:30
int getTrknmb() const
return track number (1,2)
Definition: CSCCLCTDigi.h:54
int getPattern() const
return pattern
Definition: CSCCLCTDigi.h:36
int getKeyStrip() const
Definition: CSCCLCTDigi.h:65