CMS 3D CMS Logo

Classes | Functions
HBHEChannelInfo.h File Reference
#include <cfloat>
#include <iostream>
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/HcalRecHit/interface/HcalSpecialTimes.h"

Go to the source code of this file.

Classes

class  HBHEChannelInfo
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 21 of file HBHEChannelInfo.cc.

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 }

References dqmiodatasetharvest::inf, PresampleTask_cfi::nSamples, and alignCSCRings::s.

PresampleTask_cfi.nSamples
nSamples
Definition: PresampleTask_cfi.py:7
alignCSCRings.s
s
Definition: alignCSCRings.py:92
dqmiodatasetharvest.inf
inf
Definition: dqmiodatasetharvest.py:38