CMS 3D CMS Logo

Enumerations | Functions
CSCALCTDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCALCTDigi.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 CSCALCTDigi &digi)
 

Enumeration Type Documentation

◆ Pattern_Info

Enumerator
NUM_LAYERS 
CLCT_PATTERN_WIDTH 

Definition at line 17 of file CSCALCTDigi.cc.

17 { NUM_LAYERS = 6, ALCT_PATTERN_WIDTH = 5 };

Function Documentation

◆ operator<<()

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

Definition at line 135 of file CSCALCTDigi.cc.

References CSCALCTDigi::getAccelerator(), CSCALCTDigi::getBX(), CSCALCTDigi::getCollisionB(), CSCALCTDigi::getKeyWG(), CSCALCTDigi::getQuality(), CSCALCTDigi::getTrknmb(), CSCALCTDigi::isValid(), and EcalTangentSkim_cfg::o.

135  {
136  return o << "CSC ALCT #" << digi.getTrknmb() << ": Valid = " << digi.isValid() << " Quality = " << digi.getQuality()
137  << " Accel. = " << digi.getAccelerator() << " PatternB = " << digi.getCollisionB()
138  << " Key wire group = " << digi.getKeyWG() << " BX = " << digi.getBX();
139 }
bool isValid() const
check ALCT validity (1 - valid ALCT)
Definition: CSCALCTDigi.h:40
uint16_t getTrknmb() const
return track number (1,2)
Definition: CSCALCTDigi.h:79
uint16_t getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
Definition: CSCALCTDigi.h:73
uint16_t getQuality() const
return quality of a pattern
Definition: CSCALCTDigi.h:46
uint16_t getKeyWG() const
return key wire group
Definition: CSCALCTDigi.h:67
uint16_t getCollisionB() const
Definition: CSCALCTDigi.h:61
uint16_t getAccelerator() const
Definition: CSCALCTDigi.h:53