Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

apisarek/PDThistogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This program makes histogram of particles by their masses and saves it into a .root file.

You need to pass the arguments (bin sizes in MeV) in the command.

Example usage: python histogram.py 20 40 60

If you want to open this histogram, you need to (example):

f = TFile('15-12-04_08:22:27.root')
h = f.Get('bin_size:20MeV')

If you don't have pyPDT installed, the particle masses will be imported from the text file. You can overwrite this file if pyPDT is installed by importing histogram.py and running save_masses()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages