CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CaloOnlineTools/EcalTools/plugins/EcalBxOrbitNumberGrapher.h

Go to the documentation of this file.
00001 
00002 // -*- C++ -*-
00003 //
00004 // Package:   EcalBxOrbitNumberGrapher 
00005 // Class:     EcalBxOrbitNumberGrapher 
00006 // 
00014 //
00015 // Original Author:  Seth COOPER
00016 //         Created:  Th Nov 22 5:46:22 CEST 2007
00017 // $Id: EcalBxOrbitNumberGrapher.h,v 1.2 2010/01/04 15:07:39 ferriff Exp $
00018 //
00019 //
00020 
00021 
00022 // system include files
00023 #include <memory>
00024 #include <vector>
00025 #include <map>
00026 #include <set>
00027 
00028 // user include files
00029 #include "FWCore/Framework/interface/Frameworkfwd.h"
00030 #include "FWCore/Framework/interface/EDAnalyzer.h"
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00034 #include "FWCore/Framework/interface/ESHandle.h"
00035 #include "FWCore/Framework/interface/EventSetup.h"
00036 
00037 //#include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00038 
00039 #include "DataFormats/EcalRawData/interface/EcalRawDataCollections.h"
00040 
00041 
00042 
00043 #include "TFile.h"
00044 #include "TH1F.h"
00045 
00046 
00047 //
00048 // class declaration
00049 //
00050 
00051 class EcalBxOrbitNumberGrapher : public edm::EDAnalyzer {
00052    public:
00053       explicit EcalBxOrbitNumberGrapher(const edm::ParameterSet&);
00054       ~EcalBxOrbitNumberGrapher();
00055 
00056 
00057    private:
00058       virtual void beginJob();
00059       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00060       virtual void endJob() ;
00061       void initHists(int);
00062 
00063     // ----------member data ---------------------------
00064 
00065  
00066   std::string digiProducer_;
00067   int runNum_;
00068   std::string fileName_;
00069 
00070   TH1F* bxnumberPlot_;
00071   TH1F* orbitErrorPlot_;
00072   TH1F* orbitErrorBxDiffPlot_;
00073   TH1F* numberofOrbitDiffPlot_;
00074 
00075   TFile* file;
00076   
00077 };