You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
write a python script script.py that contains the following blocks. each line is a tool to be matched separately, one after the other:
code to import ROOT and enable multithreading, then import default headers for higgs analysis from this path: /Users/dciangot/opt/miniconda3/tutorials/dataframe/df103_NanoAODHiggsAnalysis_python.h
code to load branch Events from file root://eospublic.cern.ch//eos/root-eos/cms_opendata_2012_nanoaod_skimmed/SMHiggsToZZTo4L.root into an RDataFrame named higgs_df
code to select events with 4 good muons candidates for Z boson in the higgs_df dataframe
code to draw an Histo1D of Muon_pt in higgs_df with 100 bins, starting from 0 to 200. Then store the image in plot.png