CMS 3D CMS Logo

EcalTriggerPrimitiveDigi.h File Reference

#include <ostream>
#include <vector>
#include "DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h"
#include "DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h"

Go to the source code of this file.

Classes

class  EcalTriggerPrimitiveDigi
 $Id : $ More...

Defines

#define ECALTRIGGERPRIMITIVEDIGI_H   1

Functions

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


Define Documentation

#define ECALTRIGGERPRIMITIVEDIGI_H   1

Definition at line 2 of file EcalTriggerPrimitiveDigi.h.


Function Documentation

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

Definition at line 66 of file EcalTriggerPrimitiveDigi.cc.

References lat::endl(), i, EcalTriggerPrimitiveDigi::id(), EcalTriggerPrimitiveDigi::sample(), and EcalTriggerPrimitiveDigi::size().

00066                                                                             {
00067   s << digi.id() << " " << digi.size() << " samples " << std::endl;
00068   for (int i=0; i<digi.size(); i++) 
00069     s << "  " << digi.sample(i) << std::endl;
00070   return s;
00071 }


Generated on Tue Jun 9 17:52:01 2009 for CMSSW by  doxygen 1.5.4