CMS 3D CMS Logo

Classes | Functions
EBSrFlag.h File Reference
#include "DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h"
#include "DataFormats/EcalDigi/interface/EcalSrFlag.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Classes

class  EBSrFlag
 

Functions

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

Function Documentation

◆ operator<<()

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" << digi.value() << ")";
7  return s;
8 }
static std::string flagName(const int &flag)
Definition: EcalSrFlag.h:60
const EcalTrigTowerDetId & id() const override
Definition: EBSrFlag.h:36
int value() const
Definition: EcalSrFlag.h:44