create new tag
view all tags




输出具有统一格式和物理图,以及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.

http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v1.0/ : Added drawing one TH2 histogram

How to use

Version 2: Draw a single TH1 histogram or two TH1 histogram for comparison, or a 2D histogram

  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: r5 - 2020-05-27 - ZhuChengguang
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