Study of the CMS Monte Carlo and Run open data for the dimuon system  1.0
A C++ software for the measurement of the Z resonance, the angle of the negative muon in the Collins–Soper frame of the dimuon system and the forward-backward asymmetry of Drell–Yan events in pp collisions at 8 TeV
openfiles Namespace Reference

Functions

def process (choice, filepath_MC, filepath_datas, filename_MC_fil, filename_datas_fil, analysis)
 

Variables

 parser = argparse.ArgumentParser(description = 'Study of the CMS Monte Carlo and Run open data for the dimuon system')
 
 type
 
 str
 
 help
 
 args = parser.parse_args()
 

Function Documentation

◆ process()

def openfiles.process (   choice,
  filepath_MC,
  filepath_datas,
  filename_MC_fil,
  filename_datas_fil,
  analysis 
)
This function takes six strings given by argparse, which the user will give from terminal. It will process datas
and it will do the test chosen by the user.

choice: string that could be 'y' or 'n', if 'y' the program will filter the datas, if 'n' it will look for
files already filtered
filepath_MC: string of the path of the MC file to filter
filepath_datas: string of the path of the RUN file to filter
filename_MC_fil: string of the name of the MC file already filtered
filename_datas_fil: string of the name of the RUN file already filtered
analysis: string that represents the test I want to do  0: no analysis,
cos: costheta histograms, dimspec: Dimuon spectrum of Z, afb: Asimmetry forward backward

return: None

Variable Documentation

◆ args

openfiles.args = parser.parse_args()

◆ help

openfiles.help

◆ parser

openfiles.parser = argparse.ArgumentParser(description = 'Study of the CMS Monte Carlo and Run open data for the dimuon system')

◆ str

openfiles.str

◆ type

openfiles.type