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, ALCT_PATTERN_WIDTH = 5, 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 
ALCT_PATTERN_WIDTH 
NUM_LAYERS 
CLCT_PATTERN_WIDTH 

Definition at line 14 of file CSCALCTDigi.cc.

14 { NUM_LAYERS = 6, ALCT_PATTERN_WIDTH = 5 };

Function Documentation

◆ operator<<()

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

Definition at line 129 of file CSCALCTDigi.cc.

129  {
130  return o << "CSC ALCT #" << digi.getTrknmb() << ": Valid = " << digi.isValid() << " Quality = " << digi.getQuality()
131  << " Accel. = " << digi.getAccelerator() << " PatternB = " << digi.getCollisionB()
132  << " Key wire group = " << digi.getKeyWG() << " BX = " << digi.getBX() << " HMT = " << digi.getHMT();
133 }

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

CSCALCTDigi::getHMT
uint16_t getHMT() const
return the high multiplicity bits
Definition: CSCALCTDigi.cc:66
CSCALCTDigi::getBX
uint16_t getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
Definition: CSCALCTDigi.h:73
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
CSCALCTDigi::getKeyWG
uint16_t getKeyWG() const
return key wire group
Definition: CSCALCTDigi.h:67
CSCALCTDigi::getCollisionB
uint16_t getCollisionB() const
Definition: CSCALCTDigi.h:61
CSCALCTDigi::getQuality
uint16_t getQuality() const
return quality of a pattern
Definition: CSCALCTDigi.h:46
ALCT_PATTERN_WIDTH
Definition: CSCALCTDigi.cc:14
NUM_LAYERS
Definition: CSCALCTDigi.cc:14
CSCALCTDigi::getAccelerator
uint16_t getAccelerator() const
Definition: CSCALCTDigi.h:53
CSCALCTDigi::isValid
bool isValid() const
check ALCT validity (1 - valid ALCT)
Definition: CSCALCTDigi.h:40
CSCALCTDigi::getTrknmb
uint16_t getTrknmb() const
return track number (1,2)
Definition: CSCALCTDigi.h:79