CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHitReconstructor.h
Go to the documentation of this file.
1 #ifndef HCALHITRECONSTRUCTOR_H
2 #define HCALHITRECONSTRUCTOR_H 1
3 
7 
10 
15 
21 
33 
40 class HcalTopology;
41 
43  public:
44  explicit HcalHitReconstructor(const edm::ParameterSet& ps);
45  virtual ~HcalHitReconstructor();
46 
47  virtual void beginRun(edm::Run const&r, edm::EventSetup const & es) override final;
48  virtual void endRun(edm::Run const&r, edm::EventSetup const & es) override final;
49  virtual void produce(edm::Event& e, const edm::EventSetup& c);
50 
51  private:
52  typedef void (HcalSimpleRecAlgo::*SetCorrectionFcn)(boost::shared_ptr<AbsOOTPileupCorrection>);
53 
65 
67  int subdet_;
74  //std::vector<std::string> channelStatusToDrop_;
75  bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
76  bool setNoiseFlags_; // turn on/off basic noise flags
77  bool setHSCPFlags_; // turn on/off HSCP noise flags
78  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
79  bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag
80  bool setPulseShapeFlags_; // turn on/off HBHE fit-based noise flags
81  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
82 
84 
85  // legacy parameters for config-set values compatibility
88  bool tsFromDB_;
91 
92 
93  // switch on/off leakage (to pre-sample) correction
95 
96  // Labels related to OOT pileup corrections
102 
103  HcalRecoParams* paramTS; // firstSample & sampleToAdd from DB
104  const HcalFlagHFDigiTimeParams* HFDigiTimeParams; // HF DigiTime parameters
105 
107  };
108 
109 #endif
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
HcalADCSaturationFlag * saturationFlagSetter_
void(HcalSimpleRecAlgo::* SetCorrectionFcn)(boost::shared_ptr< AbsOOTPileupCorrection >)
virtual void endRun(edm::Run const &r, edm::EventSetup const &es) overridefinal
SetCorrectionFcn setPileupCorrection_
std::string dataOOTCorrectionCategory_
HcalOtherSubdetector
Definition: HcalAssistant.h:32
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
HcalHFStatusBitFromDigis * hfdigibit_
edm::EDGetTokenT< HODigiCollection > tok_ho_
virtual void produce(edm::Event &e, const edm::EventSetup &c)
HcalHitReconstructor(const edm::ParameterSet &ps)
HcalHF_PETalgorithm * hfPET_
HcalHF_S9S1algorithm * hfS9S1_
HBHEPulseShapeFlagSetter * hbhePulseShapeFlagSetter_
virtual void beginRun(edm::Run const &r, edm::EventSetup const &es) overridefinal
Detector
Definition: DetId.h:24
std::string dataOOTCorrectionName_
HBHEStatusBitSetter * hbheFlagSetter_
HBHETimeProfileStatusBitSetter * hbheHSCPFlagSetter_
HBHETimingShapedFlagSetter * hbheTimingShapedFlagSetter_
HcalHF_S9S1algorithm * hfS8S1_
HcalOtherSubdetector subdetOther_
HFTimingTrustFlag * HFTimingTrustFlagSetter_
std::string mcOOTCorrectionCategory_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
const HcalFlagHFDigiTimeParams * HFDigiTimeParams
Definition: Run.h:41
HcalSimpleRecAlgo reco_