Skip to content

Commit

Permalink
set changed eos path to file
Browse files Browse the repository at this point in the history
  • Loading branch information
stwunsch committed Jun 24, 2019
1 parent ecb371f commit 27cbfb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dimuonSpectrum.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void dimuonSpectrum() {
ROOT::EnableImplicitMT();

// Create dataframe from NanoAOD files
ROOT::RDataFrame df("Events", "root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked.root");
ROOT::RDataFrame df("Events", "root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root");

// Select events with exactly two muons
auto df_2mu = df.Filter("nMuon == 2", "Events with exactly two muons");
Expand Down
2 changes: 1 addition & 1 deletion dimuonSpectrum.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = ROOT.RDataFrame(\"Events\", \"root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked.root\")"
"df = ROOT.RDataFrame(\"Events\", \"root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root\")"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion dimuonSpectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ROOT.ROOT.EnableImplicitMT()

# Create dataframe from NanoAOD files
df = ROOT.RDataFrame("Events", "root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked.root")
df = ROOT.RDataFrame("Events", "root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root")

# Select events with exactly two muons
df_2mu = df.Filter("nMuon == 2", "Events with exactly two muons")
Expand Down

0 comments on commit 27cbfb9

Please sign in to comment.