CMS 3D CMS Logo

HcalTriggerPrimitiveDigi.h File Reference

#include <ostream>
#include <vector>
#include "DataFormats/HcalDetId/interface/HcalTrigTowerDetId.h"
#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveSample.h"

Go to the source code of this file.

Classes

class  HcalTriggerPrimitiveDigi
 
Date
2006/07/17 16:51:59
Revision
1.8
More...

Defines

#define HCALTRIGGERPRIMITIVEDIGI_H   1

Functions

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


Define Documentation

#define HCALTRIGGERPRIMITIVEDIGI_H   1

Definition at line 2 of file HcalTriggerPrimitiveDigi.h.


Function Documentation

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

Definition at line 21 of file HcalTriggerPrimitiveDigi.cc.

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

00021                                                                             {
00022   s << digi.id() << " " << digi.size() << " samples " << std::endl;
00023   for (int i=0; i<digi.size(); i++) 
00024     s << "  " << digi.sample(i) << std::endl;
00025   return s;
00026 }


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