CMS 3D CMS Logo

HcalHitReconstructor.h
Go to the documentation of this file.
1 #ifndef HCALHITRECONSTRUCTOR_H
2 #define HCALHITRECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
9 
12 
17 
23 
32 
39 class HcalTopology;
40 
42  public:
43  explicit HcalHitReconstructor(const edm::ParameterSet& ps);
44  ~HcalHitReconstructor() override;
45 
46  void beginRun(edm::Run const&r, edm::EventSetup const & es) final;
47  void endRun(edm::Run const&r, edm::EventSetup const & es) final;
48  void produce(edm::Event& e, const edm::EventSetup& c) override;
49 
50  private:
51  typedef void (HcalSimpleRecAlgo::*SetCorrectionFcn)(boost::shared_ptr<AbsOOTPileupCorrection>);
52 
60 
62  int subdet_;
68  //std::vector<std::string> channelStatusToDrop_;
69  bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
70  bool setNoiseFlags_; // turn on/off basic noise flags
71  bool setHSCPFlags_; // turn on/off HSCP noise flags
72  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
73  bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag
74  bool setPulseShapeFlags_; // turn on/off HBHE fit-based noise flags
75  bool setNegativeFlags_; // turn on/off HBHE negative noise flags
76  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
77 
79 
80  // legacy parameters for config-set values compatibility
83  bool tsFromDB_;
86 
87 
88  // switch on/off leakage (to pre-sample) correction
90 
91  // Labels related to OOT pileup corrections
97 
98  HcalRecoParams* paramTS; // firstSample & sampleToAdd from DB
99  std::unique_ptr<HcalFlagHFDigiTimeParams> HFDigiTimeParams; // HF DigiTime parameters
100 
102  };
103 
104 #endif
HcalRecoParams * paramTS
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
HcalADCSaturationFlag * saturationFlagSetter_
void produce(edm::Event &e, const edm::EventSetup &c) override
SetCorrectionFcn setPileupCorrection_
std::string dataOOTCorrectionCategory_
std::unique_ptr< HcalFlagHFDigiTimeParams > HFDigiTimeParams
HcalOtherSubdetector
Definition: HcalAssistant.h:32
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
HcalHFStatusBitFromDigis * hfdigibit_
edm::EDGetTokenT< HODigiCollection > tok_ho_
HcalHitReconstructor(const edm::ParameterSet &ps)
HcalHF_PETalgorithm * hfPET_
HcalHF_S9S1algorithm * hfS9S1_
Detector
Definition: DetId.h:26
std::string dataOOTCorrectionName_
HcalHF_S9S1algorithm * hfS8S1_
void(HcalSimpleRecAlgo::* SetCorrectionFcn)(boost::shared_ptr< AbsOOTPileupCorrection >)
HcalOtherSubdetector subdetOther_
void endRun(edm::Run const &r, edm::EventSetup const &es) final
HFTimingTrustFlag * HFTimingTrustFlagSetter_
std::string mcOOTCorrectionCategory_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: Run.h:44
HcalSimpleRecAlgo reco_