test
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 
11 
15 
16 namespace edm {
18 }
19 
24 class HcalTopology;
25 
27  public:
28  explicit HcalSimpleReconstructor(const edm::ParameterSet& ps);
29  virtual ~HcalSimpleReconstructor();
30  virtual void produce(edm::Event& e, const edm::EventSetup& c) override final;
31  virtual void beginRun(edm::Run const&r, edm::EventSetup const & es) override final;
32  virtual void endRun(edm::Run const&r, edm::EventSetup const & es) override final;
33 
34  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
35 
36  private:
37  template<class DIGICOLL, class RECHITCOLL> void process(edm::Event& e, const edm::EventSetup& c, const edm::EDGetTokenT<DIGICOLL> &tok);
38  void processUpgrade(edm::Event& e, const edm::EventSetup& c);
41  int subdet_;
44 
52 
53  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
54 
55  // legacy parameters for config-set values compatibility
56  // to be removed after 4_2_0...
59  bool tsFromDB_;
61  bool upgradeHF_;
62  bool HFQIE10_;
63 
64  HcalRecoParams* paramTS; // firstSample & sampleToAdd from DB
66  };
67 
68 #endif
edm::EDGetTokenT< HBHEUpgradeDigiCollection > tok_hbheUp_
HcalSimpleReconstructor(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< QIE10DigiCollection > tok_hfQIE10_
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:43
virtual void endRun(edm::Run const &r, edm::EventSetup const &es) overridefinal