Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-01 22:41:17

0001 #ifndef Validation_MuonCSCDigis_CSCWireDigiValidation_H
0002 #define Validation_MuonCSCDigis_CSCWireDigiValidation_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 
0006 #include "DQMServices/Core/interface/DQMStore.h"
0007 #include "DataFormats/CSCDigi/interface/CSCWireDigiCollection.h"
0008 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
0009 
0010 class CSCWireDigiValidation : public CSCBaseValidation {
0011 public:
0012   CSCWireDigiValidation(const edm::ParameterSet &ps, edm::ConsumesCollector &&iC);
0013   ~CSCWireDigiValidation() override;
0014   void bookHistograms(DQMStore::IBooker &);
0015   void analyze(const edm::Event &, const edm::EventSetup &) override;
0016   void plotResolution(const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType);
0017 
0018 private:
0019   edm::EDGetTokenT<CSCWireDigiCollection> wires_Token_;
0020   edm::InputTag inputTag_;
0021   MonitorElement *theTimeBinPlots[10];
0022   MonitorElement *theNDigisPerLayerPlots[10];
0023   MonitorElement *theResolutionPlots[10];
0024   MonitorElement *theNDigisPerEventPlot;
0025 };
0026 
0027 #endif