#include <vector>
#include <ostream>
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/Common/interface/SortedCollection.h"
Go to the source code of this file.
Classes | |
class | HcalUpgradeDataFrame |
Typedefs | |
typedef edm::SortedCollection < HcalUpgradeDataFrame > | HcalUpgradeDigiCollection |
Functions | |
std::ostream & | operator<< (std::ostream &, const HcalUpgradeDataFrame &) |
Definition at line 53 of file HcalUpgradeDataFrame.h.
std::ostream& operator<< | ( | std::ostream & | , |
const HcalUpgradeDataFrame & | |||
) |
Definition at line 55 of file HcalUpgradeDataFrame.cc.
References HcalUpgradeDataFrame::adc(), HcalUpgradeDataFrame::capId(), i, HcalUpgradeDataFrame::id(), HcalUpgradeDataFrame::presamples(), alignCSCRings::s, HcalUpgradeDataFrame::size(), HcalUpgradeDataFrame::tdc(), and HcalUpgradeDataFrame::valid().
{ s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples \n"; for (int i=0; i<digi.size(); i++) { if ( i < digi.presamples() ) s << " (PRE) " ; else s << " " ; s << int(digi.capId(i)) << " (capId) "; s << int(digi.adc(i)) << " (adc) " ; s << int(digi.tdc(i)) << " (tdc) " ; if ( digi.valid(i) ) s << " (DV) " ; s << std::endl ; } return s; }