CMS 3D CMS Logo

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
Definition: EcalRecHit.h:15
w2
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
ESRecHitSimAlgo::gain_
int gain_
Definition: ESRecHitSimAlgo.h:34
ESRecHitSimAlgo::setW1
void setW1(float value)
Definition: ESRecHitSimAlgo.h:22
ESRecHitSimAlgo::setW0
void setW0(float value)
Definition: ESRecHitSimAlgo.h:21
ESAngleCorrectionFactors.h
ESRecHitSimAlgo::setESGain
void setESGain(float value)
Definition: ESRecHitSimAlgo.h:14
ESIntercalibConstants.h
mps_update.status
status
Definition: mps_update.py:69
ESRecHitSimAlgo::w2_
float w2_
Definition: ESRecHitSimAlgo.h:42
ESRecHitSimAlgo::w1_
float w1_
Definition: ESRecHitSimAlgo.h:41
ESRecHitSimAlgo::ang_
const ESAngleCorrectionFactors * ang_
Definition: ESRecHitSimAlgo.h:39
ESRecHitSimAlgo::mips_
const ESIntercalibConstants * mips_
Definition: ESRecHitSimAlgo.h:36
ESDataFrame
Definition: ESDataFrame.h:10
ESDataFrame.h
ESRecHitSimAlgo::setChannelStatus
void setChannelStatus(const ESChannelStatus *status)
Definition: ESRecHitSimAlgo.h:18
ESPedestals.h
ESRecHitSimAlgo::MIPGeV_
float MIPGeV_
Definition: ESRecHitSimAlgo.h:43
ESRecHitSimAlgo::setMIPGeV
void setMIPGeV(float value)
Definition: ESRecHitSimAlgo.h:15
ESRecHitSimAlgo::setAngleCorrectionFactors
void setAngleCorrectionFactors(const ESAngleCorrectionFactors *ang)
Definition: ESRecHitSimAlgo.h:20
ESRecHitRatioCuts
Definition: ESRecHitRatioCuts.h:7
ESRecHitSimAlgo::evalAmplitude
EcalRecHit::ESFlags evalAmplitude(float *result, const ESDataFrame &digi, float ped) const
Definition: ESRecHitSimAlgo.cc:12
ESRecHitSimAlgo::setRatioCuts
void setRatioCuts(const ESRecHitRatioCuts *ratioCuts)
Definition: ESRecHitSimAlgo.h:19
ESRecHitRatioCuts.h
ESRecHitSimAlgo::peds_
const ESPedestals * peds_
Definition: ESRecHitSimAlgo.h:35
ESRecHitSimAlgo
Definition: ESRecHitSimAlgo.h:12
ESChannelStatus.h
ESRecHitSimAlgo::oldreconstruct
EcalRecHit oldreconstruct(const ESDataFrame &digi) const
Definition: ESRecHitSimAlgo.cc:225
value
Definition: value.py:1
ESRecHitSimAlgo::ratioCuts_
const ESRecHitRatioCuts * ratioCuts_
Definition: ESRecHitSimAlgo.h:38
ESRecHitSimAlgo::setIntercalibConstants
void setIntercalibConstants(const ESIntercalibConstants *mips)
Definition: ESRecHitSimAlgo.h:17
EcalRecHit::ESFlags
ESFlags
Definition: EcalRecHit.h:44
ESCondObjectContainer< ESPedestal >
EcalRecHit.h
ESRecHitSimAlgo::setW2
void setW2(float value)
Definition: ESRecHitSimAlgo.h:23
ESRecHitSimAlgo::oldEvalAmplitude
double * oldEvalAmplitude(const ESDataFrame &digi, const double &ped, const double &w0, const double &w1, const double &w2) const
Definition: ESRecHitSimAlgo.cc:156
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESRecHitSimAlgo::channelStatus_
const ESChannelStatus * channelStatus_
Definition: ESRecHitSimAlgo.h:37
mps_fire.result
result
Definition: mps_fire.py:303
ESRecHitSimAlgo::reconstruct
EcalRecHit reconstruct(const ESDataFrame &digi) const
Definition: ESRecHitSimAlgo.cc:82
ESRecHitSimAlgo::w0_
float w0_
Definition: ESRecHitSimAlgo.h:40
ESRecHitSimAlgo::setPedestals
void setPedestals(const ESPedestals *peds)
Definition: ESRecHitSimAlgo.h:16