CMS 3D CMS Logo

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 43 of file CaloSimParameters.cc.

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

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