#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 ECALTRIGGERPRIMITIVEDIGI_H 1 |
Definition at line 2 of file EcalTriggerPrimitiveDigi.h.
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 }