CMS 3D CMS Logo

Classes | Functions
CaloSimParameters.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  CaloSimParameters
 Main class for Parameters in different subdetectors. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const CaloSimParameters &p)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CaloSimParameters p 
)

Definition at line 41 of file CaloSimParameters.cc.

References CaloSimParameters::photoelectronsToAnalog(), and CaloSimParameters::simHitToPhotoelectrons().

41  {
42  DetId dummy(0);
43  os << "CALO SIM PARAMETERS" << std::endl;
44  os << p.simHitToPhotoelectrons(dummy) << " pe per SimHit energy " << std::endl;
45  os << p.photoelectronsToAnalog() << " Analog signal to be digitized per pe" << std::endl;
46  os << " Incident energy / SimHit Energy " << std::endl;
47  return os;
48 }
double simHitToPhotoelectrons() const
Definition: DetId.h:18
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs