File indexing completed on 2023-10-25 10:06:56
0001 #ifndef MuonME0DigisHarvestor_H
0002 #define MuonME0DigisHarvestor_H
0003
0004 #include "FWCore/Framework/interface/Event.h"
0005
0006 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0007 #include "DQMServices/Core/interface/DQMStore.h"
0008 #include "Geometry/GEMGeometry/interface/ME0Geometry.h"
0009 #include "SimMuon/MCTruth/interface/PSimHitMap.h"
0010
0011 #include "Validation/MuonME0Validation/interface/ME0DigisValidation.h"
0012 #include <TEfficiency.h>
0013 #include <TGraphAsymmErrors.h>
0014 #include <TProfile.h>
0015
0016 class MuonME0DigisHarvestor : public DQMEDHarvester {
0017 public:
0018
0019 explicit MuonME0DigisHarvestor(const edm::ParameterSet &);
0020
0021 ~MuonME0DigisHarvestor() override;
0022
0023 void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0024 void ProcessBooking(DQMStore::IBooker &, DQMStore::IGetter &, std::string nameHist, TH1F *num, TH1F *den);
0025 void ProcessBookingBKG(
0026 DQMStore::IBooker &ibooker, DQMStore::IGetter &ig, std::string nameHist, TH1F *hist, TH1F *hist2);
0027 TProfile *ComputeEff(TH1F *num, TH1F *denum, std::string nameHist);
0028 TH1F *ComputeBKG(TH1F *hist1, TH1F *hist2, std::string nameHist);
0029
0030 private:
0031 std::string dbe_path_;
0032 };
0033 #endif