CMS 3D CMS Logo

IntegerCaloSamples.h File Reference

#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"

Go to the source code of this file.

Classes

class  IntegerCaloSamples
 Class which represents the linear charge/voltage measurements of an event/channel, but with defined resolution. More...

Defines

#define INTEGERCALOSAMPLES_H   1

Functions

std::ostream & operator<< (std::ostream &s, const IntegerCaloSamples &samps)


Define Documentation

#define INTEGERCALOSAMPLES_H   1

Definition at line 2 of file IntegerCaloSamples.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const IntegerCaloSamples samps 
)

Definition at line 16 of file IntegerCaloSamples.cc.

References lat::endl(), i, IntegerCaloSamples::id(), DetId::rawId(), and IntegerCaloSamples::size().

00016                                                                          {
00017   s << "DetId=" << samples.id().rawId();
00018   s << ", "<<  samples.size() << "samples" << std::endl;
00019   for (int i=0; i<samples.size(); i++)
00020     s << i << ":" << samples[i] << std::endl;
00021   return s;
00022 }


Generated on Tue Jun 9 17:51:04 2009 for CMSSW by  doxygen 1.5.4