CMS 3D CMS Logo

L1TRCT.h

Go to the documentation of this file.
00001 // -*-C++-*-
00002 #ifndef L1TRCT_H
00003 #define L1TRCT_H
00004 
00005 /*
00006  * \file L1TRCT.h
00007  *
00008  * $Date: 2008/11/08 08:45:42 $
00009  * $Revision: 1.6 $
00010  * \author P. Wittich
00011  * $Id: L1TRCT.h,v 1.6 2008/11/08 08:45:42 asavin Exp $
00012  * $Log: L1TRCT.h,v $
00013  * Revision 1.6  2008/11/08 08:45:42  asavin
00014  * changing the fine grain to HfPlusTau
00015  *
00016  * Revision 1.5  2008/07/02 16:53:20  asavin
00017  * new L1TRCT.h
00018  *
00019  * Revision 1.4  2008/03/01 00:40:00  lat
00020  * DQM core migration.
00021  *
00022  * Revision 1.3  2007/09/03 15:14:42  wittich
00023  * updated RCT with more diagnostic and local coord histos
00024  *
00025  * Revision 1.2  2007/02/23 21:58:43  wittich
00026  * change getByType to getByLabel and add InputTag
00027  *
00028  * Revision 1.1  2007/02/19 22:49:53  wittich
00029  * - Add RCT monitor
00030  *
00031  *
00032  *
00033 */
00034 
00035 // system include files
00036 #include <memory>
00037 #include <unistd.h>
00038 
00039 
00040 #include <iostream>
00041 #include <fstream>
00042 #include <vector>
00043 
00044 
00045 // user include files
00046 #include "FWCore/Framework/interface/Frameworkfwd.h"
00047 #include "FWCore/Framework/interface/EDAnalyzer.h"
00048 
00049 #include "FWCore/Framework/interface/Event.h"
00050 #include "FWCore/Framework/interface/MakerMacros.h"
00051 
00052 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00053 
00054 #include "FWCore/ServiceRegistry/interface/Service.h"
00055 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00056 
00057 // DQM
00058 #include "DQMServices/Core/interface/DQMStore.h"
00059 #include "DQMServices/Core/interface/MonitorElement.h"
00060 
00061 
00062 // Trigger Headers
00063 
00064 
00065 
00066 //
00067 // class declaration
00068 //
00069 
00070 class L1TRCT : public edm::EDAnalyzer {
00071 
00072 public:
00073 
00074 // Constructor
00075   L1TRCT(const edm::ParameterSet& ps);
00076 
00077 // Destructor
00078  virtual ~L1TRCT();
00079 
00080 protected:
00081 // Analyze
00082  void analyze(const edm::Event& e, const edm::EventSetup& c);
00083 
00084 // BeginJob
00085  void beginJob(const edm::EventSetup& c);
00086 
00087 // EndJob
00088 void endJob(void);
00089 
00090 private:
00091   // ----------member data ---------------------------
00092   DQMStore * dbe;
00093 
00094   // region global coordinates
00095   MonitorElement* rctRegionsEtEtaPhi_;
00096   MonitorElement* rctRegionsOccEtaPhi_;
00097 
00098   // region local coordinates
00099   MonitorElement* rctRegionsLocalEtEtaPhi_;
00100   MonitorElement* rctRegionsLocalOccEtaPhi_;
00101   MonitorElement* rctTauVetoLocalEtaPhi_;
00102 
00103   // Region rank
00104   MonitorElement* rctRegionRank_;
00105 
00106 
00107   MonitorElement* rctOverFlowEtaPhi_;
00108   MonitorElement* rctTauVetoEtaPhi_;
00109   MonitorElement* rctMipEtaPhi_;
00110   MonitorElement* rctQuietEtaPhi_;
00111   MonitorElement* rctHfPlusTauEtaPhi_;
00112 
00113   // Bx
00114   MonitorElement *rctRegionBx_;
00115   MonitorElement *rctEmBx_;
00116 
00117   // em
00118   // HW coordinates
00119   MonitorElement *rctEmCardRegion_;
00120 
00121 
00122   MonitorElement* rctIsoEmEtEtaPhi_;
00123   MonitorElement* rctIsoEmOccEtaPhi_;
00124   MonitorElement* rctNonIsoEmEtEtaPhi_;
00125   MonitorElement* rctNonIsoEmOccEtaPhi_;
00126   MonitorElement* rctIsoEmRank_;
00127   MonitorElement* rctNonIsoEmRank_;
00128 
00129 
00130   int nev_; // Number of events processed
00131   std::string outputFile_; //file name for ROOT ouput
00132   bool verbose_;
00133   bool monitorDaemon_;
00134   ofstream logFile_;
00135 
00136   edm::InputTag rctSource_;
00137 
00138 
00139 };
00140 
00141 #endif

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