Difference: HistDrawing (1 vs. 5)

Revision 52020-05-27 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhSoftPerson"
Line: 16 to 16
 可使用的版本为:

http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v0.0/ : Draw one single TH1 histogram

Changed:
<
<
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 two TH1 histogram for comparison, such as MC and Data.
 
Added:
>
>
http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v1.0/ : Added drawing one TH2 histogram
 

How to use

Changed:
<
<

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

>
>

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
Changed:
<
<
>
>
 
  1. move to HistDrawing and compile

Revision 42020-05-19 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhSoftPerson"
Line: 15 to 15
  可使用的版本为:
Changed:
<
<
http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v0.0/
>
>
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

Changed:
<
<

Version 0: Draw TH1 histogram only

>
>

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
Changed:
<
<
>
>
 
  1. move to HistDrawing and compile
    • cd PhysicsAnalysis/PlotDrawing/HistDrawing/cmt
    • cmt br cmt config
    • source setup.sh
    • cmt br cmt make
Changed:
<
<
  1. return to a directory, sucn as myArea to run a test job
>
>
  1. 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.
Deleted:
<
<

Version 1.0: add drawing comparison of two histogram

 
Deleted:
<
<
Updated to version 1.0 on 20200517
 
Changed:
<
<
use the same procedure as Version 0 above, BUT checkout new-version pacakges:
>
>
 

Any feed back will help us make the tool better.


<--/commentPlugin-->

Revision 32020-05-15 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhSoftPerson"
Line: 17 to 17
  http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/PhysicsAnalysis/PlotDrawing/HistDrawing/v0.0/

How to use

Added:
>
>

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
Line: 36 to 36
 
  1. 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.
Added:
>
>

Version 1.0: add drawing comparison of two histogram

Updated to version 1.0 on 20200517

 
Added:
>
>
use the same procedure as Version 0 above, BUT checkout new-version pacakges:
 

Any feed back will help us make the tool better.


<--/commentPlugin-->
Changed:
<
<
META FILEATTACHMENT attachment="drawing.py.txt" attr="" comment="" date="1589463157" name="drawing.py.txt" path="drawing.py.txt" size="1100" user="zhucg" version="1"
META FILEATTACHMENT attachment="Hist.root" attr="" comment="" date="1589463157" name="Hist.root" path="Hist.root" size="12994" user="zhucg" version="1"
>
>
META FILEATTACHMENT attachment="drawing.py.txt" attr="" comment="" date="1589559328" name="drawing.py.txt" path="drawing.py.txt" size="1081" user="zhucg" version="2"
META FILEATTACHMENT attachment="Hist.root" attr="" comment="" date="1589559419" name="Hist.root" path="Hist.root" size="12703" user="zhucg" version="1"

Revision 22020-05-14 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhSoftPerson"
Added:
>
>
 

HistDrawing

Functionality

Line: 17 to 19
 

How to use

  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
Changed:
<
<
  1. Check out a project, which contains useful tools
  2. move to ./myProject, checkout all needed packages
  3. move to my release to compile all the packages
    • cd myRelease/cmt
>
>
  1. create your workarea/project
    • cmt create_project myArea
    • cd myArea
  2. checkout needed packages as the directory structure in LhSoft

  1. move to HistDrawing and compile
    • cd PhysicsAnalysis/PlotDrawing/HistDrawing/cmt
 
    • cmt br cmt config
    • source setup.sh
    • cmt br cmt make
Changed:
<
<
  1. return to the directory ./run. to run a test job
    • cd ../../run
    • python myjob.py
>
>
  1. 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.
 
Changed:
<
<

Comments

>
>

Any feed back will help us make the tool better.

 
<--/commentPlugin-->
Added:
>
>
META FILEATTACHMENT attachment="drawing.py.txt" attr="" comment="" date="1589463157" name="drawing.py.txt" path="drawing.py.txt" size="1100" user="zhucg" version="1"
META FILEATTACHMENT attachment="Hist.root" attr="" comment="" date="1589463157" name="Hist.root" path="Hist.root" size="12994" user="zhucg" version="1"

Revision 12020-05-14 - ZhuChengguang

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LhSoftPerson"

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

  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. Check out a project, which contains useful tools
  3. move to ./myProject, checkout all needed packages
  4. move to my release to compile all the packages
    • cd myRelease/cmt
    • cmt br cmt config
    • source setup.sh
    • cmt br cmt make
  5. return to the directory ./run. to run a test job
    • cd ../../run
    • python myjob.py

Comments


<--/commentPlugin-->
 
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