CMS 3D CMS Logo

Classes | Functions
ME0TriggerDigi.h File Reference
#include <cstdint>
#include <iosfwd>
#include "DataFormats/GEMRecHit/interface/ME0Segment.h"

Go to the source code of this file.

Classes

class  ME0TriggerDigi
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 39 of file ME0TriggerDigi.cc.

References ME0TriggerDigi::getBend(), ME0TriggerDigi::getBX(), ME0TriggerDigi::getChamberid(), ME0TriggerDigi::getDeltaphi(), ME0TriggerDigi::getPartition(), ME0TriggerDigi::getPhiposition(), ME0TriggerDigi::getQuality(), ME0TriggerDigi::getStrip(), and EcalTangentSkim_cfg::o.

39  {
40  return o << "ME0 chamber id #" << digi.getChamberid() << " Partition = " << digi.getPartition()
41  << ": Quality = " << digi.getQuality() << " Phiposition = " << digi.getPhiposition()
42  << " Strip = " << digi.getStrip() << " deltaPhi = " << digi.getDeltaphi()
43  << " Bend = " << ((digi.getBend() == 0) ? 'L' : 'R') << "\n"
44  << " BX = " << digi.getBX() << "\n";
45 }
int getQuality() const
return the Quality
int getChamberid() const
return chamber number in one CTP7
int getBend() const
return bend
int getDeltaphi() const
return bending angle
int getStrip() const
return the key strip
int getPhiposition() const
return the phi position, resolution: half strip level
int getBX() const
return BX
int getPartition() const
return the key "partition"