#include <ESRecHitSimAlgo.h>
Public Member Functions | |
ESRecHitSimAlgo () | |
double * | EvalAmplitude (const ESDataFrame &digi, const double &ped, const double &w0, const double &w1, const double &w2) 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) |
void | setW0 (const double &value) |
void | setW1 (const double &value) |
void | setW2 (const double &value) |
~ESRecHitSimAlgo () | |
Private Attributes | |
const ESAngleCorrectionFactors * | ang_ |
const ESChannelStatus * | channelStatus_ |
int | gain_ |
double | MIPGeV_ |
const ESIntercalibConstants * | mips_ |
const ESPedestals * | peds_ |
const ESRecHitRatioCuts * | ratioCuts_ |
double | w0_ |
double | w1_ |
double | w2_ |
Definition at line 12 of file ESRecHitSimAlgo.h.
ESRecHitSimAlgo::ESRecHitSimAlgo | ( | ) |
Definition at line 7 of file ESRecHitSimAlgo.cc.
|
inline |
Definition at line 17 of file ESRecHitSimAlgo.h.
double * ESRecHitSimAlgo::EvalAmplitude | ( | const ESDataFrame & | digi, |
const double & | ped, | ||
const double & | w0, | ||
const double & | w1, | ||
const double & | w2 | ||
) | const |
Definition at line 11 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 reconstruct().
EcalRecHit ESRecHitSimAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 69 of file ESRecHitSimAlgo.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_, python.entryComment::results, EcalRecHit::setOutOfTimeEnergy(), ntuplemaker::status, w0_, w1_, and w2_.
Referenced by ESRecHitWorker::run().
|
inline |
Definition at line 25 of file ESRecHitSimAlgo.h.
References ang_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitSimAlgo.h.
References channelStatus_, and ntuplemaker::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitSimAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitSimAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 20 of file ESRecHitSimAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitSimAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 24 of file ESRecHitSimAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 26 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w0_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 27 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w1_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 28 of file ESRecHitSimAlgo.h.
References relativeConstraints::value, and w2_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 40 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 38 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setChannelStatus().
|
private |
Definition at line 35 of file ESRecHitSimAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 44 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setMIPGeV().
|
private |
Definition at line 37 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 36 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setPedestals().
|
private |
Definition at line 39 of file ESRecHitSimAlgo.h.
Referenced by EvalAmplitude(), and setRatioCuts().
|
private |
Definition at line 41 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setW0().
|
private |
Definition at line 42 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setW1().
|
private |
Definition at line 43 of file ESRecHitSimAlgo.h.
Referenced by reconstruct(), and setW2().