CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
HBHEChannelInfo.cc File Reference
#include "DataFormats/HcalRecHit/interface/HBHEChannelInfo.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HBHEChannelInfo &inf)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const HBHEChannelInfo inf 
)

Definition at line 21 of file HBHEChannelInfo.cc.

References HBHEChannelInfo::adc(), HBHEChannelInfo::capid(), HBHEChannelInfo::darkCurrent(), HBHEChannelInfo::dFcPerADC(), HBHEChannelInfo::fcByPE(), HBHEChannelInfo::gain(), HBHEChannelInfo::gainWidth(), HBHEChannelInfo::hasCapidError(), HBHEChannelInfo::hasEffectivePedestals(), HBHEChannelInfo::hasLinkError(), HBHEChannelInfo::hasTimeInfo(), HBHEChannelInfo::id(), HBHEChannelInfo::isDropped(), HBHEChannelInfo::lambda(), hgc_digi::nSamples, HBHEChannelInfo::nSamples(), HBHEChannelInfo::pedestal(), HBHEChannelInfo::pedestalWidth(), HBHEChannelInfo::rawCharge(), HBHEChannelInfo::recoShape(), HBHEChannelInfo::riseTime(), alignCSCRings::s, and HBHEChannelInfo::soi().

21  {
22  const unsigned nSamples = inf.nSamples();
23 
24  s << inf.id() << " :"
25  << " recoShape " << inf.recoShape() << " nSamples " << nSamples << " soi " << inf.soi() << " capid " << inf.capid()
26  << " hasTDC " << inf.hasTimeInfo() << " hasEffPeds " << inf.hasEffectivePedestals() << " dropped "
27  << inf.isDropped() << " linkErr " << inf.hasLinkError() << " capidErr " << inf.hasCapidError() << " darkI "
28  << inf.darkCurrent() << " fcByPE " << inf.fcByPE() << " lambda " << inf.lambda();
29  dumpArray(s, "rawCharge", inf.rawCharge(), nSamples);
30  dumpArray(s, "peds", inf.pedestal(), nSamples);
31  dumpArray(s, "noise", inf.pedestalWidth(), nSamples);
32  dumpArray(s, "gain", inf.gain(), nSamples);
33  dumpArray(s, "gainWidth", inf.gainWidth(), nSamples);
34  dumpArray(s, "dFcPerADC", inf.dFcPerADC(), nSamples);
35  dumpArrayAsUnsigned(s, "adc", inf.adc(), nSamples);
36  if (inf.hasTimeInfo()) {
37  dumpArray(s, "tdc", inf.riseTime(), nSamples);
38  }
39 
40  return s;
41 }
constexpr double const * pedestalWidth() const
constexpr unsigned nSamples() const
constexpr double const * rawCharge() const
constexpr bool hasTimeInfo() const
constexpr int recoShape() const
constexpr double const * gain() const
constexpr float const * dFcPerADC() const
constexpr bool isDropped() const
constexpr uint8_t const * adc() const
constexpr double lambda() const
constexpr double const * pedestal() const
constexpr HcalDetId id() const
constexpr int capid() const
constexpr size_t nSamples
constexpr unsigned soi() const
constexpr bool hasCapidError() const
constexpr double fcByPE() const
constexpr bool hasEffectivePedestals() const
constexpr bool hasLinkError() const
constexpr double const * gainWidth() const
constexpr float const * riseTime() const
constexpr double darkCurrent() const