CMS 3D CMS Logo

Enumerations | 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.

Enumerations

enum  Pattern_Info { NUM_LAYERS = 6, CLCT_PATTERN_WIDTH = 11 }
 

Functions

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

Enumeration Type Documentation

◆ Pattern_Info

Enumerator
NUM_LAYERS 
CLCT_PATTERN_WIDTH 

Definition at line 14 of file CSCCLCTDigi.cc.

14 { NUM_LAYERS = 6, CLCT_PATTERN_WIDTH = 11 };

Function Documentation

◆ operator<<()

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

Definition at line 207 of file CSCCLCTDigi.cc.

207  {
208  return o << "CSC CLCT #" << digi.getTrknmb() << ": Valid = " << digi.isValid() << " Quality = " << digi.getQuality()
209  << " Pattern = " << digi.getPattern() << " StripType = " << digi.getStripType()
210  << " Bend = " << digi.getBend() << " Strip = " << digi.getStrip() << " KeyStrip = " << digi.getKeyStrip()
211  << " CFEB = " << digi.getCFEB() << " BX = " << digi.getBX() << " Comp Code " << digi.getCompCode();
212 }

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

CSCCLCTDigi::getTrknmb
uint16_t getTrknmb() const
return track number (1,2)
Definition: CSCCLCTDigi.h:105
CSCCLCTDigi::getCompCode
int16_t getCompCode() const
Definition: CSCCLCTDigi.h:125
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
CLCT_PATTERN_WIDTH
Definition: CSCCLCTDigi.cc:14
CSCCLCTDigi::getQuality
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
Definition: CSCCLCTDigi.h:51
CSCCLCTDigi::getBend
uint16_t getBend() const
return bend
Definition: CSCCLCTDigi.h:69
CSCCLCTDigi::getKeyStrip
uint16_t getKeyStrip(uint16_t n=2) const
Definition: CSCCLCTDigi.cc:87
CSCCLCTDigi::getStrip
uint16_t getStrip() const
return halfstrip that goes from 0 to 31 in a (D)CFEB
Definition: CSCCLCTDigi.cc:102
CSCCLCTDigi::getStripType
uint16_t getStripType() const
return striptype
Definition: CSCCLCTDigi.h:63
CSCCLCTDigi::isValid
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:45
CSCCLCTDigi::getBX
uint16_t getBX() const
return BX
Definition: CSCCLCTDigi.h:99
NUM_LAYERS
Definition: CSCCLCTDigi.cc:14
CSCCLCTDigi::getCFEB
uint16_t getCFEB() const
return Key CFEB ID
Definition: CSCCLCTDigi.h:93
CSCCLCTDigi::getPattern
uint16_t getPattern() const
return pattern
Definition: CSCCLCTDigi.h:57