#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 | ( | ) |
Definition at line 31 of file ESRecHitFitAlgo.cc.
References fit_.
double * ESRecHitFitAlgo::EvalAmplitude | ( | const ESDataFrame & | digi, |
double | ped | ||
) | const |
Definition at line 35 of file ESRecHitFitAlgo.cc.
References ecalMGPA::adc(), ESSample::adc(), fit_, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), i, ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), and ntuplemaker::status.
Referenced by reconstruct().
EcalRecHit ESRecHitFitAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 82 of file ESRecHitFitAlgo.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(), and ntuplemaker::status.
Referenced by ESRecHitWorker::run().
|
inline |
Definition at line 27 of file ESRecHitFitAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 25 of file ESRecHitFitAlgo.h.
References channelStatus_, and ntuplemaker::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitFitAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 24 of file ESRecHitFitAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitFitAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitFitAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 26 of file ESRecHitFitAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 39 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 37 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setChannelStatus().
|
private |
Definition at line 33 of file ESRecHitFitAlgo.h.
Referenced by ESRecHitFitAlgo(), EvalAmplitude(), and ~ESRecHitFitAlgo().
|
private |
Definition at line 34 of file ESRecHitFitAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 40 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setMIPGeV().
|
private |
Definition at line 36 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 35 of file ESRecHitFitAlgo.h.
Referenced by reconstruct(), and setPedestals().
|
private |
Definition at line 38 of file ESRecHitFitAlgo.h.
Referenced by EvalAmplitude(), and setRatioCuts().