CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PatBTagCommonHistos.h
Go to the documentation of this file.
1 #ifndef PatBTagCommonHistos_H_
2 #define PatBTagCommonHistos_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: PatBTag
7 // Class: PatBTagCommonHistos
8 //
17 //
18 // Original Author: J. E. Ramirez
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
32 
33 #include "TH1D.h"
34 #include "TH2D.h"
35 #include <map>
36 
37 //
38 // class declaration
39 //
40 
42  public:
43  explicit PatBTagCommonHistos(const edm::ParameterSet&);
45 
46  void Set(std::string);
47  void Sumw2();
49  private:
50 
51  // ----------member data ---------------------------
52 
53 
55  std::map<std::string,TH1D*> histocontainer_; // simple map to contain all histograms. Histograms are booked in the beginJob() method
56  std::map<std::string,TH2D*> h2_; // simple map to contain 2D histograms. Histograms are booked in the beginJob() method
59  double BTagdisccut_;
61 };
62 
63 #endif
void Fill(edm::View< pat::Jet >::const_iterator &, std::string)
std::map< std::string, TH1D * > histocontainer_
PatBTagCommonHistos(const edm::ParameterSet &)
std::string BTagdiscriminator_
std::map< std::string, TH2D * > h2_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:85