#include <ESRecHitSimAlgo.h>
Public Member Functions | |
EcalRecHit | reconstruct (const ESDataFrame &digi) const |
void | setAngleCorrectionFactors (const ESAngleCorrectionFactors *ang) |
void | setChannelStatus (const ESChannelStatus *status) |
void | setESGain (float value) |
void | setIntercalibConstants (const ESIntercalibConstants *mips) |
void | setMIPGeV (float value) |
void | setPedestals (const ESPedestals *peds) |
void | setRatioCuts (const ESRecHitRatioCuts *ratioCuts) |
void | setW0 (float value) |
void | setW1 (float value) |
void | setW2 (float value) |
Private Member Functions | |
EcalRecHit::ESFlags | evalAmplitude (float *result, const ESDataFrame &digi, float ped) const |
double * | oldEvalAmplitude (const ESDataFrame &digi, const double &ped, const double &w0, const double &w1, const double &w2) const |
EcalRecHit | oldreconstruct (const ESDataFrame &digi) const |
Private Attributes | |
const ESAngleCorrectionFactors * | ang_ |
const ESChannelStatus * | channelStatus_ |
int | gain_ |
float | MIPGeV_ |
const ESIntercalibConstants * | mips_ |
const ESPedestals * | peds_ |
const ESRecHitRatioCuts * | ratioCuts_ |
float | w0_ |
float | w1_ |
float | w2_ |
Definition at line 12 of file ESRecHitSimAlgo.h.
|
private |
Definition at line 12 of file ESRecHitSimAlgo.cc.
References ecalMGPA::adc(), ESSample::adc(), constexpr, JetChargeProducer_cfi::exp, f, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, EcalRecHit::kESBadRatioFor12, EcalRecHit::kESBadRatioFor23Lower, EcalRecHit::kESBadRatioFor23Upper, EcalRecHit::kESGood, EcalRecHit::kESSaturated, EcalRecHit::kESTS13Sigmas, EcalRecHit::kESTS1Largest, EcalRecHit::kESTS2Saturated, EcalRecHit::kESTS3Largest, EcalRecHit::kESTS3Negative, EcalRecHit::kESTS3Saturated, cmsBatch::log, LogDebug, gen::n, funct::pow(), ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, genVertex_cff::t0, w, w0_, w1_, and w2_.
Referenced by reconstruct(), and setW2().
|
private |
Definition at line 151 of file ESRecHitSimAlgo.cc.
References ecalMGPA::adc(), ESSample::adc(), JetChargeProducer_cfi::exp, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, cmsBatch::log, LogDebug, gen::n, funct::pow(), ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, genVertex_cff::t0, w, and w2.
Referenced by oldreconstruct(), and setW2().
|
private |
Definition at line 209 of file ESRecHitSimAlgo.cc.
References ang_, channelStatus_, funct::cos(), ESCondObjectContainer< T >::find(), ESCondObjectContainer< T >::getMap(), ESDataFrame::id(), createfilelist::int, EcalRecHit::kESBadRatioFor12, EcalRecHit::kESBadRatioFor23Lower, EcalRecHit::kESBadRatioFor23Upper, EcalRecHit::kESDead, EcalRecHit::kESGood, EcalRecHit::kESSaturated, EcalRecHit::kESTS13Sigmas, EcalRecHit::kESTS1Largest, EcalRecHit::kESTS2Saturated, EcalRecHit::kESTS3Largest, EcalRecHit::kESTS3Negative, EcalRecHit::kESTS3Saturated, LogDebug, MIPGeV_, mips_, oldEvalAmplitude(), peds_, EcalRecHit::setEnergyError(), mps_update::status, genVertex_cff::t0, w0_, w1_, and w2_.
Referenced by setW2().
EcalRecHit ESRecHitSimAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 73 of file ESRecHitSimAlgo.cc.
References funct::abs(), ang_, channelStatus_, evalAmplitude(), ESCondObjectContainer< T >::getMap(), ESDetId::hashedIndex(), ESDataFrame::id(), EcalRecHit::kESDead, LogDebug, MIPGeV_, mips_, peds_, ESCondObjectContainer< T >::preshower(), EcalRecHit::setEnergyError(), mps_update::status, and genVertex_cff::t0.
Referenced by ESRecHitWorker::run(), and setW2().
|
inline |
Definition at line 22 of file ESRecHitSimAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 20 of file ESRecHitSimAlgo.h.
References channelStatus_, and mps_update::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 16 of file ESRecHitSimAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitSimAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 17 of file ESRecHitSimAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 18 of file ESRecHitSimAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitSimAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w0_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 24 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w1_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 25 of file ESRecHitSimAlgo.h.
References evalAmplitude(), oldEvalAmplitude(), oldreconstruct(), reconstruct(), mps_fire::result, relativeConstraints::value, w2, and w2_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 43 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 41 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setChannelStatus().
|
private |
Definition at line 38 of file ESRecHitSimAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 47 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setMIPGeV().
|
private |
Definition at line 40 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 39 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setPedestals().
|
private |
Definition at line 42 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldEvalAmplitude(), and setRatioCuts().
|
private |
Definition at line 44 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW0().
|
private |
Definition at line 45 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW1().
|
private |
Definition at line 46 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW2().