CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Validation/TrackerDigis/interface/SiPixelDigiValid.h

Go to the documentation of this file.
00001 #ifndef SiPixelDigiValid_h
00002 #define SiPixelDigiValid_h
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "FWCore/Framework/interface/ESHandle.h"
00009 #include "FWCore/Framework/interface/MakerMacros.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00012 #include "FWCore/ServiceRegistry/interface/Service.h"
00013 #include "DQMServices/Core/interface/DQMStore.h"
00014 
00015 #include "DQMServices/Core/interface/MonitorElement.h"
00016 #include "FWCore/Utilities/interface/InputTag.h"
00017 
00018 #include <string>
00019 
00020 class  SiPixelDigiValid: public edm::EDAnalyzer {
00021 
00022  public:
00023     
00024     SiPixelDigiValid(const edm::ParameterSet& ps);
00025     ~SiPixelDigiValid();
00026 
00027  protected:
00028      void analyze(const edm::Event& e, const edm::EventSetup& c);
00029      void beginJob();
00030      void endJob(void);
00031 
00032  private:
00033 
00034   std::string outputFile_;
00035 
00037   /* 1st Layer */
00038   MonitorElement* meAdcLayer1Ring1_;
00039   MonitorElement* meAdcLayer1Ring2_;
00040   MonitorElement* meAdcLayer1Ring3_;
00041   MonitorElement* meAdcLayer1Ring4_;
00042   MonitorElement* meAdcLayer1Ring5_;
00043   MonitorElement* meAdcLayer1Ring6_;
00044   MonitorElement* meAdcLayer1Ring7_;
00045   MonitorElement* meAdcLayer1Ring8_;
00046 
00047   MonitorElement* meRowLayer1Ring1_;
00048   MonitorElement* meRowLayer1Ring2_;
00049   MonitorElement* meRowLayer1Ring3_;
00050   MonitorElement* meRowLayer1Ring4_;
00051   MonitorElement* meRowLayer1Ring5_;
00052   MonitorElement* meRowLayer1Ring6_;
00053   MonitorElement* meRowLayer1Ring7_;
00054   MonitorElement* meRowLayer1Ring8_;
00055 
00056   MonitorElement* meColLayer1Ring1_;
00057   MonitorElement* meColLayer1Ring2_;
00058   MonitorElement* meColLayer1Ring3_;
00059   MonitorElement* meColLayer1Ring4_;
00060   MonitorElement* meColLayer1Ring5_;
00061   MonitorElement* meColLayer1Ring6_;
00062   MonitorElement* meColLayer1Ring7_;
00063   MonitorElement* meColLayer1Ring8_;
00064 
00065   MonitorElement* meDigiMultiLayer1Ring1_;
00066   MonitorElement* meDigiMultiLayer1Ring2_;
00067   MonitorElement* meDigiMultiLayer1Ring3_;
00068   MonitorElement* meDigiMultiLayer1Ring4_;
00069   MonitorElement* meDigiMultiLayer1Ring5_;
00070   MonitorElement* meDigiMultiLayer1Ring6_;
00071   MonitorElement* meDigiMultiLayer1Ring7_;
00072   MonitorElement* meDigiMultiLayer1Ring8_;
00073 
00074 
00075   /* 2nd Layer */
00076   MonitorElement* meAdcLayer2Ring1_;
00077   MonitorElement* meAdcLayer2Ring2_;
00078   MonitorElement* meAdcLayer2Ring3_;
00079   MonitorElement* meAdcLayer2Ring4_;
00080   MonitorElement* meAdcLayer2Ring5_;
00081   MonitorElement* meAdcLayer2Ring6_;
00082   MonitorElement* meAdcLayer2Ring7_;
00083   MonitorElement* meAdcLayer2Ring8_;
00084 
00085   MonitorElement* meRowLayer2Ring1_;
00086   MonitorElement* meRowLayer2Ring2_;
00087   MonitorElement* meRowLayer2Ring3_;
00088   MonitorElement* meRowLayer2Ring4_;
00089   MonitorElement* meRowLayer2Ring5_;
00090   MonitorElement* meRowLayer2Ring6_;
00091   MonitorElement* meRowLayer2Ring7_;
00092   MonitorElement* meRowLayer2Ring8_;
00093 
00094   MonitorElement* meColLayer2Ring1_;
00095   MonitorElement* meColLayer2Ring2_;
00096   MonitorElement* meColLayer2Ring3_;
00097   MonitorElement* meColLayer2Ring4_;
00098   MonitorElement* meColLayer2Ring5_;
00099   MonitorElement* meColLayer2Ring6_;
00100   MonitorElement* meColLayer2Ring7_;
00101   MonitorElement* meColLayer2Ring8_;
00102 
00103   MonitorElement* meDigiMultiLayer2Ring1_;
00104   MonitorElement* meDigiMultiLayer2Ring2_;
00105   MonitorElement* meDigiMultiLayer2Ring3_;
00106   MonitorElement* meDigiMultiLayer2Ring4_;
00107   MonitorElement* meDigiMultiLayer2Ring5_;
00108   MonitorElement* meDigiMultiLayer2Ring6_;
00109   MonitorElement* meDigiMultiLayer2Ring7_;
00110   MonitorElement* meDigiMultiLayer2Ring8_;
00111 
00112 
00113   /* 3rd Layer */
00114 
00115   MonitorElement* meAdcLayer3Ring1_;
00116   MonitorElement* meAdcLayer3Ring2_;
00117   MonitorElement* meAdcLayer3Ring3_;
00118   MonitorElement* meAdcLayer3Ring4_;
00119   MonitorElement* meAdcLayer3Ring5_;
00120   MonitorElement* meAdcLayer3Ring6_;
00121   MonitorElement* meAdcLayer3Ring7_;
00122   MonitorElement* meAdcLayer3Ring8_;
00123 
00124   MonitorElement* meRowLayer3Ring1_;
00125   MonitorElement* meRowLayer3Ring2_;
00126   MonitorElement* meRowLayer3Ring3_;
00127   MonitorElement* meRowLayer3Ring4_;
00128   MonitorElement* meRowLayer3Ring5_;
00129   MonitorElement* meRowLayer3Ring6_;
00130   MonitorElement* meRowLayer3Ring7_;
00131   MonitorElement* meRowLayer3Ring8_;
00132 
00133   MonitorElement* meColLayer3Ring1_;
00134   MonitorElement* meColLayer3Ring2_;
00135   MonitorElement* meColLayer3Ring3_;
00136   MonitorElement* meColLayer3Ring4_;
00137   MonitorElement* meColLayer3Ring5_;
00138   MonitorElement* meColLayer3Ring6_;
00139   MonitorElement* meColLayer3Ring7_;
00140   MonitorElement* meColLayer3Ring8_;
00141 
00142   MonitorElement* meDigiMultiLayer3Ring1_;
00143   MonitorElement* meDigiMultiLayer3Ring2_;
00144   MonitorElement* meDigiMultiLayer3Ring3_;
00145   MonitorElement* meDigiMultiLayer3Ring4_;
00146   MonitorElement* meDigiMultiLayer3Ring5_;
00147   MonitorElement* meDigiMultiLayer3Ring6_;
00148   MonitorElement* meDigiMultiLayer3Ring7_;
00149   MonitorElement* meDigiMultiLayer3Ring8_;
00150  
00151   /*Number of digi versus ladder number */
00152   MonitorElement* meDigiMultiLayer1Ladders_;
00153   MonitorElement* meDigiMultiLayer2Ladders_;
00154   MonitorElement* meDigiMultiLayer3Ladders_;
00155 
00156 
00158   /* 1st Disk in ZPlus Side */
00159   MonitorElement*  meAdcZpDisk1Panel1Plaq1_;
00160   MonitorElement*  meAdcZpDisk1Panel1Plaq2_;
00161   MonitorElement*  meAdcZpDisk1Panel1Plaq3_;
00162   MonitorElement*  meAdcZpDisk1Panel1Plaq4_;
00163   MonitorElement*  meAdcZpDisk1Panel2Plaq1_;
00164   MonitorElement*  meAdcZpDisk1Panel2Plaq2_;
00165   MonitorElement*  meAdcZpDisk1Panel2Plaq3_;
00166 
00167   MonitorElement*  meRowZpDisk1Panel1Plaq1_;
00168   MonitorElement*  meRowZpDisk1Panel1Plaq2_;
00169   MonitorElement*  meRowZpDisk1Panel1Plaq3_;
00170   MonitorElement*  meRowZpDisk1Panel1Plaq4_;
00171   MonitorElement*  meRowZpDisk1Panel2Plaq1_;
00172   MonitorElement*  meRowZpDisk1Panel2Plaq2_;
00173   MonitorElement*  meRowZpDisk1Panel2Plaq3_;
00174 
00175   MonitorElement*  meColZpDisk1Panel1Plaq1_;
00176   MonitorElement*  meColZpDisk1Panel1Plaq2_;
00177   MonitorElement*  meColZpDisk1Panel1Plaq3_;
00178   MonitorElement*  meColZpDisk1Panel1Plaq4_;
00179   MonitorElement*  meColZpDisk1Panel2Plaq1_;
00180   MonitorElement*  meColZpDisk1Panel2Plaq2_;
00181   MonitorElement*  meColZpDisk1Panel2Plaq3_;
00182   MonitorElement*  meNdigiZpDisk1PerPanel1_;
00183   MonitorElement*  meNdigiZpDisk1PerPanel2_;
00184   
00185 
00186   /* 2nd Disk in ZPlus Side */
00187   MonitorElement*  meAdcZpDisk2Panel1Plaq1_;
00188   MonitorElement*  meAdcZpDisk2Panel1Plaq2_;
00189   MonitorElement*  meAdcZpDisk2Panel1Plaq3_;
00190   MonitorElement*  meAdcZpDisk2Panel1Plaq4_;
00191   MonitorElement*  meAdcZpDisk2Panel2Plaq1_;
00192   MonitorElement*  meAdcZpDisk2Panel2Plaq2_;
00193   MonitorElement*  meAdcZpDisk2Panel2Plaq3_;
00194 
00195   MonitorElement*  meRowZpDisk2Panel1Plaq1_;
00196   MonitorElement*  meRowZpDisk2Panel1Plaq2_;
00197   MonitorElement*  meRowZpDisk2Panel1Plaq3_;
00198   MonitorElement*  meRowZpDisk2Panel1Plaq4_;
00199   MonitorElement*  meRowZpDisk2Panel2Plaq1_;
00200   MonitorElement*  meRowZpDisk2Panel2Plaq2_;
00201   MonitorElement*  meRowZpDisk2Panel2Plaq3_;
00202 
00203   MonitorElement*  meColZpDisk2Panel1Plaq1_;
00204   MonitorElement*  meColZpDisk2Panel1Plaq2_;
00205   MonitorElement*  meColZpDisk2Panel1Plaq3_;
00206   MonitorElement*  meColZpDisk2Panel1Plaq4_;
00207   MonitorElement*  meColZpDisk2Panel2Plaq1_;
00208   MonitorElement*  meColZpDisk2Panel2Plaq2_;
00209   MonitorElement*  meColZpDisk2Panel2Plaq3_;
00210   MonitorElement*  meNdigiZpDisk2PerPanel1_;
00211   MonitorElement*  meNdigiZpDisk2PerPanel2_;
00212 
00213   /* 1st Disk in ZMinus Side */
00214   MonitorElement*  meAdcZmDisk1Panel1Plaq1_;
00215   MonitorElement*  meAdcZmDisk1Panel1Plaq2_;
00216   MonitorElement*  meAdcZmDisk1Panel1Plaq3_;
00217   MonitorElement*  meAdcZmDisk1Panel1Plaq4_;
00218   MonitorElement*  meAdcZmDisk1Panel2Plaq1_;
00219   MonitorElement*  meAdcZmDisk1Panel2Plaq2_;
00220   MonitorElement*  meAdcZmDisk1Panel2Plaq3_;
00221 
00222   MonitorElement*  meRowZmDisk1Panel1Plaq1_;
00223   MonitorElement*  meRowZmDisk1Panel1Plaq2_;
00224   MonitorElement*  meRowZmDisk1Panel1Plaq3_;
00225   MonitorElement*  meRowZmDisk1Panel1Plaq4_;
00226   MonitorElement*  meRowZmDisk1Panel2Plaq1_;
00227   MonitorElement*  meRowZmDisk1Panel2Plaq2_;
00228   MonitorElement*  meRowZmDisk1Panel2Plaq3_;
00229 
00230   MonitorElement*  meColZmDisk1Panel1Plaq1_;
00231   MonitorElement*  meColZmDisk1Panel1Plaq2_;
00232   MonitorElement*  meColZmDisk1Panel1Plaq3_;
00233   MonitorElement*  meColZmDisk1Panel1Plaq4_;
00234   MonitorElement*  meColZmDisk1Panel2Plaq1_;
00235   MonitorElement*  meColZmDisk1Panel2Plaq2_;
00236   MonitorElement*  meColZmDisk1Panel2Plaq3_;
00237   MonitorElement*  meNdigiZmDisk1PerPanel1_;
00238   MonitorElement*  meNdigiZmDisk1PerPanel2_;
00239 
00240   /* 2nd Disk in ZMius Side */
00241   MonitorElement*  meAdcZmDisk2Panel1Plaq1_;
00242   MonitorElement*  meAdcZmDisk2Panel1Plaq2_;
00243   MonitorElement*  meAdcZmDisk2Panel1Plaq3_;
00244   MonitorElement*  meAdcZmDisk2Panel1Plaq4_;
00245   MonitorElement*  meAdcZmDisk2Panel2Plaq1_;
00246   MonitorElement*  meAdcZmDisk2Panel2Plaq2_;
00247   MonitorElement*  meAdcZmDisk2Panel2Plaq3_;
00248 
00249   MonitorElement*  meRowZmDisk2Panel1Plaq1_;
00250   MonitorElement*  meRowZmDisk2Panel1Plaq2_;
00251   MonitorElement*  meRowZmDisk2Panel1Plaq3_;
00252   MonitorElement*  meRowZmDisk2Panel1Plaq4_;
00253   MonitorElement*  meRowZmDisk2Panel2Plaq1_;
00254   MonitorElement*  meRowZmDisk2Panel2Plaq2_;
00255   MonitorElement*  meRowZmDisk2Panel2Plaq3_;
00256 
00257   MonitorElement*  meColZmDisk2Panel1Plaq1_;
00258   MonitorElement*  meColZmDisk2Panel1Plaq2_;
00259   MonitorElement*  meColZmDisk2Panel1Plaq3_;
00260   MonitorElement*  meColZmDisk2Panel1Plaq4_;
00261   MonitorElement*  meColZmDisk2Panel2Plaq1_;
00262   MonitorElement*  meColZmDisk2Panel2Plaq2_;
00263   MonitorElement*  meColZmDisk2Panel2Plaq3_;
00264   MonitorElement*  meNdigiZmDisk2PerPanel1_;
00265   MonitorElement*  meNdigiZmDisk2PerPanel2_;
00266    
00267  
00268   DQMStore* dbe_;
00269   edm::InputTag src_;  
00270 
00271  
00272 };
00273 #endif
00274