Skip to content

jjacob/DailyPythonScripts

 
 

Repository files navigation

DailyPythonScripts

build status

Python scripts for the daily tasks in particle physics

Quick installation recipe:

# get the code from the repository
git clone https://github.com/BristolTopGroup/DailyPythonScripts
cd DailyPythonScripts
# checkout the last working version
git checkout AN-14-071_2nd_draft

# get submodules:
git submodule init && git submodule update

# setup run:
./setup_standalone.sh

# setup environment (using virtualenv for python):
source environment.sh

If working on soolin (or anywhere where dependencies like ROOT/latex/etc are not available), run it within CMSSW:

# install CMSSW and setup environment:
cmsenv

# install DailyPythonScripts according to the recipe above, or if done already, setup the vpython environment:
source environment.sh

# make sure matplotlib is up to date (should return 1.3.1 or above):
python -c 'import matplotlib; print matplotlib.__version__'

Dependencies

ROOT >=5.30

freetype and other matplotlib dependencies

Disclaimer

All plots/histograms provided by this package are based on either toy MC or simulated events from the CMS experiment. Real data is not included at any point.

Structure

config/* - files to save presets for available modules

data/* - example ROOT input files

examples/* - generic examples for available modules

src/* - specific use of available modules

test/* - unit tests for available modules

tools/* - available modules

About

Python scripts for the daily tasks in particle physics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.1%
  • C 7.0%
  • C++ 5.5%
  • Shell 4.4%
  • Other 1.0%