CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AnalysisTasksAnalyzerJEC.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
4 #include "TH2.h"
20 public:
25  ~AnalysisTasksAnalyzerJEC() override;
27  void beginJob() override{};
29  void endJob() override{};
31  void analyze(const edm::EventBase& event) override;
32 
33 private:
39  bool help_;
40  unsigned int jetInEvents_;
42  std::map<std::string, TH2*> hists_;
43 };
AnalysisTasksAnalyzerJEC(const edm::ParameterSet &cfg, TFileDirectory &fs)
default constructor
edm::InputTag Jets_
input tag for mouns
tuple cfg
Definition: looper.py:296
void beginJob() override
everything that needs to be done before the event loop
void endJob() override
everything that needs to be done after the event loop
edm::EDGetTokenT< std::vector< pat::Jet > > JetsToken_
void analyze(const edm::EventBase &event) override
everything that needs to be done during the event loop
Example class that can be used both within FWLite and within the full framework.
~AnalysisTasksAnalyzerJEC() override
default destructor
std::map< std::string, TH2 * > hists_
histograms