Skip to content

kdipetri/mucol_plotting_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mucol_plotting_scripts

For plotting macros

An example script that runs over lcio files

  • extracts MC truth particles, tracks, and hits on track
  • fills root histograms & saves to output_name.root
  • fills nested lists with key variables and saves to a json file
  • remember to source setup script
source setup.sh

python study_alltracks.py -i input_file.slcio -o output_name

Additional scripts to run over lcio files live in macros/LCIO

LCIO data format and functions are documented here

Muon Collider geometry v0a config file

For plotting with python notebooks

Some python notebooks to run over edm4hep.root files live in macros

For analysis in a python notebook with uproot/awkward arrays only

  • I manage packages with homebrew, and used it to install anaconda
  • I install packages for anaconda like conda install -c conda-forge vector
  • Start a notebook with
jupyter notebook

If you want to use a python notebook with ROOT

  • Start a notebook with
root --notebook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published