The event reconstruction using KM2A data
The structure of the reconstruction chain
- RawEvent中包含原始解码数据
- DataCalibration : 将RawEvent经过刻度修正后存入LHCaliEvent,
- EventReconstruction :将LHCaliEvent事例重建后,重建数据存入LHRecEvent
- NtupleOutPut :将LHRecEvent数据转化为Ntuple输出
How to run the job in you home area by yourself
- setup the environment
- source /afs/ihep.ac.cn/soft/LHAASO/LodeStar-SLC6/Pre-Release/L19-Pre1_v1r1/setup.sh
- Check out a project, which contains useful tools
- move to ./myProject, checkout all needed packages
- cd myProject
- source ./bashTools/downloadPackages.sh ./bashTools/Packages.txt
- move to my release to compile all the packages
- cd myRelease/cmt
- cmt br cmt config
- source setup.sh
- cmt br cmt make
- 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:
- source /afs/ihep.ac.cn/soft/LHAASO/LodeStar-SLC6/Pre-Release/L19-Pre1_v1r1/setup.sh
- svn co http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/myProject/v4.0/
. myProject
- cd myProject
- change the direcory in the setup.sh to your area
- cd myRelease/cmt
- cmt br cmt config
- source setup
--
Chengguang ZHU - 2020-04-10
Comments