CMS 3D CMS Logo

L1TLTC.h

Go to the documentation of this file.
00001 #ifndef L1TLTC_H
00002 #define L1TLTC_H
00003 
00004 /*
00005  * \file L1TLTC.h
00006  *
00007  * $Date: 2008/03/01 00:40:00 $
00008  * $Revision: 1.3 $
00009  * \author J. Berryhill
00010  *
00011 */
00012 
00013 // system include files
00014 #include <memory>
00015 #include <unistd.h>
00016 
00017 // user include files
00018 #include "FWCore/Framework/interface/Frameworkfwd.h"
00019 #include "FWCore/Framework/interface/EDAnalyzer.h"
00020 
00021 #include "FWCore/Framework/interface/Event.h"
00022 #include "FWCore/Framework/interface/MakerMacros.h"
00023 
00024 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00025 
00026 #include "DQMServices/Core/interface/DQMStore.h"
00027 #include "DQMServices/Core/interface/MonitorElement.h"
00028 #include "FWCore/ServiceRegistry/interface/Service.h"
00029 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00030 
00031 #include "DataFormats/LTCDigi/interface/LTCDigi.h"
00032 
00033 #include <iostream>
00034 #include <fstream>
00035 #include <vector>
00036 
00037 //
00038 // class decleration
00039 //
00040 
00041 class L1TLTC : public edm::EDAnalyzer {
00042 
00043 public:
00044 
00045 // Constructor
00046 L1TLTC(const edm::ParameterSet& ps);
00047 
00048 // Destructor
00049 virtual ~L1TLTC();
00050 
00051 protected:
00052 // Analyze
00053 void analyze(const edm::Event& e, const edm::EventSetup& c);
00054 
00055 // BeginJob
00056 void beginJob(const edm::EventSetup& c);
00057 
00058 // EndJob
00059 void endJob(void);
00060 
00061 private:
00062   // ----------member data ---------------------------
00063   DQMStore * dbe;
00064 
00065   // ----------member data ---------------------------
00066   MonitorElement* h1;
00067   MonitorElement* h2;
00068   MonitorElement* h3;
00069   //MonitorElement* h4;
00070   MonitorElement* overlaps;
00071   MonitorElement* n_inhibit;
00072   MonitorElement* run;
00073   MonitorElement* event;
00074   MonitorElement* gps_time;
00075   float XMIN; float XMAX;
00076   int nev_; // Number of events processed
00077   std::string outputFile_; //file name for ROOT ouput
00078   bool verbose_;
00079   bool monitorDaemon_;
00080   ofstream logFile_;
00081   edm::InputTag ltcSource_ ;
00082 };
00083 
00084 #endif

Generated on Tue Jun 9 17:33:10 2009 for CMSSW by  doxygen 1.5.4