PhysicsTools
PatExamples
plugins
WrappedEDAnalysisTasksAnalyzer.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
3
/*
4
This is an example of using the BasicMuonAnalyzer class to do simple analysis of muons both
5
in full framework and FWLite using the same c++ class. You can find the example to use the
6
code in FWLite in PhysicsTools/UtilAlgos/bin/FWLiteWithBasicAnalyzer.cc.
7
*/
8
#include "
PhysicsTools/PatExamples/interface/AnalysisTasksAnalyzerBTag.h
"
9
#include "
PhysicsTools/PatExamples/interface/AnalysisTasksAnalyzerJEC.h
"
10
#include "
PhysicsTools/UtilAlgos/interface/EDAnalyzerWrapper.h
"
11
typedef
edm::AnalyzerWrapper<AnalysisTasksAnalyzerBTag>
WrappedEDAnalysisTasksAnalyzerBTag
;
12
DEFINE_FWK_MODULE
(
WrappedEDAnalysisTasksAnalyzerBTag
);
13
14
typedef
edm::AnalyzerWrapper<AnalysisTasksAnalyzerJEC>
WrappedEDAnalysisTasksAnalyzerJEC
;
15
DEFINE_FWK_MODULE
(
WrappedEDAnalysisTasksAnalyzerJEC
);
AnalysisTasksAnalyzerJEC.h
WrappedEDAnalysisTasksAnalyzerBTag
edm::AnalyzerWrapper< AnalysisTasksAnalyzerBTag > WrappedEDAnalysisTasksAnalyzerBTag
Definition:
WrappedEDAnalysisTasksAnalyzer.cc:11
WrappedEDAnalysisTasksAnalyzerJEC
edm::AnalyzerWrapper< AnalysisTasksAnalyzerJEC > WrappedEDAnalysisTasksAnalyzerJEC
Definition:
WrappedEDAnalysisTasksAnalyzer.cc:14
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
AnalysisTasksAnalyzerBTag.h
edm::AnalyzerWrapper
Definition:
EDAnalyzerWrapper.h:44
EDAnalyzerWrapper.h
Generated for CMSSW Reference Manual by
1.8.16