CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSimpleReconstructor.h
Go to the documentation of this file.
1 #ifndef HCALSIMPLERECONSTRUCTOR_H
2 #define HCALSIMPLERECONSTRUCTOR_H 1
3 
12 
16 
17 
22 class HcalTopology;
23 
25  public:
26  explicit HcalSimpleReconstructor(const edm::ParameterSet& ps);
27  virtual ~HcalSimpleReconstructor();
28  virtual void produce(edm::Event& e, const edm::EventSetup& c) override final;
29  virtual void beginRun(edm::Run const&r, edm::EventSetup const & es) override final;
30  virtual void endRun(edm::Run const&r, edm::EventSetup const & es) override final;
31  private:
32  template<class DIGICOLL, class RECHITCOLL> void process(edm::Event& e, const edm::EventSetup& c, const edm::EDGetTokenT<DIGICOLL> &tok);
33  void processUpgrade(edm::Event& e, const edm::EventSetup& c);
36  int subdet_;
39 
46 
47  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
48 
49  // legacy parameters for config-set values compatibility
50  // to be removed after 4_2_0...
53  bool tsFromDB_;
55  bool upgradeHF_;
56 
57  HcalRecoParams* paramTS; // firstSample & sampleToAdd from DB
59  };
60 
61 #endif
edm::EDGetTokenT< HBHEUpgradeDigiCollection > tok_hbheUp_
HcalSimpleReconstructor(const edm::ParameterSet &ps)
virtual void beginRun(edm::Run const &r, edm::EventSetup const &es) overridefinal
void process(edm::Event &e, const edm::EventSetup &c, const edm::EDGetTokenT< DIGICOLL > &tok)
edm::EDGetTokenT< HFUpgradeDigiCollection > tok_hfUp_
HcalOtherSubdetector subdetOther_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
HcalOtherSubdetector
Definition: HcalAssistant.h:32
edm::EDGetTokenT< HFDigiCollection > tok_hf_
edm::EDGetTokenT< HODigiCollection > tok_ho_
virtual void produce(edm::Event &e, const edm::EventSetup &c) overridefinal
Detector
Definition: DetId.h:24
void processUpgrade(edm::Event &e, const edm::EventSetup &c)
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
Definition: Run.h:41
virtual void endRun(edm::Run const &r, edm::EventSetup const &es) overridefinal