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 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 };
edm::EDGetTokenT
Definition: EDGetToken.h:33
JetUtils.h
TFileDirectory
Definition: TFileDirectory.h:24
AnalysisTasksAnalyzerJEC::AnalysisTasksAnalyzerJEC
AnalysisTasksAnalyzerJEC(const edm::ParameterSet &cfg, TFileDirectory &fs)
default constructor
Definition: AnalysisTasksAnalyzerJEC.cc:8
AnalysisTasksAnalyzerJEC::jecLevel_
std::string jecLevel_
Definition: AnalysisTasksAnalyzerJEC.h:37
BasicAnalyzer.h
AnalysisTasksAnalyzerJEC::endJob
void endJob() override
everything that needs to be done after the event loop
Definition: AnalysisTasksAnalyzerJEC.h:29
AnalysisTasksAnalyzerJEC::~AnalysisTasksAnalyzerJEC
~AnalysisTasksAnalyzerJEC() override
default destructor
Definition: AnalysisTasksAnalyzerJEC.cc:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
AnalysisTasksAnalyzerJEC::help_
bool help_
Definition: AnalysisTasksAnalyzerJEC.h:39
AnalysisTasksAnalyzerJEC
Example class that can be used both within FWLite and within the full framework.
Definition: AnalysisTasksAnalyzerJEC.h:19
AnalysisTasksAnalyzerJEC::hists_
std::map< std::string, TH2 * > hists_
histograms
Definition: AnalysisTasksAnalyzerJEC.h:42
looper.cfg
cfg
Definition: looper.py:297
AnalysisTasksAnalyzerJEC::JetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > JetsToken_
Definition: AnalysisTasksAnalyzerJEC.h:36
AnalysisTasksAnalyzerJEC::jetInEvents_
unsigned int jetInEvents_
Definition: AnalysisTasksAnalyzerJEC.h:40
AnalysisTasksAnalyzerJEC::patJetCorrFactors_
std::string patJetCorrFactors_
Definition: AnalysisTasksAnalyzerJEC.h:38
AnalysisTasksAnalyzerJEC::analyze
void analyze(const edm::EventBase &event) override
everything that needs to be done during the event loop
Definition: AnalysisTasksAnalyzerJEC.cc:39
edm::BasicAnalyzer
Definition: BasicAnalyzer.h:42
edm::EventBase
Definition: EventBase.h:46
AnalysisTasksAnalyzerJEC::Jets_
edm::InputTag Jets_
input tag for mouns
Definition: AnalysisTasksAnalyzerJEC.h:35
event
Definition: event.py:1
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
AnalysisTasksAnalyzerJEC::beginJob
void beginJob() override
everything that needs to be done before the event loop
Definition: AnalysisTasksAnalyzerJEC.h:27