src
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
);
EDAnalyzerWrapper.h
WrappedEDAnalysisTasksAnalyzerBTag
edm::AnalyzerWrapper< AnalysisTasksAnalyzerBTag > WrappedEDAnalysisTasksAnalyzerBTag
Definition:
WrappedEDAnalysisTasksAnalyzer.cc:11
WrappedEDAnalysisTasksAnalyzerJEC
edm::AnalyzerWrapper< AnalysisTasksAnalyzerJEC > WrappedEDAnalysisTasksAnalyzerJEC
Definition:
WrappedEDAnalysisTasksAnalyzer.cc:14
AnalysisTasksAnalyzerBTag.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
edm::AnalyzerWrapper
Definition:
EDAnalyzerWrapper.h:44
AnalysisTasksAnalyzerJEC.h
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14