Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Validation_MuonCSCDigis_CSCStripDigiValidation_H
0002 #define Validation_MuonCSCDigis_CSCStripDigiValidation_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 
0006 #include "DQMServices/Core/interface/DQMStore.h"
0007 #include "DataFormats/CSCDigi/interface/CSCStripDigiCollection.h"
0008 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
0009 
0010 class CSCStripDigiValidation : public CSCBaseValidation {
0011 public:
0012   CSCStripDigiValidation(const edm::ParameterSet &ps, edm::ConsumesCollector &&iC);
0013   ~CSCStripDigiValidation() override;
0014 
0015   void bookHistograms(DQMStore::IBooker &);
0016   void analyze(const edm::Event &e, const edm::EventSetup &) override;
0017   void plotResolution(const PSimHit &hit, int strip, const CSCLayer *layer, int chamberType);
0018 
0019 private:
0020   void fillPedestalPlots(const CSCStripDigi &digi);
0021   void fillSignalPlots(const CSCStripDigi &digi);
0022 
0023   edm::EDGetTokenT<CSCStripDigiCollection> strips_Token_;
0024   edm::InputTag inputTag_;
0025   float thePedestalSum;
0026   float thePedestalCovarianceSum;
0027   int thePedestalCount;
0028   MonitorElement *thePedestalPlot;
0029   MonitorElement *thePedestalTimeCorrelationPlot;
0030   MonitorElement *thePedestalNeighborCorrelationPlot;
0031   MonitorElement *theAmplitudePlot;
0032   MonitorElement *theRatio4to5Plot;
0033   MonitorElement *theRatio6to5Plot;
0034   MonitorElement *theNDigisPerLayerPlot;
0035   MonitorElement *theNDigisPerChamberPlot;
0036   MonitorElement *theNDigisPerEventPlot;
0037 };
0038 
0039 #endif