CMS 3D CMS Logo

ZdcHitReconstructor_Run3.h
Go to the documentation of this file.
1 #ifndef ZDCHITRECONSTRUCTOR_RUN3_H
2 #define ZDCHITRECONSTRUCTOR_RUN3_H 1
3 
4 #include <memory>
5 
9 
13 
28 
31 
32 class HcalTopology;
35 class HcalDbService;
36 class HcalDbRecord;
37 class HcalChannelQuality;
41 
48 public:
49  explicit ZdcHitReconstructor_Run3(const edm::ParameterSet& ps);
50  ~ZdcHitReconstructor_Run3() override;
51  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
52  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
53  void produce(edm::Event& e, const edm::EventSetup& c) final;
54  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
55 
56 private:
59 
61  int subdet_;
63 
65 
69  double ootpuRatioEM_;
72  double ootpuFracEM_;
73  double ootpuFracHAD_;
74  double ootpuFracRPD_;
75  std::vector<double> chargeRatiosEM_;
76  std::vector<double> chargeRatiosHAD_;
77  std::vector<double> chargeRatiosRPD_;
78  std::vector<unsigned int> bxTs_;
79  int nTs_;
80  bool forceSOI_;
81  std::vector<unsigned int> signalSOI_;
82  std::vector<unsigned int> noiseSOI_;
83 
84  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
85  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
86  bool skipRPD_; // ignore all channels but EM and HCAL if true
87  int maxADCvalue_; // max adc value for saturation Flag
88 
89  std::unique_ptr<HcalLongRecoParams> longRecoParams_; //noiseTS and signalTS from db
90 
91  // ES tokens
97 };
98 
99 #endif
edm::ESGetToken< HcalLongRecoParams, HcalLongRecoParamsRcd > paramsToken_
std::vector< unsigned int > noiseSOI_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > qualToken_
std::vector< double > chargeRatiosEM_
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
std::vector< unsigned int > signalSOI_
void produce(edm::Event &e, const edm::EventSetup &c) final
std::vector< unsigned int > bxTs_
std::unique_ptr< HcalLongRecoParams > longRecoParams_
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
HcalOtherSubdetector
Definition: HcalAssistant.h:40
void endRun(edm::Run const &r, edm::EventSetup const &es) final
std::vector< double > chargeRatiosHAD_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > sevToken_
std::vector< double > chargeRatiosRPD_
HcalOtherSubdetector subdetOther_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_
Detector
Definition: DetId.h:24
ZdcHitReconstructor_Run3(const edm::ParameterSet &ps)
HcalADCSaturationFlag * saturationFlagSetter_
edm::EDGetTokenT< QIE10DigiCollection > tok_input_QIE10
Definition: Run.h:45