CMS 3D CMS Logo

MuonCSCDigisHarvestor.cc
Go to the documentation of this file.
1 #ifndef Validation_MuonCSCDigis_MuonCSCDigisHarvestor_h
2 #define Validation_MuonCSCDigis_MuonCSCDigisHarvestor_h
3 
9 
11 public:
15  ~MuonCSCDigisHarvestor() override {}
16 
18 
19 private:
20 };
21 
23  : MuonGEMBaseHarvestor(pset, "MuonGEMDigisHarvestor") {}
24 
26  for (int i = 1; i <= 10; ++i) {
28 
29  std::string occ_folder = "MuonCSCDigisV/CSCDigiTask/ALCT/Occupancy/";
30  std::string d1 = occ_folder + "ALCTEtaDenom_" + cn;
31  std::string n1 = occ_folder + "ALCTEtaNum_" + cn;
32  std::string e1 = "ALCTEtaEff_" + cn;
33 
34  occ_folder = "MuonCSCDigisV/CSCDigiTask/CLCT/Occupancy/";
35  std::string d2 = occ_folder + "CLCTEtaDenom_" + cn;
36  std::string n2 = occ_folder + "CLCTEtaNum_" + cn;
37  std::string e2 = "CLCTEtaEff_" + cn;
38 
39  occ_folder = "MuonCSCDigisV/CSCDigiTask/LCT/Occupancy/";
40  std::string d3 = occ_folder + "LCTEtaDenom_" + cn;
41  std::string n3 = occ_folder + "LCTEtaNum_" + cn;
42  std::string e3 = "LCTEtaEff_" + cn;
43 
44  std::string eff_folder = "MuonCSCDigisV/CSCDigiTask/ALCT/Efficiency/";
45  bookEff1D(booker, getter, n1, d1, eff_folder, e1, cn + " ALCT Efficiency;True Muon |#eta|;Efficiency");
46  eff_folder = "MuonCSCDigisV/CSCDigiTask/CLCT/Efficiency/";
47  bookEff1D(booker, getter, n2, d2, eff_folder, e2, cn + " CLCT Efficiency;True Muon |#eta|;Efficiency");
48  eff_folder = "MuonCSCDigisV/CSCDigiTask/LCT/Efficiency/";
49  bookEff1D(booker, getter, n3, d3, eff_folder, e3, cn + " LCT Efficiency;True Muon |#eta|;Efficiency");
50  }
51 }
52 
54 #endif
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::string chamberName() const
Definition: CSCDetId.cc:92
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MuonCSCDigisHarvestor(const edm::ParameterSet &)
constructor
~MuonCSCDigisHarvestor() override
destructor
static constexpr float d1