Main class for Parameters in different subdetectors. More...
#include <CaloSimParameters.h>
Public Member Functions | |
int | binOfMaximum () const |
CaloSimParameters (const edm::ParameterSet &p, bool skipPe2Fc=false) | |
CaloSimParameters (double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase=true) | |
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... | |
virtual double | photoelectronsToAnalog (const DetId &detId) const |
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 | |
int | binOfMaximum_ |
bool | doPhotostatistics_ |
double | photoelectronsToAnalog_ |
int | readoutFrameSize_ |
double | simHitToPhotoelectrons_ |
bool | syncPhase_ |
double | timePhase_ |
Main class for Parameters in different subdetectors.
Definition at line 14 of file CaloSimParameters.h.
CaloSimParameters::CaloSimParameters | ( | double | simHitToPhotoelectrons, |
double | photoelectronsToAnalog, | ||
double | samplingFactor, | ||
double | timePhase, | ||
int | readoutFrameSize, | ||
int | binOfMaximum, | ||
bool | doPhotostatistics, | ||
bool | syncPhase = true |
||
) |
Definition at line 5 of file CaloSimParameters.cc.
CaloSimParameters::CaloSimParameters | ( | const edm::ParameterSet & | p, |
bool | skipPe2Fc = false |
||
) |
Definition at line 21 of file CaloSimParameters.cc.
References Exception, AlCaHLTBitMon_ParallelJobs::p, and photoelectronsToAnalog_.
|
inlinevirtual |
Definition at line 28 of file CaloSimParameters.h.
|
inline |
Definition at line 47 of file CaloSimParameters.h.
References binOfMaximum_.
Referenced by EcalDccWeightBuilder::computeAllWeights().
|
inline |
whether or not to apply Poisson statistics to photoelectrons
Definition at line 54 of file CaloSimParameters.h.
References doPhotostatistics_.
|
inline |
the factor which goes from photoelectrons to whatever gets read by ADCs
Definition at line 38 of file CaloSimParameters.h.
References photoelectronsToAnalog_.
Referenced by HcalSimParameters::simHitToPhotoelectrons().
|
inlinevirtual |
Reimplemented in HcalSimParameters, CastorSimParameters, and HFSimParameters.
Definition at line 39 of file CaloSimParameters.h.
References photoelectronsToAnalog_.
|
inline |
for now, the LinearFrames and trhe digis will be one-to-one.
Definition at line 45 of file CaloSimParameters.h.
References readoutFrameSize_.
Referenced by HcalDigitizer::finalizeEvent().
|
inline |
|
inline |
some datamixing apps need this to be set dynamically
Definition at line 50 of file CaloSimParameters.h.
References readoutFrameSize_.
|
inline |
the factor which goes from whatever units the SimHit amplitudes are in (could be deposited GeV, real GeV, or photoelectrons) and converts to photoelectrons probably should make everything virtual, but this is enough for HCAL
Definition at line 34 of file CaloSimParameters.h.
References simHitToPhotoelectrons_.
Referenced by HFSimParameters::photoelectronsToAnalog(), and HcalSimParameters::simHitToPhotoelectrons().
|
inlinevirtual |
Reimplemented in HcalSimParameters.
Definition at line 35 of file CaloSimParameters.h.
References simHitToPhotoelectrons_.
|
inline |
choice of the ADC time alignment (synchronous for LHC, asynchronous for test beams)
Definition at line 58 of file CaloSimParameters.h.
References syncPhase_.
|
inline |
the adjustment you need to apply to get the signal where you want it
Definition at line 42 of file CaloSimParameters.h.
References timePhase_.
Referenced by EcalDccWeightBuilder::computeAllWeights().
|
private |
Definition at line 65 of file CaloSimParameters.h.
Referenced by binOfMaximum(), and setBinOfMaximum().
|
private |
Definition at line 66 of file CaloSimParameters.h.
Referenced by doPhotostatistics().
|
private |
Definition at line 62 of file CaloSimParameters.h.
Referenced by CaloSimParameters(), and photoelectronsToAnalog().
|
private |
Definition at line 64 of file CaloSimParameters.h.
Referenced by readoutFrameSize(), and setReadoutFrameSize().
|
private |
Definition at line 61 of file CaloSimParameters.h.
Referenced by simHitToPhotoelectrons().
|
private |
Definition at line 67 of file CaloSimParameters.h.
Referenced by syncPhase().
|
private |
Definition at line 63 of file CaloSimParameters.h.
Referenced by timePhase().