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")