test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HPDNoiseDataFrame.cc File Reference
#include "SimCalorimetry/HcalSimAlgos/interface/HPDNoiseDataFrame.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &fStream, const HPDNoiseDataFrame &fFrame)
 printout More...
 

Function Documentation

std::ostream& operator<< ( std::ostream &  fStream,
const HPDNoiseDataFrame fFrame 
)

printout

Definition at line 17 of file HPDNoiseDataFrame.cc.

References HPDNoiseDataFrame::charge(), i, and HPDNoiseDataFrame::id().

17  {
18  fStream << fFrame.id();
19  for (size_t i = 0; i < FRAMESIZE; ++i) fStream << ' ' << i << ':' << fFrame.charge (i);
20  return fStream;
21 }
int i
Definition: DBlmapReader.cc:9
float charge(unsigned i) const
charges corresponding to one timeslice of the channel
HcalDetId id() const
detId for the frame