Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Validation_MuonCSCDigis_CSCCLCTPreTriggerDigiValidation_H
0002 #define Validation_MuonCSCDigis_CSCCLCTPreTriggerDigiValidation_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 
0006 #include "DQMServices/Core/interface/DQMStore.h"
0007 #include "DataFormats/CSCDigi/interface/CSCCLCTPreTriggerDigiCollection.h"
0008 #include "Validation/MuonCSCDigis/interface/CSCBaseValidation.h"
0009 
0010 class CSCCLCTPreTriggerDigiValidation : public CSCBaseValidation {
0011 public:
0012   CSCCLCTPreTriggerDigiValidation(const edm::ParameterSet &ps, edm::ConsumesCollector &&iC);
0013   ~CSCCLCTPreTriggerDigiValidation() override;
0014   void bookHistograms(DQMStore::IBooker &);
0015   void analyze(const edm::Event &, const edm::EventSetup &) override;
0016 
0017 private:
0018   edm::EDGetTokenT<CSCCLCTPreTriggerDigiCollection> preclcts_Token_;
0019   edm::InputTag inputTag_;
0020 
0021   // more diagnostic plots
0022   std::vector<std::string> chambers_;
0023   std::vector<unsigned> chambersRun3_;
0024 
0025   std::vector<std::string> preclctVars_;
0026   std::vector<unsigned> preclctNBin_;
0027   std::vector<double> preclctMinBin_;
0028   std::vector<double> preclctMaxBin_;
0029 
0030   bool isRun3_;
0031 
0032   // first key is the chamber number
0033   // second key is the variable
0034   std::map<uint32_t, std::map<std::string, MonitorElement *> > chamberHistos;
0035 };
0036 
0037 #endif