#include <HcalSimParameters.h>
Public Member Functions | |
bool | doSiPMSmearing () const |
bool | doTimeSmear () const |
double | fCtoGeV (const DetId &detId) const |
HcalSimParameters (double simHitToPhotoelectrons, const std::vector< double > &photoelectronsToAnalog, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase, int firstRing, const std::vector< double > &samplingFactors) | |
HcalSimParameters (const edm::ParameterSet &p) | |
virtual double | photoelectronsToAnalog (const DetId &detId) const |
int | pixels () const |
virtual double | samplingFactor (const DetId &detId) const |
void | setDbService (const HcalDbService *service) |
virtual double | simHitToPhotoelectrons (const DetId &detId) const |
double | timeSmearRMS (double ampl) const |
virtual | ~HcalSimParameters () |
Public Member Functions inherited from CaloSimParameters | |
int | binOfMaximum () const |
CaloSimParameters (double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase=true) | |
CaloSimParameters (const edm::ParameterSet &p) | |
bool | doPhotostatistics () const |
whether or not to apply Poisson statistics to photoelectrons More... | |
double | photoelectronsToAnalog () const |
the factor which goes from photoelectrons to whatever gets read by ADCs More... | |
int | readoutFrameSize () const |
for now, the LinearFrames and trhe digis will be one-to-one. More... | |
void | setBinOfMaximum (int binOfMax) |
void | setReadoutFrameSize (int frameSize) |
some datamixing apps need this to be set dynamically More... | |
double | simHitToPhotoelectrons () const |
bool | syncPhase () const |
choice of the ADC time alignment (synchronous for LHC, asynchronous for test beams) More... | |
double | timePhase () const |
the adjustment you need to apply to get the signal where you want it More... | |
virtual | ~CaloSimParameters () |
Private Member Functions | |
void | defaultTimeSmearing () |
Private Attributes | |
bool | doTimeSmear_ |
const HcalDbService * | theDbService |
int | theFirstRing |
std::vector< double > | thePE2fCByRing |
int | thePixels |
std::vector< double > | theSamplingFactors |
bool | theSiPMSmearing |
HcalTimeSmearSettings | theSmearSettings |
Friends | |
class | HcalSimParameterMap |
Definition at line 10 of file HcalSimParameters.h.
HcalSimParameters::HcalSimParameters | ( | double | simHitToPhotoelectrons, |
const std::vector< double > & | photoelectronsToAnalog, | ||
double | samplingFactor, | ||
double | timePhase, | ||
int | readoutFrameSize, | ||
int | binOfMaximum, | ||
bool | doPhotostatistics, | ||
bool | syncPhase, | ||
int | firstRing, | ||
const std::vector< double > & | samplingFactors | ||
) |
Definition at line 11 of file HcalSimParameters.cc.
References defaultTimeSmearing().
HcalSimParameters::HcalSimParameters | ( | const edm::ParameterSet & | p | ) |
Definition at line 29 of file HcalSimParameters.cc.
References defaultTimeSmearing(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), thePixels, and theSiPMSmearing.
|
inlinevirtual |
Definition at line 20 of file HcalSimParameters.h.
|
private |
Definition at line 97 of file HcalSimParameters.cc.
References GeV2fC, and theSmearSettings.
Referenced by HcalSimParameters().
|
inline |
Definition at line 38 of file HcalSimParameters.h.
References theSiPMSmearing.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
inline |
Definition at line 33 of file HcalSimParameters.h.
References doTimeSmear_.
Referenced by HcalTimeSlewSim::delay(), and HcalHitCorrection::delay().
double HcalSimParameters::fCtoGeV | ( | const DetId & | detId | ) | const |
{
Definition at line 61 of file HcalSimParameters.cc.
References HcalDbService::getGain(), HcalDbService::getGainWidth(), HcalGain::getValue(), query::result, and theDbService.
Referenced by simHitToPhotoelectrons().
|
virtual |
Reimplemented from CaloSimParameters.
Definition at line 87 of file HcalSimParameters.cc.
References HcalDetId::ietaAbs(), theFirstRing, and thePE2fCByRing.
|
inline |
Definition at line 37 of file HcalSimParameters.h.
References thePixels.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
virtual |
the ratio of actual incident energy to deposited energy in the SimHit
Definition at line 80 of file HcalSimParameters.cc.
References HcalDetId::ietaAbs(), theFirstRing, and theSamplingFactors.
Referenced by simHitToPhotoelectrons().
|
inline |
Definition at line 22 of file HcalSimParameters.h.
References theDbService.
Referenced by HcalSimParameterMap::setDbService().
|
virtual |
Reimplemented from CaloSimParameters.
Definition at line 47 of file HcalSimParameters.cc.
References fCtoGeV(), HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenZDC, CaloSimParameters::photoelectronsToAnalog(), query::result, samplingFactor(), and CaloSimParameters::simHitToPhotoelectrons().
double HcalSimParameters::timeSmearRMS | ( | double | ampl | ) | const |
Definition at line 115 of file HcalSimParameters.cc.
References first, i, and theSmearSettings.
Referenced by HcalTimeSlewSim::delay(), and HcalHitCorrection::delay().
|
friend |
Definition at line 40 of file HcalSimParameters.h.
|
private |
Definition at line 50 of file HcalSimParameters.h.
Referenced by doTimeSmear().
|
private |
Definition at line 44 of file HcalSimParameters.h.
Referenced by fCtoGeV(), and setDbService().
|
private |
Definition at line 45 of file HcalSimParameters.h.
Referenced by photoelectronsToAnalog(), and samplingFactor().
|
private |
Definition at line 47 of file HcalSimParameters.h.
Referenced by photoelectronsToAnalog().
|
private |
Definition at line 48 of file HcalSimParameters.h.
Referenced by HcalSimParameterMap::HcalSimParameterMap(), HcalSimParameters(), and pixels().
|
private |
Definition at line 46 of file HcalSimParameters.h.
Referenced by samplingFactor().
|
private |
Definition at line 49 of file HcalSimParameters.h.
Referenced by doSiPMSmearing(), and HcalSimParameters().
|
private |
Definition at line 51 of file HcalSimParameters.h.
Referenced by defaultTimeSmearing(), and timeSmearRMS().