CMS 3D CMS Logo

ZdcSimpleRecAlgo.h
Go to the documentation of this file.
1 #ifndef ZDCSIMPLERECALGO_H
2 #define ZDCSIMPLERECALGO_H 1
3 
17 #include <memory>
18 
34 class HcalTimeSlew;
35 
37 public:
40  bool correctForContainment,
41  float fixedPhaseNs,
42  int recoMethod,
43  int lowGainOffset,
44  double lowGainFrac);
47  void initPulseCorr(int toadd, const HcalTimeSlew* hcalTimeSlew_delay);
49  const std::vector<unsigned int>& myNoiseTS,
50  const std::vector<unsigned int>& mySignalTS,
51  const HcalCoder& coder,
52  const HcalCalibrations& calibs) const;
54  const std::vector<unsigned int>& myNoiseTS,
55  const std::vector<unsigned int>& mySignalTS,
56  const HcalCoder& coder,
57  const HcalCalibrations& calibs) const;
58 
59 private:
63  float phaseNS_;
64  // new lowGainEnergy variables
66  double lowGainFrac_;
67  std::unique_ptr<HcalPulseContainmentCorrection> pulseCorr_;
68 };
69 
70 #endif
void initPulseCorr(int toadd, const HcalTimeSlew *hcalTimeSlew_delay)
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)
ZDCRecHit reconstruct(const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const
std::unique_ptr< HcalPulseContainmentCorrection > pulseCorr_