Skip to content

Commit

Permalink
add path at lxplus
Browse files Browse the repository at this point in the history
  • Loading branch information
jhgoh committed Aug 25, 2015
1 parent 9355984 commit e330905
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions Muons/test/ex01.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
gROOT.ProcessLine(".x tdrstyle.C")

f = TFile("/cmsdas/data/ShortEX_Muon/RelValZMM_13_GEN-SIM-RECO/6E6BF265-451A-E511-9B42-0025905B855E.root")
# f = TFile("/store/relval/CMSSW_7_4_6/RelValZMM_13/GEN-SIM-RECO/MCRUN2_74_V9-v2/00000/6E6BF265-451A-E511-9B42-0025905B855E.root")
events = f.Get("Events")
c1 = TCanvas("cpt", "cpt", 500, 500)
events.Draw("recoMuons_muons__RECO.obj.pt()>>hpt(100, 0, 200)")
Expand Down
1 change: 1 addition & 0 deletions Muons/test/ex02.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
gROOT.ProcessLine(".x tdrstyle.C")

f = TFile("/cmsdas/data/ShortEX_Muon/RelValZMM_13_MINIAODSIM/0AF36725-FB1A-E511-BCB2-0025905A497A.root")
# f = TFile("/store/relval/CMSSW_7_4_6/RelValZMM_13/MINIAODSIM/PU50ns_MCRUN2_74_V8-v2/00000/0AF36725-FB1A-E511-BCB2-0025905A497A.root")
events = f.Get("Events")
c1 = TCanvas("cpt", "cpt", 500, 500)
events.Draw("patMuons_slimmedMuons__PAT.obj.pt()>>hpt(100, 0, 200)")
Expand Down
1 change: 1 addition & 0 deletions Muons/test/ex03.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

files = [
"file:/cmsdas/data/ShortEX_Muon/RelValZMM_13_MINIAODSIM/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
#"/store/relval/CMSSW_7_4_6/RelValZMM_13/MINIAODSIM/PU50ns_MCRUN2_74_V8-v2/00000/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
]

events = Events(files)
Expand Down
1 change: 1 addition & 0 deletions Muons/test/ex04.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

files = [
"file:/cmsdas/data/ShortEX_Muon/RelValZMM_13_MINIAODSIM/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
#"/store/relval/CMSSW_7_4_6/RelValZMM_13/MINIAODSIM/PU50ns_MCRUN2_74_V8-v2/00000/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
]

events = Events(files)
Expand Down
1 change: 1 addition & 0 deletions Muons/test/ex05.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

files = [
"file:/cmsdas/data/ShortEX_Muon/RelValZMM_13_MINIAODSIM/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
#"/store/relval/CMSSW_7_4_6/RelValZMM_13/MINIAODSIM/PU50ns_MCRUN2_74_V8-v2/00000/0AF36725-FB1A-E511-BCB2-0025905A497A.root",
]

events = Events(files)
Expand Down
3 changes: 2 additions & 1 deletion Muons/test/ex06.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
hMSS.SetLineColor(kBlue)

files = [
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015C_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015B_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
#"/store/data/Run2015B/DoubleMuon/MINIAOD/PromptReco-v1/000/251/883/00000/CC542F3F-AC2D-E511-B093-02163E014181.root",
]

events = Events(files)
Expand Down
3 changes: 2 additions & 1 deletion Muons/test/ex07.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
hMBkg.SetLineColor(kBlue)

files = [
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015C_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015B_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
#"/store/data/Run2015B/DoubleMuon/MINIAOD/PromptReco-v1/000/251/883/00000/CC542F3F-AC2D-E511-B093-02163E014181.root",
]

nTotalSig, nTotalBkg = 0, 0
Expand Down
3 changes: 2 additions & 1 deletion Muons/test/ex08.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
hMBkg.SetLineColor(kBlue)

files = [
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015C_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
"file:/cmsdas/data/ShortEX_Muon/DoubleMuon_Run2015B_MINIAOD/CC542F3F-AC2D-E511-B093-02163E014181.root",
#"/store/data/Run2015B/DoubleMuon/MINIAOD/PromptReco-v1/000/251/883/00000/CC542F3F-AC2D-E511-B093-02163E014181.root",
]

def detIso03(muon):
Expand Down

0 comments on commit e330905

Please sign in to comment.