CMS 3D CMS Logo

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

Function Documentation

◆ operator<<()

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

Definition at line 97 of file CSCALCTPreTriggerDigi.cc.

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

97  {
98  return o << "CSC ALCT #" << digi.getTrknmb() << ": Valid = " << digi.isValid() << " Quality = " << digi.getQuality()
99  << " Accel. = " << digi.getAccelerator() << " PatternB = " << digi.getCollisionB()
100  << " Key wire group = " << digi.getKeyWG() << " BX = " << digi.getBX();
101 }
int getKeyWG() const
return key wire group
int getQuality() const
return quality of a pattern
bool isValid() const
check ALCT validity (1 - valid ALCT)
int getTrknmb() const
return track number (1,2)
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT