CMS 3D CMS Logo

L1Analyzer.h

Go to the documentation of this file.
00001 #ifndef L1Analyzer_L1Analyzer_h
00002 #define L1Analyzer_L1Analyzer_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1Analyzer
00006 // Class  :     L1Analyzer
00007 // 
00016 //
00017 // Original Author:  Alex Tapper
00018 //         Created:  Thu Nov 30 21:42:36 CET 2006
00019 // $Id: L1Analyzer.h,v 1.3 2007/11/13 21:11:32 tapper Exp $
00020 //
00021 
00022 // user include files                                                                                         
00023 #include "FWCore/Framework/interface/Frameworkfwd.h"
00024 #include "FWCore/Framework/interface/EDAnalyzer.h"
00025 
00026 #include "FWCore/Framework/interface/Event.h"
00027 #include "FWCore/Framework/interface/MakerMacros.h"
00028 
00029 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00030 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00031 
00032 // Histogram sets
00033 #include "L1TriggerOffline/L1Analyzer/interface/SimpleHistograms.h"
00034 #include "L1TriggerOffline/L1Analyzer/interface/ResolutionHistograms.h"
00035 #include "L1TriggerOffline/L1Analyzer/interface/EfficiencyHistograms.h"
00036 
00037 //                                                                                                            
00038 // class declaration                                                                                          
00039 //            
00040                                                                                                  
00041 class L1Analyzer : public edm::EDAnalyzer {
00042  public:
00043   explicit L1Analyzer(const edm::ParameterSet&);
00044   ~L1Analyzer();
00045 
00046  private:
00047   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00048 
00049   // ----------member data ---------------------------                                                     
00050 
00051   // Input sources
00052 
00053   edm::InputTag m_candidateSource;
00054   edm::InputTag m_referenceSource;
00055   edm::InputTag m_resMatchMapSource;
00056   edm::InputTag m_effMatchMapSource;
00057 
00058   // Different sets of histograms to make
00059 
00060   SimpleHistograms     *m_l1Matched, *m_refMatched;   // Simple kinematic distributions
00061   SimpleHistograms     *m_l1UnMatched, *m_refUnMatched;   // Simple kinematic distributions
00062   ResolutionHistograms *m_resolution; // Histograms for resolutions and biases
00063   EfficiencyHistograms *m_efficiency; // Histograms for efficiencies
00064 
00065 };
00066 
00067 #endif

Generated on Tue Jun 9 17:40:30 2009 for CMSSW by  doxygen 1.5.4