18 TString simhit_occ_folder =
"GEM/SimHits/";
19 TString occ_folder =
"GEM/RecHits/";
20 TString eff_folder =
"GEM/RecHits/";
29 TString rechit_det_path = occ_folder +
"sim_matched_occ_det" + name_suf_re_st;
30 TString simhit_det_path = simhit_occ_folder +
"sim_muon_occ_det" + name_suf_re_st;
32 TString eff_det_name =
"eff_det" + name_suf_re_st;
33 TString eff_det_title =
"Detector Component Efficiency :" + title_suf_re_st;
35 bookEff2D(booker, getter, rechit_det_path, simhit_det_path, eff_folder, eff_det_name, eff_det_title);
38 if (station_id != 0 and layer_id > 2)
44 TString rechit_eta_path = occ_folder +
"sim_matched_occ_eta" + name_suf_re_st_ly;
45 TString simhit_eta_path = simhit_occ_folder +
"sim_muon_occ_eta" + name_suf_re_st_ly;
47 TString eff_eta_name =
"eff_eta" + name_suf_re_st_ly;
48 TString eff_eta_title =
"Eta Efficiency :" + title_suf_re_st_ly;
50 bookEff1D(booker, getter, rechit_eta_path, simhit_eta_path, eff_folder, eff_eta_name, eff_eta_title);
53 TString rechit_phi_path = occ_folder +
"sim_matched_occ_phi" + name_suf_re_st_ly;
54 TString simhit_phi_path = simhit_occ_folder +
"sim_muon_occ_phi" + name_suf_re_st_ly;
56 TString eff_phi_name =
"eff_phi" + name_suf_re_st_ly;
57 TString eff_phi_title =
"Phi Efficiency :" + title_suf_re_st_ly;
59 bookEff1D(booker, getter, rechit_phi_path, simhit_phi_path, eff_folder, eff_phi_name, eff_phi_title);
T getUntrackedParameter(std::string const &, T const &) const
std::vector< Int_t > region_ids_
TString getSuffixName(Int_t region_id)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
TString getSuffixTitle(Int_t region_id)
void bookEff2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &getter, const TString &passed_path, const TString &total_path, const TString &folder, const TString &eff_name, const TString &eff_title="Efficiency")
void bookEff1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &getter, const TString &passed_path, const TString &total_path, const TString &folder, const TString &eff_name, const TString &eff_title="Efficiency")
std::vector< Int_t > layer_ids_
MuonGEMRecHitsHarvestor(const edm::ParameterSet &)
T getParameter(std::string const &) const
std::vector< Int_t > station_ids_
~MuonGEMRecHitsHarvestor() override