From 27cbfb9b57c42b06defa16047ffe56d347c006d4 Mon Sep 17 00:00:00 2001 From: Stefan Wunsch Date: Mon, 24 Jun 2019 14:49:34 +0200 Subject: [PATCH] set changed eos path to file --- dimuonSpectrum.C | 2 +- dimuonSpectrum.ipynb | 2 +- dimuonSpectrum.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dimuonSpectrum.C b/dimuonSpectrum.C index f1bd3d9..01f1038 100644 --- a/dimuonSpectrum.C +++ b/dimuonSpectrum.C @@ -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"); diff --git a/dimuonSpectrum.ipynb b/dimuonSpectrum.ipynb index c35e840..e3f9a75 100644 --- a/dimuonSpectrum.ipynb +++ b/dimuonSpectrum.ipynb @@ -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\")" ] }, { diff --git a/dimuonSpectrum.py b/dimuonSpectrum.py index 386eca8..d262558 100644 --- a/dimuonSpectrum.py +++ b/dimuonSpectrum.py @@ -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")