CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/RecoParticleFlow/plugins/GenericBenchmarkAnalyzer.h

Go to the documentation of this file.
00001 #ifndef GENERICBENCHMARKANALYZER_H
00002 #define GENERICBENCHMARKANALYZER_H
00003 
00004 // author: Mike Schmitt (The University of Florida)
00005 // date: 11/7/2007
00006 // extension: Leo Neuhaus & Joanna Weng 09.2008
00007 
00008 #include "FWCore/Framework/interface/Frameworkfwd.h"
00009 #include "FWCore/Framework/interface/EDAnalyzer.h"
00010 
00011 #include "RecoParticleFlow/Benchmark/interface/GenericBenchmark.h"
00012 #include "FWCore/Utilities/interface/InputTag.h"
00013 
00014 #include <map>
00015 
00016 class GenericBenchmarkAnalyzer: public edm::EDAnalyzer, public GenericBenchmark {
00017 public:
00018 
00019   explicit GenericBenchmarkAnalyzer(const edm::ParameterSet&);
00020   virtual ~GenericBenchmarkAnalyzer();
00021 
00022   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00023   virtual void beginJob() ;
00024   virtual void endJob() ;
00025 
00026  private:
00027 
00028   // Inputs from Configuration File
00029   std::string outputFile_;
00030   edm::InputTag inputTruthLabel_;
00031   edm::InputTag inputRecoLabel_;
00032   std::string benchmarkLabel_;
00033   bool startFromGen_;
00034   bool plotAgainstRecoQuantities_;
00035   bool onlyTwoJets_;
00036   double recPt_cut;
00037   double minEta_cut;
00038   double maxEta_cut;
00039   double deltaR_cut;
00040   float minDeltaEt_;
00041   float maxDeltaEt_;
00042   float minDeltaPhi_;
00043   float maxDeltaPhi_;
00044   bool doMetPlots_;
00045 };
00046 
00047 #endif // GENERICBENCHMARKANALYZER_H