CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ZdcHitReconstructor.h
Go to the documentation of this file.
1 #ifndef ZDCHITRECONSTRUCTOR_H
2 #define ZDCHITRECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
9 
13 
27 
30 
31 class HcalTopology;
34 class HcalDbService;
35 class HcalDbRecord;
36 class HcalChannelQuality;
40 
47 public:
48  explicit ZdcHitReconstructor(const edm::ParameterSet& ps);
49  ~ZdcHitReconstructor() override;
50  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
51  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
52  void produce(edm::Event& e, const edm::EventSetup& c) final;
53 
54 private:
57 
59  int subdet_;
63 
64  bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
65  bool setNoiseFlags_; // turn on/off basic noise flags
66  bool setHSCPFlags_; // turn on/off HSCP noise flags
67  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
68  bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag
69 
70  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
71  std::vector<int> AuxTSvec_;
72 
73  // new lowGainEnergy variables
75  double lowGainFrac_;
76 
77  std::unique_ptr<HcalLongRecoParams> longRecoParams_; //noiseTS and signalTS from db
78 
79  // ES tokens
85 };
86 
87 #endif
const edm::EventSetup & c
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > sevToken_
void produce(edm::Event &e, const edm::EventSetup &c) final
edm::ESGetToken< HcalLongRecoParams, HcalLongRecoParamsRcd > paramsToken_
edm::EDGetTokenT< ZDCDigiCollection > tok_input_hcal
std::unique_ptr< HcalLongRecoParams > longRecoParams_
ZdcSimpleRecAlgo reco_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > qualToken_
HcalOtherSubdetector
Definition: HcalAssistant.h:40
HcalOtherSubdetector subdetOther_
HcalADCSaturationFlag * saturationFlagSetter_
edm::EDGetTokenT< ZDCDigiCollection > tok_input_castor
ZdcHitReconstructor(const edm::ParameterSet &ps)
Detector
Definition: DetId.h:24
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
std::vector< int > AuxTSvec_
void endRun(edm::Run const &r, edm::EventSetup const &es) final
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: Run.h:45
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_