#include <ESRecHitAnalyticAlgo.h>
Public Member Functions | |
ESRecHitAnalyticAlgo () | |
double * | EvalAmplitude (const ESDataFrame &digi, double ped) const |
EcalRecHit | reconstruct (const ESDataFrame &digi) const |
void | setAngleCorrectionFactors (const ESAngleCorrectionFactors *ang) |
void | setChannelStatus (const ESChannelStatus *status) |
void | setESGain (const double &value) |
void | setIntercalibConstants (const ESIntercalibConstants *mips) |
void | setMIPGeV (const double &value) |
void | setPedestals (const ESPedestals *peds) |
void | setRatioCuts (const ESRecHitRatioCuts *ratioCuts) |
~ESRecHitAnalyticAlgo () | |
Private Attributes | |
const ESAngleCorrectionFactors * | ang_ |
const ESChannelStatus * | channelStatus_ |
double | gain_ |
double | MIPGeV_ |
const ESIntercalibConstants * | mips_ |
const ESPedestals * | peds_ |
const ESRecHitRatioCuts * | ratioCuts_ |
Definition at line 12 of file ESRecHitAnalyticAlgo.h.
ESRecHitAnalyticAlgo::ESRecHitAnalyticAlgo | ( | ) |
Definition at line 7 of file ESRecHitAnalyticAlgo.cc.
ESRecHitAnalyticAlgo::~ESRecHitAnalyticAlgo | ( | ) |
Definition at line 9 of file ESRecHitAnalyticAlgo.cc.
double * ESRecHitAnalyticAlgo::EvalAmplitude | ( | const ESDataFrame & | digi, |
double | ped | ||
) | const |
Definition at line 11 of file ESRecHitAnalyticAlgo.cc.
References ESSample::adc(), gpuClustering::adc, funct::exp(), ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, log, dqmiodumpmetadata::n, funct::pow(), ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, FrontierCondition_GT_autoExpress_cfi::t0, and w.
Referenced by reconstruct().
EcalRecHit ESRecHitAnalyticAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 79 of file ESRecHitAnalyticAlgo.cc.
References ang_, channelStatus_, funct::cos(), relval_parameters_module::energy, EvalAmplitude(), 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_, peds_, bookConverter::results, EcalRecHit::setFlag(), mps_update::status, and FrontierCondition_GT_autoExpress_cfi::t0.
Referenced by ESRecHitWorker::run().
|
inline |
Definition at line 23 of file ESRecHitAnalyticAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitAnalyticAlgo.h.
References channelStatus_, and mps_update::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 17 of file ESRecHitAnalyticAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 20 of file ESRecHitAnalyticAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 18 of file ESRecHitAnalyticAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitAnalyticAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitAnalyticAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 33 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 31 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setChannelStatus().
|
private |
Definition at line 28 of file ESRecHitAnalyticAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 34 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setMIPGeV().
|
private |
Definition at line 30 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 29 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setPedestals().
|
private |
Definition at line 32 of file ESRecHitAnalyticAlgo.h.
Referenced by EvalAmplitude(), and setRatioCuts().