Functionality
数据分析产生的一维直方图存在root文件中,作为HistDrawing的输入
输出具有统一格式和物理图,以及LHAASO Label etc
目前只有一维直方图画图功能,其他形式的直方图将陆续加入
Version information
可使用的版本为:
http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v0.0/
How to use
Version 0: Draw TH1 histogram only
- Look at LhSoft , setup the environment in which LHAASO softeware version you will work
- for example: source /afs/ihep.ac.cn/soft/LHAASO/LodeStar-SLC6/Pre-Release/L19-Pre1_v1r1/setup.sh
- create your workarea/project
- cmt create_project myArea
- cd myArea
- checkout needed packages as the directory structure in LhSoft
- move to HistDrawing and compile
- cd PhysicsAnalysis/PlotDrawing/HistDrawing/cmt
- cmt br cmt config
- source setup.sh
- cmt br cmt make
- return to a directory, sucn as myArea to run a test job
- python drawing.py --->attached are the drawing.py.txt and Hist.root, Download to your place
- in the drawing.py, you can learn how to use the drawing tool and how to set parameters in drawing.
Version 1.0: add drawing comparison of two histogram
Updated to version 1.0 on 20200517
use the same procedure as Version 0 above, BUT checkout new-version pacakges:
Any feed back will help us make the tool better.