CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/L1TMonitor/interface/L1TFED.h

Go to the documentation of this file.
00001 #ifndef L1TFED_H
00002 #define L1TFED_H
00003 
00004 /*
00005  * \file L1TFED.h
00006  *
00007  * $Date: 2010/04/06 01:14:01 $
00008  * $Revision: 1.7 $
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/FEDRawData/interface/FEDRawDataCollection.h"
00032 #include "DataFormats/FEDRawData/interface/FEDHeader.h"
00033 #include "DataFormats/FEDRawData/interface/FEDTrailer.h"
00034 #include "DataFormats/FEDRawData/interface/FEDNumbering.h"
00035 
00036 #include <iostream>
00037 #include <fstream>
00038 #include <vector>
00039 
00040 //
00041 // class decleration
00042 //
00043 
00044 class L1TFED : public edm::EDAnalyzer {
00045 
00046 public:
00047 
00048 // Constructor
00049 L1TFED(const edm::ParameterSet& ps);
00050 
00051 // Destructor
00052 virtual ~L1TFED();
00053 
00054 protected:
00055 // Analyze
00056 void analyze(const edm::Event& e, const edm::EventSetup& c);
00057 
00058 // BeginJob
00059 void beginJob(void);
00060 
00061 // EndJob
00062 void endJob(void);
00063 
00064 private:
00065   // ----------member data ---------------------------
00066   DQMStore * dbe;
00067 
00068 //  MonitorElement* fedtest;
00069   MonitorElement * hfedsize;
00070   MonitorElement * hfedprof;
00071 //  MonitorElement ** hindfed;
00072   
00073   MonitorElement* fedentries; 
00074   MonitorElement* fedfatal;
00075   MonitorElement* fednonfatal;  
00076 
00077   int nev_; // Number of events processed
00078   std::string outputFile_; //file name for ROOT ouput
00079   bool verbose_;
00080   bool monitorDaemon_;
00081   std::vector<int> l1feds_;
00082   ofstream logFile_;
00083   edm::InputTag fedSource_;  
00084   edm::InputTag rawl_;
00085   std::string directory_;
00086   bool stableROConfig_;
00087 };
00088 
00089 #endif