HistDrawing

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

  1. 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
  2. create your workarea/project
    • cmt create_project myArea
    • cd myArea
  3. checkout needed packages as the directory structure in LhSoft
  4. move to HistDrawing and compile
    • cd PhysicsAnalysis/PlotDrawing/HistDrawing/cmt
    • cmt br cmt config
    • source setup.sh
    • cmt br cmt make
  5. 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.


Topic attachments
I Attachment History Action SizeSorted ascending Date Who Comment
Texttxt drawing.py.txt r2 r1 manage 1.1 K 2020-05-15 - 16:15 ZhuChengguang  
Unknown file formatroot Hist.root r1 manage 12.4 K 2020-05-15 - 16:16 ZhuChengguang  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2020-05-15 - ZhuChengguang
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback