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
HFDataFrame.h
HcalCalibrations.h
ZdcSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition: ZdcSimpleRecAlgo.h:61
HcalCalibDataFrame.h
ZDCRecHit.h
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)
Definition: ZdcSimpleRecAlgo.cc:10
HcalCoder.h
HODataFrame.h
ZdcSimpleRecAlgo::pulseCorr_
std::unique_ptr< HcalPulseContainmentCorrection > pulseCorr_
Definition: ZdcSimpleRecAlgo.h:67
ZdcSimpleRecAlgo::phaseNS_
float phaseNS_
Definition: ZdcSimpleRecAlgo.h:63
HcalHitReconstructor_zdc_cfi.recoMethod
recoMethod
Definition: HcalHitReconstructor_zdc_cfi.py:13
HcalHitReconstructor_zdc_cfi.lowGainOffset
lowGainOffset
Definition: HcalHitReconstructor_zdc_cfi.py:14
HcalTimeSlew
Definition: HcalTimeSlew.h:19
ZdcSimpleRecAlgo::lowGainFrac_
double lowGainFrac_
Definition: ZdcSimpleRecAlgo.h:66
HFRecHit.h
ZDCDataFrame
Definition: ZDCDataFrame.h:15
HcalCalibrations
Definition: HcalCalibrations.h:9
HcalHitReconstructor_zdc_cfi.lowGainFrac
lowGainFrac
Definition: HcalHitReconstructor_zdc_cfi.py:15
HcalCalibDataFrame
Definition: HcalCalibDataFrame.h:15
ZdcSimpleRecAlgo::lowGainOffset_
int lowGainOffset_
Definition: ZdcSimpleRecAlgo.h:65
HcalCalibRecHit
Definition: HcalCalibRecHit.h:10
ZdcSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd, const HcalTimeSlew *hcalTimeSlew_delay)
Definition: ZdcSimpleRecAlgo.cc:21
ZdcSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition: ZdcSimpleRecAlgo.h:62
ZdcSimpleRecAlgo::recoMethod_
int recoMethod_
Definition: ZdcSimpleRecAlgo.h:60
ZdcSimpleRecAlgo
Definition: ZdcSimpleRecAlgo.h:36
ZDCDataFrame.h
HcalPulseContainmentCorrection.h
HcalCalibRecHit.h
HBHERecHit.h
castor_dqm_sourceclient-live_cfg.correctForTimeslew
correctForTimeslew
Definition: castor_dqm_sourceclient-live_cfg.py:60
HcalCoder
Definition: HcalCoder.h:19
ZDCRecHit
Definition: ZDCRecHit.h:11
HORecHit.h
ZdcSimpleRecAlgo::reconstruct
ZDCRecHit reconstruct(const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition: ZdcSimpleRecAlgo.cc:265
HBHEDataFrame.h