CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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(), and ME0TriggerDigi::getStrip().

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 getDeltaphi() const
return bending angle
int getStrip() const
return the key strip
int getPhiposition() const
return the phi position, resolution: half strip level
int getQuality() const
return the Quality
int getPartition() const
return the key &quot;partition&quot;
int getBX() const
return BX
int getBend() const
return bend
int getChamberid() const
return chamber number in one CTP7