CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/L1Trigger/L1GctAnalyzer/interface/GctTimingAnalyzer.h

Go to the documentation of this file.
00001 #ifndef L1GCTANALYZER_TIMINGANALYZER_H
00002 #define L1GCTANALYZER_TIMINGANALYZER_H
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    GctTimingAnalyzer
00007 // Class:      GctTimingAnalyzer
00008 // 
00014 //
00015 // Original Author:  Alex Tapper
00016 //         Created:  Mon Apr 21 14:21:06 CEST 2008
00017 // $Id: GctTimingAnalyzer.h,v 1.6 2008/09/04 16:57:38 tapper Exp $
00018 //
00019 //
00020 
00021 // user include files
00022 #include "FWCore/Framework/interface/Frameworkfwd.h"
00023 #include "FWCore/Framework/interface/EDAnalyzer.h"
00024 
00025 #include "FWCore/Framework/interface/Event.h"
00026 #include "FWCore/Framework/interface/MakerMacros.h"
00027 
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 
00030 // Data formats
00031 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
00032 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
00033 
00034 #include <iostream>
00035 #include <fstream>
00036 
00037 class GctTimingAnalyzer : public edm::EDAnalyzer {
00038 
00039  public:
00040 
00041   explicit GctTimingAnalyzer(const edm::ParameterSet&);
00042   ~GctTimingAnalyzer();
00043 
00044  private:
00045 
00046   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00047 
00048   std::string m_outputFileName; // Output file
00049   std::ofstream m_outputFile;
00050 
00051   edm::InputTag m_gctSource; // General source label
00052   edm::InputTag m_isoEmSource;   
00053   edm::InputTag m_nonIsoEmSource;
00054   edm::InputTag m_cenJetsSource;
00055   edm::InputTag m_forJetsSource;
00056   edm::InputTag m_tauJetsSource;
00057 
00058   bool m_doInternal;  // Do internal pipelines
00059   bool m_doElectrons;
00060   bool m_doJets;
00061   bool m_doHFRings;
00062   bool m_doESums;
00063 
00064   unsigned m_evtNum;
00065 
00066 };
00067 
00068 #endif