CP3-llbb Framework
BTagsAnalyzer.h
1 #ifndef BTAGSANALYZER_H
2 #define BTAGSANALYZER_H
3 
4 #include <cp3_llbb/Framework/interface/Analyzer.h>
5 
7 
8  public:
9  BTagsAnalyzer(const std::string& name, const ROOT::TreeGroup& tree_, const edm::ParameterSet& config):
10  Analyzer(name, tree_, config),
11  m_discr_cut(config.getUntrackedParameter<double>("discr_cut")),
12  m_eta_cut(config.getUntrackedParameter<double>("eta_cut")),
13  m_pt_cut(config.getUntrackedParameter<double>("pt_cut")),
14  m_discr_name(config.getUntrackedParameter<std::string>("discr_name"))
15  { }
16 
17  virtual void analyze(const edm::Event&, const edm::EventSetup&, const ProducersManager&, const AnalyzersManager&, const CategoryManager&) override;
18 
19  BRANCH(indices, std::vector<uint8_t>);
20 
21  private:
22 
23  const float m_discr_cut;
24  const float m_eta_cut;
25  const float m_pt_cut;
26  const std::string m_discr_name;
27 };
28 
29 
30 #endif
Definition: AnalyzersManager.h:10
Definition: BTagsAnalyzer.h:6
Definition: Category.h:88
Definition: Analyzer.h:28
Definition: ProducersManager.h:10