HistDrawing

Functionality

数据分析产生的一维直方图存在root文件中,作为HistDrawing的输入

输出具有统一格式和物理图,以及LHAASO Label etc

目前只有一维直方图画图功能,其他形式的直方图将陆续加入

Version information

可使用的版本为:

http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v0.0/ : Draw one single TH1 histogram http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v1.0/ : Added drawing two TH1 histogram for comparison such as MC and Data.

How to use

Version 1: Draw a single TH1 histogram or two TH1 histogram for comparison

  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. mv to ../share, which contains the needed files to run a test job
    • mv ../share
    • python drawing.py
    • in the drawing.py, you can learn how to use the drawing tool and how to set parameters in drawing.

Any feed back will help us make the tool better.


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatroot Hist.root r1 manage 12.4 K 2020-05-15 - 16:16 ZhuChengguang  
Texttxt drawing.py.txt r2 r1 manage 1.1 K 2020-05-15 - 16:15 ZhuChengguang  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2020-05-19 - 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