CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 6 of file EBSrFlag.cc.

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

6  {
7  s << digi.id() << " "<< digi.flagName() << "(0x"
8  << digi.value() << ")";
9  return s;
10 }
int value() const
Definition: EcalSrFlag.h:45
static std::string flagName(const int &flag)
Definition: EcalSrFlag.h:63
const EcalTrigTowerDetId & id() const
Definition: EBSrFlag.h:37
string s
Definition: asciidump.py:422