test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CaloSimParameters.cc File Reference
#include "SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 42 of file CaloSimParameters.cc.

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

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