CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
EESrFlag.h File Reference
#include "DataFormats/EcalDetId/interface/EcalScDetId.h"
#include "DataFormats/EcalDigi/interface/EcalSrFlag.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Classes

class  EESrFlag
 

Functions

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

Function Documentation

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

Definition at line 6 of file EESrFlag.cc.

References EcalSrFlag::flagName(), EESrFlag::id(), alignCSCRings::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 EcalScDetId & id() const
Definition: EESrFlag.h:38