Skip to content
Snippets Groups Projects
Commit 24171ecf authored by Yanpeng Li's avatar Yanpeng Li
Browse files

10个粒子击中束流管

parent 9b00600e
No related branches found
No related tags found
2 merge requests!30更改json路径及模拟10个电子撞击束流管,!29CFLM:10个粒子击中束流管
......@@ -22,8 +22,10 @@ subparsers = parser.add_subparsers(help='sub-command help', dest="subparser_name
parser_asic = subparsers.add_parser('asic', help='ASIC design')
parser_asic.add_argument('label', help='LABEL to identify ASIC design')
parser_cce = subparsers.add_parser('cce', help='Charge Collection Efficiency')
parser_cce.add_argument('label', help='LABEL to identify CCE experiment')
parser_cflm = subparsers.add_parser('cflm', help='CEPC Fast Luminosity Measurement')
parser_cflm.add_argument('label', help='LABEL to identify cflm options')
parser_cflm.add_argument('-v', '--verbose', help='VERBOSE level',
action='count', default=0)
parser_draw = subparsers.add_parser('current', help='calculate drift current')
parser_draw.add_argument('label', help='LABEL to identify root files')
......@@ -71,7 +73,7 @@ if len(sys.argv) == 1:
kwargs = vars(args)
submodules = ['asic', 'cce', 'current', 'draw', 'elec', 'field', 'fpga', 'gen_signal', 'particle', 'spaceres', 'tct', 'timeres']
submodules = ['asic', 'cflm', 'cce', 'current', 'draw', 'elec', 'field', 'fpga', 'gen_signal', 'particle', 'spaceres', 'tct', 'timeres']
submodule = kwargs['subparser_name']
if submodule not in submodules:
......
*********************************************** MEMO for CEPC Fast LUminosity Measurement Simulation ****************************************************
Description: This memo is for recording the change of cflm.json because of the different simulation goals. The basic format is as follows:
*********************************
time: 2024.09.27
goal: to simulate 10 particles hit the beam pipe at different positions and get total signal
change:
"BeamOn" : 1,
"NumofGun" : 10,
"par_direct" : [[-0.01, 0, 1], [-0.0069, 0, 1], [-0.0052, 0, 1], [-0.0042, 0, 1], [0.0056, -0.0625, 1], [0.0043, -0.0476, 1], [0.0035, -0.0385, 1], [0.0056, 0.0625, 1], [0.0043, -0.0476, 1], [0.0035, 0.0385, 1]],
"CurrentName" : "Current_10particles.root"
*********************************
\ No newline at end of file
......@@ -41,13 +41,13 @@
"world" : "G4_Galactic",
"BeamOn" : 1000,
"BeamOn" : 1,
"NumofGun" : 1,
"NumofGun" : 10,
"par_type" : "e-",
"par_energy" : 24,
"par_in" : [-26.9, 0, -100],
"par_direct" : [[-0.0042, 0, 1]],
"par_direct" : [[-0.01, 0, 1], [-0.0069, 0, 1], [-0.0052, 0, 1], [-0.0042, 0, 1], [0.0056, -0.0625, 1], [0.0043, -0.0476, 1], [0.0035, -0.0385, 1], [0.0056, 0.0625, 1], [0.0043, -0.0476, 1], [0.0035, 0.0385, 1]],
"maxStep" : 0.5,
......@@ -57,6 +57,6 @@
"EdepBaseName" : "110mm.root",
"PosBaseName" : "test.txt",
"CurrentName" : "Current_test.root"
"CurrentName" : "Current_10particles.root"
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment