CMS 3D CMS Logo

CSCWireDigiValidation.h

Go to the documentation of this file.
00001 #ifndef CSCWireDigiValidation_H
00002 #define CSCWireDigiValidation_H
00003 
00004 #include "DataFormats/CSCDigi/interface/CSCWireDigi.h"
00005 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
00006 #include "DQMServices/Core/interface/DQMStore.h"
00007 #include "DQMServices/Core/interface/MonitorElement.h"
00008 
00009 class CSCWireDigiValidation : public CSCBaseValidation
00010 {
00011 public:
00012   CSCWireDigiValidation(DQMStore* dbe, 
00013                         const edm::InputTag & inputTag,
00014                         bool doSim);
00015   ~CSCWireDigiValidation();
00016   void analyze(const edm::Event&, const edm::EventSetup&);
00017   void beginJob(const edm::EventSetup&) {}
00018   void endJob() {}
00019 
00020   void plotResolution(const PSimHit & hit, const CSCWireDigi & digi,
00021                       const CSCLayer * layer, int chamberType);
00022 
00023  private:
00024   bool theDoSimFlag;
00025   MonitorElement* theTimeBinPlots[10];
00026   MonitorElement* theNDigisPerLayerPlots[10];
00027   MonitorElement* theResolutionPlots[10];
00028   MonitorElement* theNDigisPerEventPlot;
00029    
00030 };
00031 
00032 #endif
00033 

Generated on Tue Jun 9 17:49:24 2009 for CMSSW by  doxygen 1.5.4