CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 5 of file EESrFlag.cc.

5  {
6  s << digi.id() << " " << digi.flagName() << "(0x" << digi.value() << ")";
7  return s;
8 }

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

EcalSrFlag::value
int value() const
Definition: EcalSrFlag.h:44
EESrFlag::id
const EcalScDetId & id() const override
Definition: EESrFlag.h:37
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalSrFlag::flagName
static std::string flagName(const int &flag)
Definition: EcalSrFlag.h:60