#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, relval_parameters_module::energy, create_public_lumi_plots::exp, f, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), i, EcalRecHit::kESBadRatioFor12, EcalRecHit::kESBadRatioFor23Lower, EcalRecHit::kESBadRatioFor23Upper, EcalRecHit::kESGood, EcalRecHit::kESSaturated, EcalRecHit::kESTS13Sigmas, EcalRecHit::kESTS1Largest, EcalRecHit::kESTS2Saturated, EcalRecHit::kESTS3Largest, EcalRecHit::kESTS3Negative, EcalRecHit::kESTS3Saturated, create_public_lumi_plots::log, LogDebug, n, funct::pow(), ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), ntuplemaker::status, w(), w0_, w1_, and w2_.
Referenced by reconstruct().
|
private |
Definition at line 144 of file ESRecHitSimAlgo.cc.
References ecalMGPA::adc(), ESSample::adc(), relval_parameters_module::energy, create_public_lumi_plots::exp, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), i, create_public_lumi_plots::log, LogDebug, n, funct::pow(), ratioCuts_, python.entryComment::results, ESDataFrame::sample(), ESDataFrame::size(), ntuplemaker::status, w(), and w2.
Referenced by oldreconstruct().
|
private |
Definition at line 202 of file ESRecHitSimAlgo.cc.
References ang_, channelStatus_, funct::cos(), relval_parameters_module::energy, ESCondObjectContainer< T >::find(), ESCondObjectContainer< T >::getMap(), ESDataFrame::id(), 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_, python.entryComment::results, EcalRecHit::setOutOfTimeEnergy(), ntuplemaker::status, w0_, w1_, and w2_.
EcalRecHit ESRecHitSimAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 69 of file ESRecHitSimAlgo.cc.
References funct::abs(), ang_, channelStatus_, relval_parameters_module::energy, evalAmplitude(), ESCondObjectContainer< T >::getMap(), ESDetId::hashedIndex(), ESDataFrame::id(), EcalRecHit::kESDead, LogDebug, MIPGeV_, mips_, peds_, ESCondObjectContainer< T >::preshower(), python.entryComment::results, EcalRecHit::setOutOfTimeEnergy(), and ntuplemaker::status.
Referenced by ESRecHitWorker::run().
|
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 ntuplemaker::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 relativeConstraints::value, 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().