CMS 3D CMS Logo

Functions
EBSrFlag.cc File Reference
#include "DataFormats/EcalDigi/interface/EBSrFlag.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EBSrFlag &digi)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EBSrFlag digi 
)

Definition at line 5 of file EBSrFlag.cc.

References EcalSrFlag::flagName(), EBSrFlag::id(), alignCSCRings::s, and EcalSrFlag::value().

5  {
6  s << digi.id() << " "<< digi.flagName() << "(0x"
7  << digi.value() << ")";
8  return s;
9 }
int value() const
Definition: EcalSrFlag.h:44
static std::string flagName(const int &flag)
Definition: EcalSrFlag.h:62
const EcalTrigTowerDetId & id() const
Definition: EBSrFlag.h:36