CMS 3D CMS Logo

HcalSimpleReconstructor.h
Go to the documentation of this file.
1 #ifndef HCALSIMPLERECONSTRUCTOR_H
2 #define HCALSIMPLERECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
14 
18 
19 namespace edm {
21 }
22 
27 class HcalTopology;
29 class HcalRecoParamsRcd;
30 class HcalDbService;
31 class HcalDbRecord;
32 
34 public:
35  explicit HcalSimpleReconstructor(const edm::ParameterSet& ps);
36  ~HcalSimpleReconstructor() override;
37  void produce(edm::Event& e, const edm::EventSetup& c) final;
38  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
39  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
40  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
41 
42 private:
43  template <class DIGICOLL, class RECHITCOLL>
47  int subdet_;
50 
54 
55  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
56 
57  // legacy parameters for config-set values compatibility
58  // to be removed after 4_2_0...
61  bool tsFromDB_;
62 
63  std::unique_ptr<HcalRecoParams> paramTS_; // firstSample & sampleToAdd from DB
64 
65  // ES tokens
69 };
70 
71 #endif
std::unique_ptr< HcalRecoParams > paramTS_
edm::ESGetToken< HcalRecoParams, HcalRecoParamsRcd > paramsToken_
HcalSimpleReconstructor(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void process(edm::Event &e, const edm::EventSetup &c, const edm::EDGetTokenT< DIGICOLL > &tok)
HcalOtherSubdetector subdetOther_
void produce(edm::Event &e, const edm::EventSetup &c) final
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
HcalOtherSubdetector
Definition: HcalAssistant.h:40
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
edm::EDGetTokenT< HODigiCollection > tok_ho_
Detector
Definition: DetId.h:24
HLT enums.
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: Run.h:45