Skip to content

Commit

Permalink
Added 2D phi Vs eta to monitor potential holes
Browse files Browse the repository at this point in the history
  • Loading branch information
folguera committed Aug 20, 2015
1 parent c416daf commit aeb1345
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions DQMOffline/Muon/interface/MuonRecoAnalyzer.h
Expand Up @@ -109,6 +109,7 @@ class MuonRecoAnalyzer : public DQMEDAnalyzer {
std::vector<MonitorElement*> oneOverptResolution;
std::vector<MonitorElement*> rhAnalysis;
std::vector<MonitorElement*> muVStkSytemRotation;
std::vector<MonitorElement*> phiVsetaGlbTrack;


MonitorElement* tunePResolution;
Expand Down
13 changes: 12 additions & 1 deletion DQMOffline/Muon/src/MuonRecoAnalyzer.cc
Expand Up @@ -267,6 +267,13 @@ void MuonRecoAnalyzer::bookHistograms(DQMStore::IBooker & ibooker,
oneOverptResolution[11]->setAxisTitle("GeV^{-1}",2);
oneOverptPull = ibooker.book1D("Pull_TkSta_oneOverpt", "(1/pt)_{TKfromGLB} - (1/pt)_{STAfromGLB} / error", 100,-10,10);

//////////////////////////////////////////////////////////////
// monitoring of the phi-eta
phiVsetaGlbTrack.push_back(ibooker.book2D(histname+"Glb_phiVSeta", "#phi vs #eta (GLB)", etaBin/2, etaMin, etaMax, phiBin/2, phiMin, phiMax));
phiVsetaGlbTrack.push_back(ibooker.book2D(histname+"Tk_phiVSeta", "#phi vs #eta (TKfromGLB)", etaBin/2, etaMin, etaMax, phiBin/2, phiMin, phiMax));
phiVsetaGlbTrack.push_back(ibooker.book2D(histname+"Sta_phiVseta", "#phi vs #eta (STAfromGLB)", etaBin/2, etaMin, etaMax, phiBin/2, phiMin, phiMax));


//////////////////////////////////////////////////////////////
// monitoring of the recHits provenance
rhAnalysis.push_back(ibooker.book1D("StaRh_Frac_inGlb", "recHits_{STAinGLB} / recHits_{GLB}", rhBin, rhMin, rhMax));
Expand Down Expand Up @@ -356,7 +363,11 @@ void MuonRecoAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup&
etaGlbTrack[0]->Fill(recoCombinedGlbTrack->eta());
etaGlbTrack[1]->Fill(recoTkGlbTrack->eta());
etaGlbTrack[2]->Fill(recoStaGlbTrack->eta());


phiVsetaGlbTrack[0]->Fill(recoCombinedGlbTrack->eta(), recoCombinedGlbTrack->phi());
phiVsetaGlbTrack[1]->Fill(recoTkGlbTrack->eta() , recoTkGlbTrack->phi());
phiVsetaGlbTrack[2]->Fill(recoStaGlbTrack->eta() , recoStaGlbTrack->phi());

GetRes(recoTkGlbTrack, recoCombinedGlbTrack, "eta", res, pull);
etaResolution[0]->Fill(res);
GetRes(recoCombinedGlbTrack, recoStaGlbTrack, "eta", res, pull);
Expand Down

0 comments on commit aeb1345

Please sign in to comment.