Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Validation_MuonCSCDigis_CSCStubEfficiencyValidation_H
0002 #define Validation_MuonCSCDigis_CSCStubEfficiencyValidation_H
0003 
0004 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
0005 
0006 #include <string>
0007 
0008 class CSCStubMatcher;
0009 
0010 class CSCStubEfficiencyValidation : public CSCBaseValidation {
0011 public:
0012   CSCStubEfficiencyValidation(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC);
0013   ~CSCStubEfficiencyValidation() override;
0014 
0015   void bookHistograms(DQMStore::IBooker &);
0016   void analyze(const edm::Event &, const edm::EventSetup &) override;
0017 
0018 private:
0019   std::unique_ptr<CSCStubMatcher> cscStubMatcher_;
0020 
0021   // efficiency vs eta for each CSC TP
0022   MonitorElement *etaALCTNum[10];
0023   MonitorElement *etaALCTDenom[10];
0024   MonitorElement *etaCLCTNum[10];
0025   MonitorElement *etaCLCTDenom[10];
0026   MonitorElement *etaLCTNum[10];
0027   MonitorElement *etaLCTDenom[10];
0028 
0029   edm::EDGetTokenT<edm::SimVertexContainer> simVertexInput_;
0030   edm::EDGetTokenT<edm::SimTrackContainer> simTrackInput_;
0031 
0032   std::vector<double> etaMins_;
0033   std::vector<double> etaMaxs_;
0034 };
0035 
0036 #endif