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

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

Definition at line 38 of file ME0TriggerDigi.cc.

References ME0TriggerDigi::getBend(), ME0TriggerDigi::getBX(), ME0TriggerDigi::getPattern(), ME0TriggerDigi::getQuality(), ME0TriggerDigi::getStrip(), and ME0TriggerDigi::getTrknmb().

39  {
40  return o << "ME0 Trigger #" << digi.getTrknmb()
41  << ": Quality = " << digi.getQuality()
42  << " Strip = " << digi.getStrip()
43  << " Pattern = " << digi.getPattern()
44  << " Bend = " << ((digi.getBend() == 0) ? 'L' : 'R') << "\n"
45  << " BX = " << digi.getBX()
46  << "\n";
47 }
int getPattern() const
return pattern
int getStrip() const
return the key strip
int getQuality() const
return the Quality
int getTrknmb() const
return track number
int getBX() const
return BX
int getBend() const
return bend