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)(std::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  // switch on/off leakage (to pre-sample) correction
89 
90  // Labels related to OOT pileup corrections
96 
97  HcalRecoParams* paramTS; // firstSample & sampleToAdd from DB
98  std::unique_ptr<HcalFlagHFDigiTimeParams> HFDigiTimeParams; // HF DigiTime parameters
99 
101 };
102 
103 #endif
Handle.h
HcalHitReconstructor::endRun
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: HcalHitReconstructor.cc:204
HcalCalibrations.h
HcalRecoParams.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
HcalHitReconstructor::HFTimingTrustFlagSetter_
HFTimingTrustFlag * HFTimingTrustFlagSetter_
Definition: HcalHitReconstructor.h:55
HcalHF_S9S1algorithm
Definition: HcalHF_S9S1algorithm.h:21
HcalHitReconstructor::~HcalHitReconstructor
~HcalHitReconstructor() override
Definition: HcalHitReconstructor.cc:167
HcalTopology
Definition: HcalTopology.h:26
HcalHitReconstructor::SetCorrectionFcn
void(HcalSimpleRecAlgo::* SetCorrectionFcn)(std::shared_ptr< AbsOOTPileupCorrection >)
Definition: HcalHitReconstructor.h:51
EDProducer.h
HcalHitReconstructor::saturationFlagSetter_
HcalADCSaturationFlag * saturationFlagSetter_
Definition: HcalHitReconstructor.h:54
HcalHitReconstructor::setPulseShapeFlags_
bool setPulseShapeFlags_
Definition: HcalHitReconstructor.h:74
HcalHitReconstructor::subdet_
int subdet_
Definition: HcalHitReconstructor.h:62
HcalHitReconstructor::useLeakCorrection_
bool useLeakCorrection_
Definition: HcalHitReconstructor.h:88
HcalHitReconstructor::tsFromDB_
bool tsFromDB_
Definition: HcalHitReconstructor.h:83
HcalHFStatusBitFromRecHits.h
HcalHitReconstructor::paramTS
HcalRecoParams * paramTS
Definition: HcalHitReconstructor.h:97
HcalHitReconstructor::setHSCPFlags_
bool setHSCPFlags_
Definition: HcalHitReconstructor.h:71
HcalADCSaturationFlag.h
HcalHitReconstructor::setNoiseFlags_
bool setNoiseFlags_
Definition: HcalHitReconstructor.h:70
HcalHitReconstructor::recoParamsFromDB_
bool recoParamsFromDB_
Definition: HcalHitReconstructor.h:84
HcalTimingCorrector.h
HcalHitReconstructor::HFDigiTimeParams
std::unique_ptr< HcalFlagHFDigiTimeParams > HFDigiTimeParams
Definition: HcalHitReconstructor.h:98
HcalHitReconstructor::firstAuxTS_
int firstAuxTS_
Definition: HcalHitReconstructor.h:78
HcalDigiCollections.h
HcalHitReconstructor::mcOOTCorrectionName_
std::string mcOOTCorrectionName_
Definition: HcalHitReconstructor.h:93
HcalHitReconstructor::samplesToAdd_
int samplesToAdd_
Definition: HcalHitReconstructor.h:82
HcalHitReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition: HcalHitReconstructor.h:76
HcalHitReconstructor::firstSample_
int firstSample_
Definition: HcalHitReconstructor.h:81
HcalHitReconstructor::setSaturationFlags_
bool setSaturationFlags_
Definition: HcalHitReconstructor.h:72
HcalHitReconstructor::digiTimeFromDB_
bool digiTimeFromDB_
Definition: HcalHitReconstructor.h:85
HcalHitReconstructor::HcalHitReconstructor
HcalHitReconstructor(const edm::ParameterSet &ps)
Definition: HcalHitReconstructor.cc:26
HcalFlagHFDigiTimeParams.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalHitReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: HcalHitReconstructor.cc:215
HcalHF_S9S1algorithm.h
edm::ParameterSet
Definition: ParameterSet.h:36
HcalHitReconstructor::hfS9S1_
HcalHF_S9S1algorithm * hfS9S1_
Definition: HcalHitReconstructor.h:57
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
HcalCaloFlagLabels.h
Event.h
HcalHitReconstructor::setNegativeFlags_
bool setNegativeFlags_
Definition: HcalHitReconstructor.h:75
HcalHitReconstructor::tok_ho_
edm::EDGetTokenT< HODigiCollection > tok_ho_
Definition: HcalHitReconstructor.h:65
HcalADCSaturationFlag
Definition: HcalADCSaturationFlag.h:23
HcalHitReconstructor::hfdigibit_
HcalHFStatusBitFromDigis * hfdigibit_
Definition: HcalHitReconstructor.h:56
HcalHitReconstructor::tok_calib_
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
Definition: HcalHitReconstructor.h:67
HcalHitReconstructor::dataOOTCorrectionCategory_
std::string dataOOTCorrectionCategory_
Definition: HcalHitReconstructor.h:92
HcalSimpleRecAlgo.h
HcalHFStatusBitFromDigis
Definition: HcalHFStatusBitFromDigis.h:18
HcalHitReconstructor::det_
DetId::Detector det_
Definition: HcalHitReconstructor.h:61
edm::stream::EDProducer
Definition: EDProducer.h:38
HFTimingTrustFlag
Definition: HFTimingTrustFlag.h:14
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:57
HcalHF_PETalgorithm.h
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HcalChannelStatus.h
HcalHitReconstructor::inputLabel_
edm::InputTag inputLabel_
Definition: HcalHitReconstructor.h:64
HcalRecoParam.h
HcalHitReconstructor::setPileupCorrection_
SetCorrectionFcn setPileupCorrection_
Definition: HcalHitReconstructor.h:95
HcalHitReconstructor::hfPET_
HcalHF_PETalgorithm * hfPET_
Definition: HcalHitReconstructor.h:59
HcalChannelQuality.h
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HcalHitReconstructor::reco_
HcalSimpleRecAlgo reco_
Definition: HcalHitReconstructor.h:53
HcalHitReconstructor::setTimingTrustFlags_
bool setTimingTrustFlags_
Definition: HcalHitReconstructor.h:73
HcalHitReconstructor::hfS8S1_
HcalHF_S9S1algorithm * hfS8S1_
Definition: HcalHitReconstructor.h:58
HcalHFStatusBitFromDigis.h
HcalHitReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition: HcalHitReconstructor.h:63
HcalHitReconstructor::beginRun
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: HcalHitReconstructor.cc:179
HcalRecoParams
Definition: HcalRecoParams.h:9
HFTimingTrustFlag.h
EventSetup.h
HcalSimpleRecAlgo
Definition: HcalSimpleRecAlgo.h:34
HcalHitReconstructor::corrName_
std::string corrName_
Definition: HcalHitReconstructor.h:100
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:29
HcalHitReconstructor::correctTiming_
bool correctTiming_
Definition: HcalHitReconstructor.h:69
HcalDbService.h
HcalHitReconstructor::dataOOTCorrectionName_
std::string dataOOTCorrectionName_
Definition: HcalHitReconstructor.h:91
HcalHF_PETalgorithm
Definition: HcalHF_PETalgorithm.h:21
HcalHitReconstructor::cat_
std::string cat_
Definition: HcalHitReconstructor.h:100
ParameterSet.h
edm::Event
Definition: Event.h:73
HcalHitReconstructor
Definition: HcalHitReconstructor.h:41
edm::InputTag
Definition: InputTag.h:15
HcalHitReconstructor::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: HcalHitReconstructor.h:66
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HcalHitReconstructor::mcOOTCorrectionCategory_
std::string mcOOTCorrectionCategory_
Definition: HcalHitReconstructor.h:94