CMS 3D CMS Logo

AnalysisTasksAnalyzerJEC.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
4 #include "TH2.h"
20 
21  public:
26  ~AnalysisTasksAnalyzerJEC() override;
28  void beginJob() override{};
30  void endJob() override{};
32  void analyze(const edm::EventBase& event) override;
33 
34  private:
40  bool help_;
41  unsigned int jetInEvents_;
43  std::map<std::string, TH2*> hists_;
44 };
AnalysisTasksAnalyzerJEC(const edm::ParameterSet &cfg, TFileDirectory &fs)
default constructor
edm::InputTag Jets_
input tag for mouns
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
Definition: event.py:1