CMS 3D CMS Logo

ESRecHitFitAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecAlgos_ESRecHitFitAlgo_HH
2 #define RecoLocalCalo_EcalRecAlgos_ESRecHitFitAlgo_HH
3 
11 
12 #include "TF1.h"
13 
15 public:
18 
19  void setESGain(const double& value) { gain_ = value; }
20  void setMIPGeV(const double& value) { MIPGeV_ = value; }
21  void setPedestals(const ESPedestals* peds) { peds_ = peds; }
22  void setIntercalibConstants(const ESIntercalibConstants* mips) { mips_ = mips; }
24  void setRatioCuts(const ESRecHitRatioCuts* ratioCuts) { ratioCuts_ = ratioCuts; }
26  double* EvalAmplitude(const ESDataFrame& digi, double ped) const;
27  EcalRecHit reconstruct(const ESDataFrame& digi) const;
28 
29 private:
30  TF1* fit_;
31  double gain_;
37  double MIPGeV_;
38 };
39 
40 #endif
ESRecHitFitAlgo::fit_
TF1 * fit_
Definition: ESRecHitFitAlgo.h:30
ESRecHitFitAlgo::mips_
const ESIntercalibConstants * mips_
Definition: ESRecHitFitAlgo.h:33
EcalRecHit
Definition: EcalRecHit.h:15
ESAngleCorrectionFactors.h
ESRecHitFitAlgo::setIntercalibConstants
void setIntercalibConstants(const ESIntercalibConstants *mips)
Definition: ESRecHitFitAlgo.h:22
ESIntercalibConstants.h
ESRecHitFitAlgo::ESRecHitFitAlgo
ESRecHitFitAlgo()
Definition: ESRecHitFitAlgo.cc:24
mps_update.status
status
Definition: mps_update.py:68
ESRecHitFitAlgo::setChannelStatus
void setChannelStatus(const ESChannelStatus *status)
Definition: ESRecHitFitAlgo.h:23
ESRecHitFitAlgo::channelStatus_
const ESChannelStatus * channelStatus_
Definition: ESRecHitFitAlgo.h:34
ESRecHitFitAlgo::setPedestals
void setPedestals(const ESPedestals *peds)
Definition: ESRecHitFitAlgo.h:21
ESDataFrame
Definition: ESDataFrame.h:10
ESRecHitFitAlgo::gain_
double gain_
Definition: ESRecHitFitAlgo.h:31
ESDataFrame.h
ESPedestals.h
ESRecHitFitAlgo::ang_
const ESAngleCorrectionFactors * ang_
Definition: ESRecHitFitAlgo.h:36
EcalRecHit.h
ESRecHitRatioCuts
Definition: ESRecHitRatioCuts.h:7
ESRecHitRatioCuts.h
ESRecHitFitAlgo
Definition: ESRecHitFitAlgo.h:14
ESChannelStatus.h
ESRecHitFitAlgo::reconstruct
EcalRecHit reconstruct(const ESDataFrame &digi) const
Definition: ESRecHitFitAlgo.cc:87
ESRecHitFitAlgo::setMIPGeV
void setMIPGeV(const double &value)
Definition: ESRecHitFitAlgo.h:20
value
Definition: value.py:1
ESRecHitFitAlgo::setAngleCorrectionFactors
void setAngleCorrectionFactors(const ESAngleCorrectionFactors *ang)
Definition: ESRecHitFitAlgo.h:25
ESRecHitFitAlgo::setRatioCuts
void setRatioCuts(const ESRecHitRatioCuts *ratioCuts)
Definition: ESRecHitFitAlgo.h:24
ESCondObjectContainer< ESPedestal >
ESRecHitFitAlgo::peds_
const ESPedestals * peds_
Definition: ESRecHitFitAlgo.h:32
ESRecHitFitAlgo::EvalAmplitude
double * EvalAmplitude(const ESDataFrame &digi, double ped) const
Definition: ESRecHitFitAlgo.cc:31
ESRecHitFitAlgo::~ESRecHitFitAlgo
~ESRecHitFitAlgo()
Definition: ESRecHitFitAlgo.cc:29
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESRecHitFitAlgo::MIPGeV_
double MIPGeV_
Definition: ESRecHitFitAlgo.h:37
ESRecHitFitAlgo::ratioCuts_
const ESRecHitRatioCuts * ratioCuts_
Definition: ESRecHitFitAlgo.h:35
ESRecHitFitAlgo::setESGain
void setESGain(const double &value)
Definition: ESRecHitFitAlgo.h:19