Tags:
create new tag
view all tags

The event reconstruction using KM2A data

The structure of the reconstruction chain

  1. RawEvent中包含原始解码数据
  2. DataCalibration : 将RawEvent经过刻度修正后存入LHCaliEvent,
  3. EventReconstruction :将LHCaliEvent事例重建后,重建数据存入LHRecEvent
  4. NtupleOutPut :将LHRecEvent数据转化为Ntuple输出

How to run the job in you home area by yourself

  1. setup the environment
    • 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
    • cd myProject
    • source ./bashTools/downloadPackages.sh ./bashTools/Packages.txt
  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

The macro of the reconstruction chain in python

See the run.py in the directory run/

The second similar example

This example is similar to the example above, but using event reconstruction service developed by SDU

This shows you how easily we exchange a package in the runable chain, while keeping other code unchanged, if you compare the both.

How to use:

in your area:

  1. source /afs/ihep.ac.cn/soft/LHAASO/LodeStar-SLC6/Pre-Release/L19-Pre1_v1r1/setup.sh
  2. svn co http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/myProject/v4.0/. myProject
  3. cd myProject
  4. change the direcory in the setup.sh to your area
  5. cd myRelease/cmt
  6. cmt br cmt config
  7. source setup

-- Chengguang ZHU - 2020-04-10

Comments


Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2020-07-29 - 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