CMS 3D CMS Logo

HcalSimpleRecAlgo.h
Go to the documentation of this file.
1 #ifndef HCALSIMPLERECALGO_H
2 #define HCALSIMPLERECALGO_H 1
3 
4 #include <memory>
5 
19 
21 
35 public:
37  HcalSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs);
38 
39  void beginRun(edm::EventSetup const& es);
40  void endRun();
41 
42  void initPulseCorr(int toadd);
43 
44  // set RecoParams channel-by-channel.
45  void setRecoParams(
46  bool correctForTimeslew, bool correctForPulse, bool setLeakCorrection, int pileupCleaningID, float phaseNS);
47 
48  // usage of leak correction
49  void setLeakCorrection();
50 
51  // set OOT pileup corrections
52  void setHFPileupCorrection(std::shared_ptr<AbsOOTPileupCorrection> corr);
53  void setHOPileupCorrection(std::shared_ptr<AbsOOTPileupCorrection> corr);
54 
55  // Set bunch crossing information.
56  // This object will not manage the pointer.
57  void setBXInfo(const BunchXParameter* info, unsigned lenInfo);
58 
60  const HFDataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
62  const QIE10DataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
63 
65  const HODataFrame& digi, int first, int toadd, const HcalCoder& coder, const HcalCalibrations& calibs) const;
67  int first,
68  int toadd,
69  const HcalCoder& coder,
70  const HcalCalibrations& calibs) const;
71 
72 private:
75  float phaseNS_;
76  std::unique_ptr<HcalPulseContainmentManager> pulseCorr_;
77  int runnum_; // data run numer
80  const BunchXParameter* bunchCrossingInfo_;
82  std::shared_ptr<AbsOOTPileupCorrection> hbhePileupCorr_;
83  std::shared_ptr<AbsOOTPileupCorrection> hfPileupCorr_;
84  std::shared_ptr<AbsOOTPileupCorrection> hoPileupCorr_;
85 
87 
89 
91 };
92 
93 #endif
HcalSimpleRecAlgo::runnum_
int runnum_
Definition: HcalSimpleRecAlgo.h:77
HFDataFrame.h
HcalCalibrations.h
HcalCalibDataFrame.h
HcalPulseContainmentManager.h
HORecHit
Definition: HORecHit.h:11
ZDCRecHit.h
HcalPulseShapes
Definition: HcalPulseShapes.h:21
HcalCoder.h
HcalSimpleRecAlgo::setBXInfo
void setBXInfo(const BunchXParameter *info, unsigned lenInfo)
Definition: HcalSimpleRecAlgo.cc:58
HODataFrame.h
HcalSimpleRecAlgo::setHFPileupCorrection
void setHFPileupCorrection(std::shared_ptr< AbsOOTPileupCorrection > corr)
Definition: HcalSimpleRecAlgo.cc:54
HcalTimeSlew.h
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:152
HcalSimpleRecAlgo::beginRun
void beginRun(edm::EventSetup const &es)
Definition: HcalSimpleRecAlgo.cc:31
dqmdumpme.first
first
Definition: dqmdumpme.py:55
HcalTimeSlew
Definition: HcalTimeSlew.h:19
HcalSimpleRecAlgo::phaseNS_
float phaseNS_
Definition: HcalSimpleRecAlgo.h:75
HFRecHit
Definition: HFRecHit.h:11
HcalSimpleRecAlgo::pulseCorr_
std::unique_ptr< HcalPulseContainmentManager > pulseCorr_
Definition: HcalSimpleRecAlgo.h:76
HcalSimpleRecAlgo::puCorrMethod_
int puCorrMethod_
Definition: HcalSimpleRecAlgo.h:88
HcalSimpleRecAlgo::setLeakCorrection_
bool setLeakCorrection_
Definition: HcalSimpleRecAlgo.h:78
HFRecHit.h
alignCSCRings.corr
dictionary corr
Definition: alignCSCRings.py:124
HcalSimpleRecAlgo::lenBunchCrossingInfo_
unsigned lenBunchCrossingInfo_
Definition: HcalSimpleRecAlgo.h:81
HcalSimpleRecAlgo::theHcalPulseShapes_
HcalPulseShapes theHcalPulseShapes_
Definition: HcalSimpleRecAlgo.h:86
HcalSimpleRecAlgo::bunchCrossingInfo_
const BunchXParameter * bunchCrossingInfo_
Definition: HcalSimpleRecAlgo.h:80
HcalCalibrations
Definition: HcalCalibrations.h:9
HcalSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition: HcalSimpleRecAlgo.h:73
AbsOOTPileupCorrection.h
HcalCalibDataFrame
Definition: HcalCalibDataFrame.h:15
HcalSimpleRecAlgo::hbhePileupCorr_
std::shared_ptr< AbsOOTPileupCorrection > hbhePileupCorr_
Definition: HcalSimpleRecAlgo.h:82
HcalCalibRecHit
Definition: HcalCalibRecHit.h:10
HcalSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd)
Definition: HcalSimpleRecAlgo.cc:41
QIE10DataFrame.h
HcalSimpleRecAlgo::reconstructQIE10
HFRecHit reconstructQIE10(const QIE10DataFrame &digi, int first, int toadd, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition: HcalSimpleRecAlgo.cc:419
HFDataFrame
Definition: HFDataFrame.h:14
ZDCDataFrame.h
HcalSimpleRecAlgo::setRecoParams
void setRecoParams(bool correctForTimeslew, bool correctForPulse, bool setLeakCorrection, int pileupCleaningID, float phaseNS)
Definition: HcalSimpleRecAlgo.cc:43
edm::EventSetup
Definition: EventSetup.h:57
HcalCalibRecHit.h
HcalSimpleRecAlgo::setLeakCorrection
void setLeakCorrection()
Definition: HcalSimpleRecAlgo.cc:52
HcalSimpleRecAlgo::HcalSimpleRecAlgo
HcalSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs)
Definition: HcalSimpleRecAlgo.cc:20
castor_dqm_sourceclient-live_cfg.correctForTimeslew
correctForTimeslew
Definition: castor_dqm_sourceclient-live_cfg.py:60
QIE10DataFrame
Definition: QIE10DataFrame.h:11
HODataFrame
Definition: HODataFrame.h:14
HcalSimpleRecAlgo::setHOPileupCorrection
void setHOPileupCorrection(std::shared_ptr< AbsOOTPileupCorrection > corr)
Definition: HcalSimpleRecAlgo.cc:56
HcalCoder
Definition: HcalCoder.h:19
HcalSimpleRecAlgo
Definition: HcalSimpleRecAlgo.h:34
HORecHit.h
HcalSimpleRecAlgo::hoPileupCorr_
std::shared_ptr< AbsOOTPileupCorrection > hoPileupCorr_
Definition: HcalSimpleRecAlgo.h:84
HcalSimpleRecAlgo::pileupCleaningID_
int pileupCleaningID_
Definition: HcalSimpleRecAlgo.h:79
HcalSimpleRecAlgo::endRun
void endRun()
Definition: HcalSimpleRecAlgo.cc:39
HcalSimpleRecAlgo::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition: HcalSimpleRecAlgo.h:90
HcalSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition: HcalSimpleRecAlgo.h:74
HcalSimpleRecAlgo::hfPileupCorr_
std::shared_ptr< AbsOOTPileupCorrection > hfPileupCorr_
Definition: HcalSimpleRecAlgo.h:83
HcalSimpleRecAlgo::reconstruct
HFRecHit reconstruct(const HFDataFrame &digi, int first, int toadd, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition: HcalSimpleRecAlgo.cc:378