CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/L1TMonitor/interface/L1TDTTPG.h

Go to the documentation of this file.
00001 #ifndef L1TDTTPG_H
00002 #define L1TDTTPG_H
00003 
00004 /*
00005  * \file L1TDTTPG.h
00006  *
00007  * $Date: 2009/11/19 14:32:09 $
00008  * $Revision: 1.9 $
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 #include "DQMServices/Core/interface/DQMStore.h"
00026 #include "DQMServices/Core/interface/MonitorElement.h"
00027 
00028 //
00029 // class decleration
00030 //
00031 
00032 class L1TDTTPG : public edm::EDAnalyzer {
00033 
00034  public:
00035 
00036   // Constructor
00037   L1TDTTPG(const edm::ParameterSet& ps);
00038 
00039   // Destructor
00040   virtual ~L1TDTTPG();
00041 
00042  protected:
00043   // Analyze
00044   void analyze(const edm::Event& e, const edm::EventSetup& c);
00045 
00046   // BeginJob
00047   void beginJob(void);
00048 
00049   // EndJob
00050   void endJob(void);
00051 
00052  private:
00053 
00054   void setMapPhLabel(MonitorElement *me);
00055   void setMapThLabel(MonitorElement *me);
00056 
00057   // ----------member data ---------------------------
00058   DQMStore * dbe;
00059 
00060   MonitorElement* dttpgphbx[8];  
00061   MonitorElement* dttpgphbxcomp;
00062   MonitorElement* dttpgphwheel[3];  
00063   MonitorElement* dttpgphsector[3];  
00064   MonitorElement* dttpgphstation[3];  
00065   /*   MonitorElement* dttpgphphi[3];   */
00066   /*   MonitorElement* dttpgphphiB[3];   */
00067   MonitorElement* dttpgphquality[3];  
00068   MonitorElement* dttpgphts2tag[3];  
00069   /*   MonitorElement* dttpgphbxcnt[3];   */
00070   MonitorElement* dttpgphntrack;
00071   MonitorElement* dttpgphmap;
00072   MonitorElement* dttpgphmapbx[3];
00073   MonitorElement* dttpgphmap2nd;
00074   MonitorElement* dttpgphmapcorr;
00075   MonitorElement* dttpgphbestmap;
00076   MonitorElement* dttpgphbestmapcorr;
00077 
00078 
00079   MonitorElement* dttpgthbx[3];  
00080   MonitorElement* dttpgthwheel[3];  
00081   MonitorElement* dttpgthsector[3];  
00082   MonitorElement* dttpgthstation[3];  
00083   MonitorElement* dttpgththeta[3];  
00084   MonitorElement* dttpgthquality[3];    
00085   MonitorElement* dttpgthntrack;  
00086   MonitorElement* dttpgthmap;
00087   MonitorElement* dttpgthmapbx[3];
00088   MonitorElement* dttpgthmaph;
00089   MonitorElement* dttpgthbestmap;
00090   MonitorElement* dttpgthbestmaph;
00091 
00092   MonitorElement *dttf_p_phi[3];
00093   MonitorElement *dttf_p_pt[3];
00094   MonitorElement *dttf_p_q[3];
00095   MonitorElement *dttf_p_qual[3];
00096 
00097   int nev_; // Number of events processed
00098   std::string outputFile_; //file name for ROOT ouput
00099   bool verbose_;
00100   bool monitorDaemon_;
00101   ofstream logFile_;
00102   edm::InputTag dttpgSource_;
00103 };
00104 
00105 #endif