#include <HFSimParameters.h>
Public Member Functions | |
double | fCtoGeV (const DetId &detId) const |
HFSimParameters (double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase) | |
HFSimParameters (const edm::ParameterSet &p) | |
double | photoelectronsToAnalog (const DetId &detId) const override |
double | samplingFactor () const |
void | setDbService (const HcalDbService *service) |
double | threshold_currentTDC () const |
~HFSimParameters () override | |
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 skipPe2Fc=false) | |
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 |
virtual double | simHitToPhotoelectrons (const DetId &) const |
bool | syncPhase () const |
double | timePhase () const |
the adjustment you need to apply to get the signal where you want it More... | |
virtual | ~CaloSimParameters () |
Private Attributes | |
const HcalDbService * | theDbService |
double | theSamplingFactor |
double | threshold_currentTDC_ |
Definition at line 8 of file HFSimParameters.h.
HFSimParameters::HFSimParameters | ( | double | simHitToPhotoelectrons, |
double | photoelectronsToAnalog, | ||
double | samplingFactor, | ||
double | timePhase, | ||
bool | syncPhase | ||
) |
Definition at line 10 of file HFSimParameters.cc.
HFSimParameters::HFSimParameters | ( | const edm::ParameterSet & | p | ) |
Definition at line 20 of file HFSimParameters.cc.
|
inlineoverride |
Definition at line 17 of file HFSimParameters.h.
double HFSimParameters::fCtoGeV | ( | const DetId & | detId | ) | const |
{
Definition at line 31 of file HFSimParameters.cc.
References cms::cuda::assert(), HcalDbService::getGain(), HcalDbService::getGainWidth(), HcalGain::getValue(), mps_fire::result, and theDbService.
Referenced by photoelectronsToAnalog().
|
overridevirtual |
Reimplemented from CaloSimParameters.
Definition at line 26 of file HFSimParameters.cc.
References fCtoGeV(), CaloSimParameters::simHitToPhotoelectrons(), and theSamplingFactor.
double HFSimParameters::samplingFactor | ( | ) | const |
|
inline |
Definition at line 19 of file HFSimParameters.h.
References theDbService.
Referenced by HcalSimParameterMap::setDbService().
|
inline |
Definition at line 26 of file HFSimParameters.h.
References threshold_currentTDC_.
Referenced by HcalElectronicsSim::analogToDigital().
|
private |
Definition at line 29 of file HFSimParameters.h.
Referenced by fCtoGeV(), and setDbService().
|
private |
Definition at line 30 of file HFSimParameters.h.
Referenced by photoelectronsToAnalog(), and samplingFactor().
|
private |
Definition at line 31 of file HFSimParameters.h.
Referenced by threshold_currentTDC().