-
Notifications
You must be signed in to change notification settings - Fork 6
Running example run_appHKHybridSingleEvent.sh
This script is located at $MDT/example/run_appHKHybridSingleEvent.sh
. It runs appHKHybridSingleEvent that is one of the pre-existing applications. This applicaion takes the standard WCSim output file as its input and deigitize the true hits (photoelectrons) saved in the input, and apply almost all the same trigger algorithm as WCSim's NDigiHits algorithm. The results are saved in an output ROOT file with the same format as the input file. By editing parameter file, several parameters, which can be varied in WCSim, can be varied. For example, dark rate and TTS of PMT can be varied. Note that this application assumes the Hyper-K hybrid geometry.
The below is an example to run this script.
-
cd MDT
-
Open
envMDT.sh
, and setROOT
andWCSIMDIR
properly -
bash compile.sh
-
In
parameter/MDTParamenter_Hybrid.txt
, make sure that your # B&L PMTs (# 3-inch PMTs) are the same asNumOfTubes_BoxandLine20inchHQE
(NumOfTubes_PMT3inchR14374
). If not, set these variables to yours. Accordingly, setMaxTubeID_BoxandLine20inchHQE
andMaxTubeID_PMT3inchR14374
properly. -
Open
$MDT/example/run_appHKHybridSingleEvent.sh
, and setINFILE
andOUTFILE
properly -
Then, run the script