#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 ESSample::adc(), gpuClustering::adc, HCALHighEnergyHPDFilter_cfi::energy, 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, dqm-mbProfile::log, LogDebug, dqmiodumpmetadata::n, funct::pow(), ratioCuts_, bookConverter::results, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, FrontierCondition_GT_autoExpress_cfi::t0, RandomServiceHelper::t1, w, w0_, w1_, and w2_.
Referenced by reconstruct().
|
private |
Definition at line 156 of file ESRecHitSimAlgo.cc.
References ESSample::adc(), gpuClustering::adc, HCALHighEnergyHPDFilter_cfi::energy, JetChargeProducer_cfi::exp, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, dqm-mbProfile::log, LogDebug, dqmiodumpmetadata::n, funct::pow(), ratioCuts_, bookConverter::results, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, FrontierCondition_GT_autoExpress_cfi::t0, RandomServiceHelper::t1, w, and w2.
Referenced by oldreconstruct().
|
private |
Definition at line 225 of file ESRecHitSimAlgo.cc.
References ang_, channelStatus_, funct::cos(), HCALHighEnergyHPDFilter_cfi::energy, 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_, bookConverter::results, EcalRecHit::setEnergyError(), mps_update::status, FrontierCondition_GT_autoExpress_cfi::t0, w0_, w1_, and w2_.
EcalRecHit ESRecHitSimAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 82 of file ESRecHitSimAlgo.cc.
References funct::abs(), ang_, channelStatus_, HCALHighEnergyHPDFilter_cfi::energy, evalAmplitude(), ESCondObjectContainer< T >::getMap(), ESDetId::hashedIndex(), ESDataFrame::id(), EcalRecHit::kESDead, LogDebug, MIPGeV_, mips_, peds_, ESCondObjectContainer< T >::preshower(), bookConverter::results, EcalRecHit::setEnergyError(), mps_update::status, and FrontierCondition_GT_autoExpress_cfi::t0.
Referenced by ESRecHitWorker::run().
|
inline |
Definition at line 20 of file ESRecHitSimAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 18 of file ESRecHitSimAlgo.h.
References channelStatus_, and mps_update::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 14 of file ESRecHitSimAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 17 of file ESRecHitSimAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 15 of file ESRecHitSimAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 16 of file ESRecHitSimAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitSimAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w0_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w1_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w2_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 39 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 37 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setChannelStatus().
|
private |
Definition at line 34 of file ESRecHitSimAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 43 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setMIPGeV().
|
private |
Definition at line 36 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 35 of file ESRecHitSimAlgo.h.
Referenced by oldreconstruct(), reconstruct(), and setPedestals().
|
private |
Definition at line 38 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldEvalAmplitude(), and setRatioCuts().
|
private |
Definition at line 40 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW0().
|
private |
Definition at line 41 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW1().
|
private |
Definition at line 42 of file ESRecHitSimAlgo.h.
Referenced by evalAmplitude(), oldreconstruct(), and setW2().