#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 |
| |
Defines | |
#define | HCALTRIGGERPRIMITIVEDIGI_H 1 |
Functions | |
std::ostream & | operator<< (std::ostream &s, const HcalTriggerPrimitiveDigi &digi) |
#define HCALTRIGGERPRIMITIVEDIGI_H 1 |
Definition at line 2 of file HcalTriggerPrimitiveDigi.h.
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 }