An example to obtain the moon shadow

Functionality

这是一个简单基于软件框架的物理分析的模型样板,包含了从重建数据进行数据选择,统计处理,最后给出物理结果(直方图或者表等)

读者可以参照该模板,调用LhSoft软件库中已有的软件,并补充编写自己的部分软件(按照LhSoft标砖),构建自己物理分析软件

该分析的结果存成root文件,并送入 HistDrawing 即可画出LHAASO style的图

Version information

目前的完成了第0版本的分析软件

How to use

Version 0:

The analysis is divided into 3 steps:

  • step 1: from the event loop, fill the event information into the raw histograms
  • step 2: using the raw histograms, to calculate the final moon significance histogram
  • step 3: drawing the hitograms use the LHAASO style drawing tool

Step 1: To fill the basic histogram for moon source and background:

  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. checkout other needed packages using our macro
  5. move to EventSelection and compile
    • cd <nowiki> PhysicsAnalysis /EventSelection/cmt </nowiki>
    • cmt br cmt config
    • source setup.sh
    • cmt br cmt make
  6. mv to ../share which contains the needed files to run a test job
    • mv ../share
    • python moonShadow.py

Step 1: To fill the basic histogram for moon source and background:

  1. Continue with the environment above, use pacakge MoonShadow to calculate the significance of moon:

-- 祝 成光 - 2020-04-10

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt moonShadow.py.txt r1 manage 1.0 K 2020-05-18 - 08:47 ZhuChengguang  
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 2020-05-25 - 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