Logo ROOT  
Reference Guide
No Matches
df102_NanoAODDimuonAnalysis.py File Reference


namespace  df102_NanoAODDimuonAnalysis

Detailed Description

View in nbviewer Open in SWAN Show how NanoAOD files can be processed with RDataFrame.

This tutorial illustrates how NanoAOD files can be processed with ROOT dataframes. The NanoAOD-like input files are filled with 66 mio. events from CMS OpenData containing muon candidates part of 2012 dataset (DOI: 10.7483/OPENDATA.CMS.YLIC.86ZZ and DOI: 10.7483/OPENDATA.CMS.M5AD.Y3V3). The macro matches muon pairs and produces an histogram of the dimuon mass spectrum showing resonances up to the Z mass. Note that the bump at 30 GeV is not a resonance but a trigger effect.

More details about the dataset can be found on the CERN Open Data portal.

Definition in file df102_NanoAODDimuonAnalysis.py.