#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(), mps_fire::i, ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), and mps_update::status.
Referenced by reconstruct(), and setAngleCorrectionFactors().
EcalRecHit ESRecHitFitAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 82 of file ESRecHitFitAlgo.cc.
References ang_, channelStatus_, funct::cos(), randomXiThetaGunProducer_cfi::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_, mps_update::results, EcalRecHit::setFlag(), mps_update::status, and cscNeutronWriter_cfi::t0.
Referenced by ESRecHitWorker::run(), and setAngleCorrectionFactors().
|
inline |
Definition at line 27 of file ESRecHitFitAlgo.h.
References ang_, EvalAmplitude(), and reconstruct().
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 25 of file ESRecHitFitAlgo.h.
References channelStatus_, and mps_update::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().