00001 #ifndef SiStripDigiValid_h 00002 #define SiStripDigiValid_h 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/Framework/interface/EDAnalyzer.h" 00006 00007 #include "FWCore/Framework/interface/Event.h" 00008 #include "FWCore/Framework/interface/EventSetup.h" 00009 #include "FWCore/Framework/interface/ESHandle.h" 00010 #include "FWCore/Framework/interface/MakerMacros.h" 00011 00012 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00013 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00014 00015 #include "DQMServices/Core/interface/DQMStore.h" 00016 00017 #include "FWCore/ServiceRegistry/interface/Service.h" 00018 #include "FWCore/Utilities/interface/InputTag.h" 00019 00020 #include <string> 00021 #include "DQMServices/Core/interface/MonitorElement.h" 00022 00023 class SiStripDigiValid: public edm::EDAnalyzer { 00024 00025 public: 00026 00027 SiStripDigiValid(const edm::ParameterSet& ps); 00028 ~SiStripDigiValid(); 00029 00030 protected: 00031 void analyze(const edm::Event& e, const edm::EventSetup& c); 00032 void beginJob(); 00033 void endJob(void); 00034 00035 private: 00036 00037 00038 //TIB ADC 00039 MonitorElement* meAdcTIBLayer1Extzp_[3]; 00040 MonitorElement* meAdcTIBLayer2Extzp_[3]; 00041 MonitorElement* meAdcTIBLayer3Extzp_[3]; 00042 MonitorElement* meAdcTIBLayer4Extzp_[3]; 00043 00044 MonitorElement* meStripTIBLayer1Extzp_[3]; 00045 MonitorElement* meStripTIBLayer2Extzp_[3]; 00046 MonitorElement* meStripTIBLayer3Extzp_[3]; 00047 MonitorElement* meStripTIBLayer4Extzp_[3]; 00048 00049 MonitorElement* meAdcTIBLayer1Intzp_[3]; 00050 MonitorElement* meAdcTIBLayer2Intzp_[3]; 00051 MonitorElement* meAdcTIBLayer3Intzp_[3]; 00052 MonitorElement* meAdcTIBLayer4Intzp_[3]; 00053 00054 MonitorElement* meStripTIBLayer1Intzp_[3]; 00055 MonitorElement* meStripTIBLayer2Intzp_[3]; 00056 MonitorElement* meStripTIBLayer3Intzp_[3]; 00057 MonitorElement* meStripTIBLayer4Intzp_[3]; 00058 00059 MonitorElement* meAdcTIBLayer1Extzm_[3]; 00060 MonitorElement* meAdcTIBLayer2Extzm_[3]; 00061 MonitorElement* meAdcTIBLayer3Extzm_[3]; 00062 MonitorElement* meAdcTIBLayer4Extzm_[3]; 00063 00064 MonitorElement* meStripTIBLayer1Extzm_[3]; 00065 MonitorElement* meStripTIBLayer2Extzm_[3]; 00066 MonitorElement* meStripTIBLayer3Extzm_[3]; 00067 MonitorElement* meStripTIBLayer4Extzm_[3]; 00068 00069 MonitorElement* meAdcTIBLayer1Intzm_[3]; 00070 MonitorElement* meAdcTIBLayer2Intzm_[3]; 00071 MonitorElement* meAdcTIBLayer3Intzm_[3]; 00072 MonitorElement* meAdcTIBLayer4Intzm_[3]; 00073 00074 MonitorElement* meStripTIBLayer1Intzm_[3]; 00075 MonitorElement* meStripTIBLayer2Intzm_[3]; 00076 MonitorElement* meStripTIBLayer3Intzm_[3]; 00077 MonitorElement* meStripTIBLayer4Intzm_[3]; 00078 00079 //TOB ADC 00080 MonitorElement* meAdcTOBLayer1zp_[6]; 00081 MonitorElement* meAdcTOBLayer2zp_[6]; 00082 MonitorElement* meAdcTOBLayer3zp_[6]; 00083 MonitorElement* meAdcTOBLayer4zp_[6]; 00084 MonitorElement* meAdcTOBLayer5zp_[6]; 00085 MonitorElement* meAdcTOBLayer6zp_[6]; 00086 00087 MonitorElement* meAdcTOBLayer1zm_[6]; 00088 MonitorElement* meAdcTOBLayer2zm_[6]; 00089 MonitorElement* meAdcTOBLayer3zm_[6]; 00090 MonitorElement* meAdcTOBLayer4zm_[6]; 00091 MonitorElement* meAdcTOBLayer5zm_[6]; 00092 MonitorElement* meAdcTOBLayer6zm_[6]; 00093 00094 //TOB Strip 00095 MonitorElement* meStripTOBLayer1zp_[6]; 00096 MonitorElement* meStripTOBLayer2zp_[6]; 00097 MonitorElement* meStripTOBLayer3zp_[6]; 00098 MonitorElement* meStripTOBLayer4zp_[6]; 00099 MonitorElement* meStripTOBLayer5zp_[6]; 00100 MonitorElement* meStripTOBLayer6zp_[6]; 00101 00102 MonitorElement* meStripTOBLayer1zm_[6]; 00103 MonitorElement* meStripTOBLayer2zm_[6]; 00104 MonitorElement* meStripTOBLayer3zm_[6]; 00105 MonitorElement* meStripTOBLayer4zm_[6]; 00106 MonitorElement* meStripTOBLayer5zm_[6]; 00107 MonitorElement* meStripTOBLayer6zm_[6]; 00108 00109 00110 //TID ADC 00111 MonitorElement* meAdcTIDWheel1zp_[3]; 00112 MonitorElement* meAdcTIDWheel2zp_[3]; 00113 MonitorElement* meAdcTIDWheel3zp_[3]; 00114 00115 MonitorElement* meAdcTIDWheel1zm_[3]; 00116 MonitorElement* meAdcTIDWheel2zm_[3]; 00117 MonitorElement* meAdcTIDWheel3zm_[3]; 00118 00119 //TID Strip 00120 MonitorElement* meStripTIDWheel1zp_[3]; 00121 MonitorElement* meStripTIDWheel2zp_[3]; 00122 MonitorElement* meStripTIDWheel3zp_[3]; 00123 00124 MonitorElement* meStripTIDWheel1zm_[3]; 00125 MonitorElement* meStripTIDWheel2zm_[3]; 00126 MonitorElement* meStripTIDWheel3zm_[3]; 00127 00128 //TEC ADC 00129 MonitorElement* meAdcTECWheel1zp_[7]; 00130 MonitorElement* meAdcTECWheel2zp_[7]; 00131 MonitorElement* meAdcTECWheel3zp_[7]; 00132 MonitorElement* meAdcTECWheel4zp_[6]; 00133 MonitorElement* meAdcTECWheel5zp_[6]; 00134 MonitorElement* meAdcTECWheel6zp_[6]; 00135 MonitorElement* meAdcTECWheel7zp_[5]; 00136 MonitorElement* meAdcTECWheel8zp_[5]; 00137 MonitorElement* meAdcTECWheel9zp_[4]; 00138 00139 MonitorElement* meAdcTECWheel1zm_[7]; 00140 MonitorElement* meAdcTECWheel2zm_[7]; 00141 MonitorElement* meAdcTECWheel3zm_[7]; 00142 MonitorElement* meAdcTECWheel4zm_[6]; 00143 MonitorElement* meAdcTECWheel5zm_[6]; 00144 MonitorElement* meAdcTECWheel6zm_[6]; 00145 MonitorElement* meAdcTECWheel7zm_[5]; 00146 MonitorElement* meAdcTECWheel8zm_[5]; 00147 MonitorElement* meAdcTECWheel9zm_[4]; 00148 00149 //TEC Strip 00150 MonitorElement* meStripTECWheel1zp_[7]; 00151 MonitorElement* meStripTECWheel2zp_[7]; 00152 MonitorElement* meStripTECWheel3zp_[7]; 00153 MonitorElement* meStripTECWheel4zp_[6]; 00154 MonitorElement* meStripTECWheel5zp_[6]; 00155 MonitorElement* meStripTECWheel6zp_[6]; 00156 MonitorElement* meStripTECWheel7zp_[5]; 00157 MonitorElement* meStripTECWheel8zp_[5]; 00158 MonitorElement* meStripTECWheel9zp_[4]; 00159 00160 MonitorElement* meStripTECWheel1zm_[7]; 00161 MonitorElement* meStripTECWheel2zm_[7]; 00162 MonitorElement* meStripTECWheel3zm_[7]; 00163 MonitorElement* meStripTECWheel4zm_[6]; 00164 MonitorElement* meStripTECWheel5zm_[6]; 00165 MonitorElement* meStripTECWheel6zm_[6]; 00166 MonitorElement* meStripTECWheel7zm_[5]; 00167 MonitorElement* meStripTECWheel8zm_[5]; 00168 MonitorElement* meStripTECWheel9zm_[4]; 00169 00170 MonitorElement* meNDigiTIBLayerzm_[4]; 00171 MonitorElement* meNDigiTOBLayerzm_[6]; 00172 MonitorElement* meNDigiTIDWheelzm_[3]; 00173 MonitorElement* meNDigiTECWheelzm_[9]; 00174 00175 MonitorElement* meNDigiTIBLayerzp_[4]; 00176 MonitorElement* meNDigiTOBLayerzp_[6]; 00177 MonitorElement* meNDigiTIDWheelzp_[3]; 00178 MonitorElement* meNDigiTECWheelzp_[9]; 00179 00180 00181 //Back-End Interface 00182 DQMStore* dbe_; 00183 std::string outputFile_; 00184 edm::InputTag src_; 00185 }; 00186 00187 00188 00189 00190 #endif 00191