#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 10 of file ESRecHitAnalyticAlgo.cc.
double * ESRecHitAnalyticAlgo::EvalAmplitude | ( | const ESDataFrame & | digi, |
double | ped | ||
) | const |
Definition at line 13 of file ESRecHitAnalyticAlgo.cc.
References ecalMGPA::adc(), ESSample::adc(), JetChargeProducer_cfi::exp, ESRecHitRatioCuts::getR12High(), ESRecHitRatioCuts::getR23High(), mps_fire::i, cmsBatch::log, gen::n, funct::pow(), ratioCuts_, ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, cscNeutronWriter_cfi::t0, and w.
Referenced by reconstruct(), and setAngleCorrectionFactors().
EcalRecHit ESRecHitAnalyticAlgo::reconstruct | ( | const ESDataFrame & | digi | ) | const |
Definition at line 73 of file ESRecHitAnalyticAlgo.cc.
References ang_, channelStatus_, funct::cos(), 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_, EcalRecHit::setFlag(), mps_update::status, and cscNeutronWriter_cfi::t0.
Referenced by ESRecHitWorker::run(), and setAngleCorrectionFactors().
|
inline |
Definition at line 25 of file ESRecHitAnalyticAlgo.h.
References ang_, EvalAmplitude(), and reconstruct().
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 23 of file ESRecHitAnalyticAlgo.h.
References channelStatus_, and mps_update::status.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 19 of file ESRecHitAnalyticAlgo.h.
References gain_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 22 of file ESRecHitAnalyticAlgo.h.
References mips_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 20 of file ESRecHitAnalyticAlgo.h.
References MIPGeV_, and relativeConstraints::value.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 21 of file ESRecHitAnalyticAlgo.h.
References peds_.
Referenced by ESRecHitWorker::set().
|
inline |
Definition at line 24 of file ESRecHitAnalyticAlgo.h.
References ratioCuts_.
Referenced by ESRecHitWorker::set().
|
private |
Definition at line 36 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setAngleCorrectionFactors().
|
private |
Definition at line 34 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setChannelStatus().
|
private |
Definition at line 31 of file ESRecHitAnalyticAlgo.h.
Referenced by setESGain().
|
private |
Definition at line 37 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setMIPGeV().
|
private |
Definition at line 33 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setIntercalibConstants().
|
private |
Definition at line 32 of file ESRecHitAnalyticAlgo.h.
Referenced by reconstruct(), and setPedestals().
|
private |
Definition at line 35 of file ESRecHitAnalyticAlgo.h.
Referenced by EvalAmplitude(), and setRatioCuts().