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
testing Namespace Reference

Functions

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

Variables

 parser = argparse.ArgumentParser(description = 'Tests on the 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 testing.process (   choice,
  filepath_MC,
  filepath_datas,
  filename_MC_fil,
  filename_datas_fil,
  testopt 
)
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 (if testopt is not equal to 1)
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
testopt: string that represents the test I want to do 1: test on filter function
(no files input needed), 2: costheta test (files needed), 3: test on energy (files needed),
4: test on energy formulas (files needed)

return: None

Variable Documentation

◆ args

testing.args = parser.parse_args()

◆ help

testing.help

◆ parser

testing.parser = argparse.ArgumentParser(description = 'Tests on the study of the CMS Monte Carlo and Run open data for the dimuon system')

◆ str

testing.str

◆ type

testing.type