#include <HcalAmplifier.h>
Public Member Functions | |
virtual void | amplify (CaloSamples &linearFrame, CLHEP::HepRandomEngine *) const |
HcalAmplifier (const CaloVSimParameterMap *parameters, bool addNoise, bool PreMix1, bool PreMix2) | |
void | setADCPeds (const HcalPedestals *ADCPeds) |
void | setCholesky (const HcalCholeskyMatrices *Cholesky) |
void | setDbService (const HcalDbService *service) |
the Producer will probably update this every event More... | |
void | setHBtuningParameter (double tp) |
void | setHEtuningParameter (double tp) |
void | setHFtuningParameter (double tp) |
void | setHOtuningParameter (double tp) |
void | setIonFeedbackSim (HPDIonFeedbackSim *feedbackSim) |
void | setNoiseSignalGenerator (const CaloVNoiseSignalGenerator *noiseSignalGenerator) |
void | setStartingCapId (int capId) |
void | setTimeSlewSim (HcalTimeSlewSim *timeSlewSim) |
void | setUseOldHB (bool useOld) |
void | setUseOldHE (bool useOld) |
void | setUseOldHF (bool useOld) |
void | setUseOldHO (bool useOld) |
virtual | ~HcalAmplifier () |
Private Member Functions | |
void | addPedestals (CaloSamples &frame, CLHEP::HepRandomEngine *) const |
void | makeNoise (const HcalCholeskyMatrix &thisChanCholesky, int fFrames, double *fGauss, double *fNoise, int m) const |
void | makeNoiseOld (HcalGenericDetId::HcalGenericSubdetector hcalSubDet, const HcalCalibrationWidths &width, int fFrames, double *fGauss, double *fNoise) const |
void | pe2fC (CaloSamples &frame) const |
Private Attributes | |
bool | addNoise_ |
double | HB_ff |
double | HE_ff |
double | HF_ff |
double | HO_ff |
const HcalPedestals * | myADCPeds |
const HcalCholeskyMatrices * | myCholeskys |
bool | preMixAdd_ |
bool | preMixDigi_ |
const HcalDbService * | theDbService |
HPDIonFeedbackSim * | theIonFeedbackSim |
const CaloVNoiseSignalGenerator * | theNoiseSignalGenerator |
const CaloVSimParameterMap * | theParameterMap |
unsigned | theStartingCapId |
HcalTimeSlewSim * | theTimeSlewSim |
bool | useOldHB |
bool | useOldHE |
bool | useOldHF |
bool | useOldHO |
Definition at line 23 of file HcalAmplifier.h.
HcalAmplifier::HcalAmplifier | ( | const CaloVSimParameterMap * | parameters, |
bool | addNoise, | ||
bool | PreMix1, | ||
bool | PreMix2 | ||
) |
Definition at line 24 of file HcalAmplifier.cc.
|
inlinevirtual |
Definition at line 27 of file HcalAmplifier.h.
|
private |
Definition at line 85 of file HcalAmplifier.cc.
|
virtual |
Definition at line 49 of file HcalAmplifier.cc.
Referenced by HcalElectronicsSim::convert().
|
private |
Definition at line 190 of file HcalAmplifier.cc.
|
private |
Definition at line 200 of file HcalAmplifier.cc.
|
private |
Definition at line 70 of file HcalAmplifier.cc.
|
inline |
|
inline |
void HcalAmplifier::setDbService | ( | const HcalDbService * | service | ) |
the Producer will probably update this every event
Definition at line 43 of file HcalAmplifier.cc.
void HcalAmplifier::setHBtuningParameter | ( | double | tp | ) |
Definition at line 76 of file HcalAmplifier.cc.
void HcalAmplifier::setHEtuningParameter | ( | double | tp | ) |
Definition at line 77 of file HcalAmplifier.cc.
void HcalAmplifier::setHFtuningParameter | ( | double | tp | ) |
Definition at line 78 of file HcalAmplifier.cc.
void HcalAmplifier::setHOtuningParameter | ( | double | tp | ) |
Definition at line 79 of file HcalAmplifier.cc.
|
inline |
|
inline |
if it's set, the amplifier will only use it to check if it has already added noise
Definition at line 35 of file HcalAmplifier.h.
References theNoiseSignalGenerator.
|
inline |
Definition at line 44 of file HcalAmplifier.h.
References theStartingCapId.
Referenced by HcalElectronicsSim::newEvent(), and HcalElectronicsSim::setStartingCapId().
|
inline |
void HcalAmplifier::setUseOldHB | ( | bool | useOld | ) |
Definition at line 80 of file HcalAmplifier.cc.
void HcalAmplifier::setUseOldHE | ( | bool | useOld | ) |
Definition at line 81 of file HcalAmplifier.cc.
void HcalAmplifier::setUseOldHF | ( | bool | useOld | ) |
Definition at line 82 of file HcalAmplifier.cc.
void HcalAmplifier::setUseOldHO | ( | bool | useOld | ) |
Definition at line 83 of file HcalAmplifier.cc.
|
private |
Definition at line 71 of file HcalAmplifier.h.
|
private |
Definition at line 79 of file HcalAmplifier.h.
|
private |
Definition at line 80 of file HcalAmplifier.h.
|
private |
Definition at line 81 of file HcalAmplifier.h.
|
private |
Definition at line 82 of file HcalAmplifier.h.
|
private |
Definition at line 67 of file HcalAmplifier.h.
Referenced by setADCPeds().
|
private |
Definition at line 66 of file HcalAmplifier.h.
Referenced by setCholesky().
|
private |
Definition at line 73 of file HcalAmplifier.h.
|
private |
Definition at line 72 of file HcalAmplifier.h.
|
private |
Definition at line 63 of file HcalAmplifier.h.
|
private |
Definition at line 68 of file HcalAmplifier.h.
Referenced by setIonFeedbackSim().
|
private |
Definition at line 65 of file HcalAmplifier.h.
Referenced by setNoiseSignalGenerator().
|
private |
Definition at line 64 of file HcalAmplifier.h.
|
private |
Definition at line 70 of file HcalAmplifier.h.
Referenced by setStartingCapId().
|
private |
Definition at line 69 of file HcalAmplifier.h.
Referenced by setTimeSlewSim().
|
private |
Definition at line 74 of file HcalAmplifier.h.
|
private |
Definition at line 75 of file HcalAmplifier.h.
|
private |
Definition at line 76 of file HcalAmplifier.h.
|
private |
Definition at line 77 of file HcalAmplifier.h.