CP3-llbb Framework
DileptonCategories.h
1 #ifndef DILEPTONCATEGORIES_H
2 #define DILEPTONCATEGORIES_H
3 
4 #include <cp3_llbb/Framework/interface/Category.h>
5 
6 namespace Framework {
7  class DileptonCategory: public Category {
8  public:
9  virtual void configure(const edm::ParameterSet& conf) override {
10  m_mll_cut = conf.getUntrackedParameter<double>("mll_cut", 20);
11  }
12 
13  protected:
14  float m_mll_cut;
15  };
16 
18  public:
19  virtual bool event_in_category_pre_analyzers(const ProducersManager& producers) const override;
20  virtual bool event_in_category_post_analyzers(const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
21  virtual void register_cuts(CutManager& manager) override;
22  virtual void evaluate_cuts_post_analyzers(CutManager& manager, const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
23  };
24 
26  public:
27  virtual bool event_in_category_pre_analyzers(const ProducersManager& producers) const override;
28  virtual bool event_in_category_post_analyzers(const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
29  virtual void register_cuts(CutManager& manager) override;
30  virtual void evaluate_cuts_post_analyzers(CutManager& manager, const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
31  };
32 
34  public:
35  virtual bool event_in_category_pre_analyzers(const ProducersManager& producers) const override;
36  virtual bool event_in_category_post_analyzers(const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
37  virtual void register_cuts(CutManager& manager) override;
38  virtual void evaluate_cuts_post_analyzers(CutManager& manager, const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
39  };
40 
42  public:
43  virtual bool event_in_category_pre_analyzers(const ProducersManager& producers) const override;
44  virtual bool event_in_category_post_analyzers(const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
45  virtual void register_cuts(CutManager& manager) override;
46  virtual void evaluate_cuts_post_analyzers(CutManager& manager, const ProducersManager& producers, const AnalyzersManager& analyzers) const override;
47  };
48 }
49 #endif
Definition: AnalyzersManager.h:10
Definition: Category.h:20
Definition: Cut.h:27
Definition: DileptonCategories.h:7
Definition: DileptonCategories.h:41
Definition: DileptonCategories.h:33
Definition: DileptonCategories.h:25
Definition: DileptonCategories.h:17
Definition: ProducersManager.h:10