CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/Validation/CSCRecHits/src/CSCRecHit2DValidation.h

Go to the documentation of this file.
00001 #ifndef CSCRecHit2DValidation_h
00002 #define CSCRecHit2DValidation_h
00003 
00004 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
00005 #include "DataFormats/CSCRecHit/interface/CSCRecHit2D.h"
00006 #include "Geometry/CSCGeometry/interface/CSCLayer.h"
00007 #include "DQMServices/Core/interface/DQMStore.h"
00008 #include "DQMServices/Core/interface/MonitorElement.h"
00009 
00010 class CSCRecHit2DValidation : public CSCBaseValidation
00011 {
00012 public:
00013   CSCRecHit2DValidation(DQMStore* dbe, const edm::InputTag & inputTag);
00014 
00015   // print out RMSes
00016   virtual ~CSCRecHit2DValidation();
00017   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00018 
00019  private:
00020   void plotResolution(const PSimHit & simHit, const CSCRecHit2D & recHit,
00021                       const CSCLayer * layer, int chamberType);
00022 
00023   MonitorElement* theNPerEventPlot;
00024   MonitorElement* theResolutionPlots[10];
00025   MonitorElement* thePullPlots[10];
00026   MonitorElement* theYResolutionPlots[10];
00027   MonitorElement* theYPullPlots[10];
00028   MonitorElement* theScatterPlots[10];
00029   MonitorElement* theSimHitScatterPlots[10];
00030   MonitorElement* theRecHitPosInStrip[10];
00031   MonitorElement* theSimHitPosInStrip[10];
00032   MonitorElement* theTPeaks[10];
00033 };
00034 
00035 #endif
00036