CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
14  public:
15 
16  void setESGain(float value) { gain_ = value; }
17  void setMIPGeV(float value) { MIPGeV_ = value; }
18  void setPedestals(const ESPedestals* peds) { peds_ = peds; }
19  void setIntercalibConstants(const ESIntercalibConstants* mips) { mips_ = mips; }
21  void setRatioCuts(const ESRecHitRatioCuts* ratioCuts) { ratioCuts_ = ratioCuts; }
23  void setW0(float value) { w0_ = value; }
24  void setW1(float value) { w1_ = value; }
25  void setW2(float value) { w2_ = value; }
26 
27  EcalRecHit reconstruct(const ESDataFrame& digi) const;
28 
29  private:
30 
31  EcalRecHit::ESFlags evalAmplitude(float * result, const ESDataFrame& digi, float ped) const;
32 
33  double* oldEvalAmplitude(const ESDataFrame& digi, const double& ped, const double& w0, const double& w1, const double& w2) const;
34  EcalRecHit oldreconstruct(const ESDataFrame& digi) const;
35 
36 
37 
38  int gain_;
44  float w0_;
45  float w1_;
46  float w2_;
47  float MIPGeV_;
48 
49 };
50 
51 #endif
EcalRecHit reconstruct(const ESDataFrame &digi) const
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
void setW0(float value)
const ESPedestals * peds_
void setPedestals(const ESPedestals *peds)
void setMIPGeV(float value)
const ESIntercalibConstants * mips_
tuple result
Definition: mps_fire.py:95
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)
tuple status
Definition: mps_update.py:57