CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HPDNoiseDataCatalog.cc File Reference
#include "SimCalorimetry/HcalSimAlgos/interface/HPDNoiseDataCatalog.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &fStream, const HPDNoiseDataCatalog &fCatalog)
 printout More...
 

Function Documentation

std::ostream& operator<< ( std::ostream &  fStream,
const HPDNoiseDataCatalog fCatalog 
)

printout

Definition at line 25 of file HPDNoiseDataCatalog.cc.

References HPDNoiseDataCatalog::getDischargeRate(), HPDNoiseDataCatalog::getElectronEmissionRate(), HPDNoiseDataCatalog::getIonFeedbackFirstPeakRate(), HPDNoiseDataCatalog::getIonFeedbackSecondPeakRate(), HPDNoiseDataCatalog::getName(), i, and HPDNoiseDataCatalog::size().

25  {
26  fStream << "Name:DischargeRate:IonFeedbackRate:ElectronEmissionRate";
27  for (size_t i = 0; i < fCatalog.size(); ++i) fStream << ' ' << fCatalog.getName (i) << ':'
28  << fCatalog.getDischargeRate(i) << ':'
29  << fCatalog.getIonFeedbackFirstPeakRate(i) << ':' << fCatalog.getIonFeedbackSecondPeakRate(i) << ':'
30  << fCatalog.getElectronEmissionRate(i);
31  return fStream;
32 }
int i
Definition: DBlmapReader.cc:9
const std::string & getName(size_t i) const
get name of the instance
float getElectronEmissionRate(size_t i) const
get thermal electron emission noise rate for the HPD instance
size_t size() const
total number
float getIonFeedbackSecondPeakRate(size_t i) const
float getIonFeedbackFirstPeakRate(size_t i) const
get ion feedback noise rate for the HPD instance
float getDischargeRate(size_t i) const
get noise rate for the HPD instance