#include <HcalTimeSlewSim.h>
Public Member Functions | |
void | delay (CaloSamples &samples) const |
HcalTimeSlewSim (const CaloVSimParameterMap *parameterMap) | |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
Private Member Functions | |
double | charge (const CaloSamples &samples) const |
Private Attributes | |
const CaloVSimParameterMap * | theParameterMap |
CLHEP::RandGaussQ * | theRandGaussQ |
Applies a correction for time slewing Makes bigger signals come at a delayed time
Rick Wilkinson
Definition at line 15 of file HcalTimeSlewSim.h.
HcalTimeSlewSim::HcalTimeSlewSim | ( | const CaloVSimParameterMap * | parameterMap | ) |
Definition at line 11 of file HcalTimeSlewSim.cc.
|
private |
Definition at line 18 of file HcalTimeSlewSim.cc.
References newFWLiteAna::bin, i, CaloSamples::presamples(), and CaloSamples::size().
Referenced by delay().
void HcalTimeSlewSim::delay | ( | CaloSamples & | samples | ) | const |
Definition at line 31 of file HcalTimeSlewSim.cc.
References DetId::Calo, charge(), HcalTimeSlew::delay(), HcalSimParameters::doTimeSmear(), HcalBarrel, HcalEndcap, HcalOuter, CaloSamples::id(), LogDebug, HcalTimeSlew::Medium, CaloSamples::offsetTime(), plotscripts::rms(), CaloVSimParameterMap::simParameters(), HcalTimeSlew::Slow, HcalDetId::subdet(), HcalZDCDetId::SubdetectorId, theParameterMap, theRandGaussQ, and HcalSimParameters::timeSmearRMS().
Referenced by HcalAmplifier::amplify().
void HcalTimeSlewSim::setRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 63 of file HcalTimeSlewSim.cc.
References theRandGaussQ.
Referenced by HcalDigitizer::HcalDigitizer().
|
private |
Definition at line 27 of file HcalTimeSlewSim.h.
Referenced by delay().
|
private |
Definition at line 28 of file HcalTimeSlewSim.h.
Referenced by delay(), and setRandomEngine().