14 edm::LogVerbatim (
"rpcdqmclient") <<
"[RPCRecHitProbabilityClient]: Constructor";
22 globalFolder_ = subsystemFolder +
"/"+ recHitTypeFolder +
"/"+ summaryFolder ;
30 edm::LogVerbatim (
"rpcrechitprobabilityclient") <<
"[RPCRecHitProbabilityClient]: Begin Job";
48 edm::LogVerbatim (
"rpcrechitprobabilityclient") <<
"[RPCRecHitProbabilityClient]: End Run";
58 if(NumberOfMuonEta == 0 ||
59 NumberOfMuonPt_B == 0 || NumberOfMuonPt_EP == 0 || NumberOfMuonPt_EM == 0 ||
60 NumberOfMuonPhi_B == 0 || NumberOfMuonPhi_EP == 0 || NumberOfMuonPhi_EM == 0 )
return;
63 TH1F * NumberOfMuonEtaTH1F = NumberOfMuonEta->
getTH1F();
64 TH1F * NumberOfMuonPtBTH1F = NumberOfMuonPt_B->
getTH1F();
65 TH1F * NumberOfMuonPtEPTH1F = NumberOfMuonPt_EP->
getTH1F();
66 TH1F * NumberOfMuonPtEMTH1F = NumberOfMuonPt_EM->
getTH1F();
67 TH1F * NumberOfMuonPhiBTH1F = NumberOfMuonPhi_B->
getTH1F();
68 TH1F * NumberOfMuonPhiEPTH1F = NumberOfMuonPhi_EP->
getTH1F();
69 TH1F * NumberOfMuonPhiEMTH1F = NumberOfMuonPhi_EM->
getTH1F();
73 std::stringstream
name;
75 for(
int i = 1 ;
i<= 6 ;
i++) {
87 recHitTH1F->Divide(NumberOfMuonEtaTH1F);
99 recHitTH1F->Divide(NumberOfMuonPtBTH1F);
107 recHit =
dbe_->
get(name.str());
110 recHitTH1F = recHit->
getTH1F();
111 recHitTH1F->Divide(NumberOfMuonPhiBTH1F);
119 recHit =
dbe_->
get(name.str());
122 recHitTH1F = recHit->
getTH1F();
123 recHitTH1F->Divide(NumberOfMuonPtEPTH1F);
131 recHit =
dbe_->
get(name.str());
134 recHitTH1F = recHit->
getTH1F();
135 recHitTH1F->Divide(NumberOfMuonPhiEPTH1F);
144 recHit =
dbe_->
get(name.str());
147 recHitTH1F = recHit->
getTH1F();
148 recHitTH1F->Divide(NumberOfMuonPtEMTH1F);
156 recHit =
dbe_->
get(name.str());
159 recHitTH1F = recHit->
getTH1F();
160 recHitTH1F->Divide(NumberOfMuonPhiEMTH1F);
virtual ~RPCRecHitProbabilityClient()
Destructor.
std::string globalFolder_
T getUntrackedParameter(std::string const &, T const &) const
void beginRun(const edm::Run &, const edm::EventSetup &)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
End Lumi Block.
void analyze(const edm::Event &, const edm::EventSetup &)
Analyze.
void endRun(const edm::Run &, const edm::EventSetup &)
void setVerbose(unsigned level)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
TH1F * getTH1F(void) const
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Begin Lumi block.
RPCRecHitProbabilityClient(const edm::ParameterSet &ps)
Constructor.