CMS 3D CMS Logo

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/ParameterSet/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(const edm::EventSetup&) ;
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 plotAgainstRecoQuantities_;
00034   bool onlyTwoJets_;
00035   double recPt_cut;
00036   double maxEta_cut;
00037   double deltaR_cut;
00038 };
00039 
00040 #endif // GENERICBENCHMARKANALYZER_H

Generated on Tue Jun 9 17:49:36 2009 for CMSSW by  doxygen 1.5.4