#include <ESRecHitFitAlgo.h>
Public Member Functions | |
ESRecHitFitAlgo () | |
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) |
~ESRecHitFitAlgo () | |
Private Attributes | |
const ESAngleCorrectionFactors * | ang_ |
const ESChannelStatus * | channelStatus_ |
TF1 * | fit_ |
double | gain_ |
double | MIPGeV_ |
const ESIntercalibConstants * | mips_ |
const ESPedestals * | peds_ |
const ESRecHitRatioCuts * | ratioCuts_ |
Definition at line 14 of file ESRecHitFitAlgo.h.
ESRecHitFitAlgo::ESRecHitFitAlgo | ( | ) |
Definition at line 24 of file ESRecHitFitAlgo.cc.
ESRecHitFitAlgo::~ESRecHitFitAlgo | ( | ) |
double * ESRecHitFitAlgo::EvalAmplitude | ( | const ESDataFrame & | digi, |
double | ped | ||
) | const |
Definition at line 31 of file ESRecHitFitAlgo.cc.
References ESSample::adc(), gpuClustering::adc, fit_, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), and mps_update::status.
Referenced by reconstruct().
EcalRecHit ESRecHitFitAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 87 of file ESRecHitFitAlgo.cc.
References ang_, channelStatus_, funct::cos(), hcalRecHitTable_cff::energy, EvalAmplitude(), 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_, peds_, mysort::results, EcalRecHit::setFlag(), mps_update::status, and FrontierCondition_GT_autoExpress_cfi::t0.
Referenced by ESRecHitWorker::run().
|
inline |
Definition at line 25 of file ESRecHitFitAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitFitAlgo.h.
References channelStatus_, and mps_update::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitFitAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitFitAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 20 of file ESRecHitFitAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitFitAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 24 of file ESRecHitFitAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 36 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 34 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setChannelStatus().
|
private |
Definition at line 30 of file ESRecHitFitAlgo.h.
Referenced by ESRecHitFitAlgo(), EvalAmplitude(), and ~ESRecHitFitAlgo().
|
private |
Definition at line 31 of file ESRecHitFitAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 37 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setMIPGeV().
|
private |
Definition at line 33 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 32 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setPedestals().
|
private |
Definition at line 35 of file ESRecHitFitAlgo.h.
Referenced by EvalAmplitude(), and setRatioCuts().