14 edm::LogVerbatim (
"rpcdqmclient") <<
"[RPCRecHitProbabilityClient]: Constructor";
22 globalFolder_ = subsystemFolder +
"/"+ recHitTypeFolder +
"/"+ summaryFolder ;
30 edm::LogVerbatim (
"rpcrechitprobabilityclient") <<
"[RPCRecHitProbabilityClient]: Begin Job";
41 edm::LogVerbatim (
"rpcrechitprobabilityclient") <<
"[RPCRecHitProbabilityClient]: End Run";
51 if(NumberOfMuonEta ==
nullptr ||
52 NumberOfMuonPt_B ==
nullptr || NumberOfMuonPt_EP ==
nullptr || NumberOfMuonPt_EM ==
nullptr ||
53 NumberOfMuonPhi_B ==
nullptr || NumberOfMuonPhi_EP ==
nullptr || NumberOfMuonPhi_EM ==
nullptr )
return;
56 TH1F * NumberOfMuonEtaTH1F = NumberOfMuonEta->
getTH1F();
57 TH1F * NumberOfMuonPtBTH1F = NumberOfMuonPt_B->
getTH1F();
58 TH1F * NumberOfMuonPtEPTH1F = NumberOfMuonPt_EP->
getTH1F();
59 TH1F * NumberOfMuonPtEMTH1F = NumberOfMuonPt_EM->
getTH1F();
60 TH1F * NumberOfMuonPhiBTH1F = NumberOfMuonPhi_B->
getTH1F();
61 TH1F * NumberOfMuonPhiEPTH1F = NumberOfMuonPhi_EP->
getTH1F();
62 TH1F * NumberOfMuonPhiEMTH1F = NumberOfMuonPhi_EM->
getTH1F();
66 std::stringstream
name;
68 for(
int i = 1 ;
i<= 6 ;
i++) {
75 recHit = igetter.
get(name.str());
80 recHitTH1F->Divide(NumberOfMuonEtaTH1F);
88 recHit = igetter.
get(name.str());
92 recHitTH1F->Divide(NumberOfMuonPtBTH1F);
100 recHit = igetter.
get(name.str());
103 recHitTH1F = recHit->
getTH1F();
104 recHitTH1F->Divide(NumberOfMuonPhiBTH1F);
108 recHitTH1F =
nullptr;
112 recHit = igetter.
get(name.str());
115 recHitTH1F = recHit->
getTH1F();
116 recHitTH1F->Divide(NumberOfMuonPtEPTH1F);
120 recHitTH1F =
nullptr;
124 recHit = igetter.
get(name.str());
127 recHitTH1F = recHit->
getTH1F();
128 recHitTH1F->Divide(NumberOfMuonPhiEPTH1F);
133 recHitTH1F =
nullptr;
137 recHit = igetter.
get(name.str());
140 recHitTH1F = recHit->
getTH1F();
141 recHitTH1F->Divide(NumberOfMuonPtEMTH1F);
145 recHitTH1F =
nullptr;
149 recHit = igetter.
get(name.str());
152 recHitTH1F = recHit->
getTH1F();
153 recHitTH1F->Divide(NumberOfMuonPhiEMTH1F);
std::string globalFolder_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * get(const std::string &path)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
RPCRecHitProbabilityClient(const edm::ParameterSet &ps)
Constructor.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
~RPCRecHitProbabilityClient() override
Destructor.