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, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac);
42  ZdcSimpleRecAlgo(int recoMethod);
43  void initPulseCorr(int toadd, const HcalTimeSlew* hcalTimeSlew_delay);
44  ZDCRecHit reconstruct(const ZDCDataFrame& digi, const std::vector<unsigned int>& myNoiseTS, const std::vector<unsigned int>& mySignalTS, const HcalCoder& coder, const HcalCalibrations& calibs) const;
45  HcalCalibRecHit reconstruct(const HcalCalibDataFrame& digi, const std::vector<unsigned int>& myNoiseTS, const std::vector<unsigned int>& mySignalTS, const HcalCoder& coder, const HcalCalibrations& calibs) const;
46 private:
50  float phaseNS_;
51  // new lowGainEnergy variables
53  double lowGainFrac_;
54  std::unique_ptr<HcalPulseContainmentCorrection> pulseCorr_;
55 };
56 
57 #endif
void initPulseCorr(int toadd, const HcalTimeSlew *hcalTimeSlew_delay)
ZDCRecHit reconstruct(const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)
std::unique_ptr< HcalPulseContainmentCorrection > pulseCorr_