CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ESRecHitSimAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecAlgos_ESRecHitSimAlgo_HH
2 #define RecoLocalCalo_EcalRecAlgos_ESRecHitSimAlgo_HH
3 
11 
13 public:
14  void setESGain(float value) { gain_ = value; }
15  void setMIPGeV(float value) { MIPGeV_ = value; }
16  void setPedestals(const ESPedestals* peds) { peds_ = peds; }
17  void setIntercalibConstants(const ESIntercalibConstants* mips) { mips_ = mips; }
19  void setRatioCuts(const ESRecHitRatioCuts* ratioCuts) { ratioCuts_ = ratioCuts; }
21  void setW0(float value) { w0_ = value; }
22  void setW1(float value) { w1_ = value; }
23  void setW2(float value) { w2_ = value; }
24 
25  EcalRecHit reconstruct(const ESDataFrame& digi) const;
26 
27 private:
28  EcalRecHit::ESFlags evalAmplitude(float* result, const ESDataFrame& digi, float ped) const;
29 
30  double* oldEvalAmplitude(
31  const ESDataFrame& digi, const double& ped, const double& w0, const double& w1, const double& w2) const;
32  EcalRecHit oldreconstruct(const ESDataFrame& digi) const;
33 
34  int gain_;
40  float w0_;
41  float w1_;
42  float w2_;
43  float MIPGeV_;
44 };
45 
46 #endif
EcalRecHit reconstruct(const ESDataFrame &digi) const
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
void setW0(float value)
list status
Definition: mps_update.py:107
const ESPedestals * peds_
void setPedestals(const ESPedestals *peds)
void setMIPGeV(float value)
const ESIntercalibConstants * mips_
tuple result
Definition: mps_fire.py:311
void setW1(float value)
void setIntercalibConstants(const ESIntercalibConstants *mips)
void setRatioCuts(const ESRecHitRatioCuts *ratioCuts)
const ESChannelStatus * channelStatus_
EcalRecHit oldreconstruct(const ESDataFrame &digi) const
void setESGain(float value)
double * oldEvalAmplitude(const ESDataFrame &digi, const double &ped, const double &w0, const double &w1, const double &w2) const
const ESRecHitRatioCuts * ratioCuts_
const ESAngleCorrectionFactors * ang_
void setAngleCorrectionFactors(const ESAngleCorrectionFactors *ang)
void setW2(float value)
EcalRecHit::ESFlags evalAmplitude(float *result, const ESDataFrame &digi, float ped) const
void setChannelStatus(const ESChannelStatus *status)