CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/Validation/MuonCSCDigis/src/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 
00018   void plotResolution(const PSimHit & hit, const CSCWireDigi & digi,
00019                       const CSCLayer * layer, int chamberType);
00020 
00021  private:
00022   bool theDoSimFlag;
00023   MonitorElement* theTimeBinPlots[10];
00024   MonitorElement* theNDigisPerLayerPlots[10];
00025   MonitorElement* theResolutionPlots[10];
00026   MonitorElement* theNDigisPerEventPlot;
00027    
00028 };
00029 
00030 #endif
00031