CMS 3D CMS Logo

Functions
ME0TriggerDigi.cc File Reference
#include "DataFormats/GEMDigi/interface/ME0TriggerDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

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"