CMS 3D CMS Logo

Functions
CaloSimParameters.cc File Reference
#include "FWCore/Utilities/interface/Exception.h"
#include "SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.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 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