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 26 of file HPDNoiseDataCatalog.cc.

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

26  {
27  fStream << "Name:DischargeRate:IonFeedbackRate:ElectronEmissionRate";
28  for (size_t i = 0; i < fCatalog.size(); ++i) fStream << ' ' << fCatalog.getName (i) << ':'
29  << fCatalog.getDischargeRate(i) << ':'
30  << fCatalog.getIonFeedbackFirstPeakRate(i) << ':' << fCatalog.getIonFeedbackSecondPeakRate(i) << ':'
31  << fCatalog.getElectronEmissionRate(i);
32  return fStream;
33 }
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