Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:07:36

0001 #ifndef Validation_RPCRecHits_RPCPointVsRecHit_h
0002 #define Validation_RPCRecHits_RPCPointVsRecHit_h
0003 
0004 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 
0007 #include "FWCore/Framework/interface/Event.h"
0008 #include "FWCore/Framework/interface/EventSetup.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 #include "FWCore/Utilities/interface/InputTag.h"
0011 
0012 #include "FWCore/ServiceRegistry/interface/Service.h"
0013 #include "Geometry/RPCGeometry/interface/RPCGeometry.h"
0014 #include "Geometry/Records/interface/MuonGeometryRecord.h"
0015 
0016 #include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h"
0017 #include "Validation/RPCRecHits/interface/RPCValidHistograms.h"
0018 
0019 #include <string>
0020 
0021 class RPCPointVsRecHit : public DQMEDAnalyzer {
0022 public:
0023   RPCPointVsRecHit(const edm::ParameterSet &pset);
0024   ~RPCPointVsRecHit() override{};
0025 
0026   void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override;
0027   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0028 
0029 private:
0030   edm::EDGetTokenT<RPCRecHitCollection> refHitToken_, recHitToken_;
0031   edm::ESGetToken<RPCGeometry, MuonGeometryRecord> rpcGeomToken_;
0032 
0033   std::string subDir_;
0034   RPCValidHistograms h_;
0035 };
0036 
0037 #endif  // Validation_RPCRecHits_RPCPointVsRecHit_h