CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
EBDataFrame.cc File Reference
#include "DataFormats/EcalDigi/interface/EBDataFrame.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 29 of file EBDataFrame.cc.

References mps_fire::i, EBDataFrame::id(), alignCSCRings::s, and EcalDataFrame::size().

29  {
30  s << digi.id() << " " << digi.size() << " samples " << std::endl;
31  for (int i = 0; i < digi.size(); i++)
32  s << " " << digi[i] << std::endl;
33  return s;
34 }
key_type id() const
Definition: EBDataFrame.h:28
int size() const
Definition: EcalDataFrame.h:26