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
void setIntercalibConstants(const ESIntercalibConstants *mips)
const ESChannelStatus * channelStatus_
void setPedestals(const ESPedestals *peds)
void setRatioCuts(const ESRecHitRatioCuts *ratioCuts)
void setESGain(const double &value)
const ESRecHitRatioCuts * ratioCuts_
const ESAngleCorrectionFactors * ang_
void setMIPGeV(const double &value)
Definition: value.py:1
EcalRecHit reconstruct(const ESDataFrame &digi) const
void setAngleCorrectionFactors(const ESAngleCorrectionFactors *ang)
void setChannelStatus(const ESChannelStatus *status)
double * EvalAmplitude(const ESDataFrame &digi, double ped) const
const ESIntercalibConstants * mips_
const ESPedestals * peds_