CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSimpleRecAlgo.h
Go to the documentation of this file.
1 #ifndef HCALSIMPLERECALGO_H
2 #define HCALSIMPLERECALGO_H 1
3 
17 #include <memory>
18 
33 public:
35  HcalSimpleRecAlgo(bool correctForTimeslew,
36  bool correctForContainment, float fixedPhaseNs);
39 
40  void initPulseCorr(int toadd);
41 
42  // ugly hack related to HB- e-dependent corrections
43  void setForData();
44 
45  HBHERecHit reconstruct(const HBHEDataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
46  HFRecHit reconstruct(const HFDataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
47  HORecHit reconstruct(const HODataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
48  HcalCalibRecHit reconstruct(const HcalCalibDataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
49 private:
52  float phaseNS_;
53  std::auto_ptr<HcalPulseContainmentCorrection> pulseCorr_[11];
55 
56 
57 };
58 
59 #endif
std::auto_ptr< HcalPulseContainmentCorrection > pulseCorr_[11]
HBHERecHit reconstruct(const HBHEDataFrame &digi, int first, int toadd, const HcalCoder &coder, const HcalCalibrations &calibs) const
void initPulseCorr(int toadd)
bool first
Definition: L1TdeRCT.cc:79