CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZdcSimpleRecAlgo.h
Go to the documentation of this file.
1 #ifndef ZDCSIMPLERECALGO_H
2 #define ZDCSIMPLERECALGO_H 1
3 
17 #include <memory>
18 
38 public:
40  ZdcSimpleRecAlgo(bool correctForTimeslew,
41  bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac);
43  ZdcSimpleRecAlgo(int recoMethod);
44  void initPulseCorr(int toadd);
45  ZDCRecHit reconstruct(const ZDCDataFrame& digi, const std::vector<unsigned int>& myNoiseTS, const std::vector<unsigned int>& mySignalTS, const HcalCoder& coder, const HcalCalibrations& calibs) const;
46  HcalCalibRecHit reconstruct(const HcalCalibDataFrame& digi, const std::vector<unsigned int>& myNoiseTS, const std::vector<unsigned int>& mySignalTS, const HcalCoder& coder, const HcalCalibrations& calibs) const;
47 private:
51  float phaseNS_;
52  // new lowGainEnergy variables
54  double lowGainFrac_;
55  std::auto_ptr<HcalPulseContainmentCorrection> pulseCorr_;
56 };
57 
58 #endif
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::auto_ptr< HcalPulseContainmentCorrection > pulseCorr_
void initPulseCorr(int toadd)
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)