HPS-MC
 
Loading...
Searching...
No Matches
idm_job.py
Go to the documentation of this file.
1"""!
2@file idm_job.py
3
4Simulation of iDM, detector signals, and readout, followed by reconstruction.
5"""
6from hpsmc.generators import MG5
7from hpsmc.tools import SLIC, JobManager, FilterBunches, BeamCoords, Unzip, DisplaceUni
8
9job.description = 'iDM generation to recon'
10
11
12mg = MG5(name='idm',
13 run_card='run_card.dat',
14 param_card='param_card.dat',
15 event_types=['unweighted'])
16
17
18unzip = Unzip(inputs=['idm_unweighted_events.lhe.gz'], outputs=['idm.lhe'])
19
20
21cnv = DisplaceUni(inputs=['idm.lhe'], outputs=['idm.stdhep'])
22
23
25
26
27slic = SLIC()
28
29
30filter_bunches = FilterBunches()
31
32
33readout = JobManager(steering='readout')
34
35
36recon = JobManager(steering='recon')
37
38
39job.add([mg, unzip, cnv, rot, slic, filter_bunches, readout, recon])
Run the MadGraph 5 event generator.
Transform StdHep events into beam coordinates.
Definition tools.py:516
Convert LHE files to StdHep, displacing the time by given ctau.
Definition tools.py:695
Space MC events and apply energy filters to process before readout.
Definition tools.py:1048
Run the hps-java JobManager class.
Definition tools.py:160
Run the SLIC Geant4 simulation.
Definition tools.py:15
Unzip the input files to outputs.
Definition tools.py:1218
Tools that can be used in HPSMC jobs.
Definition tools.py:1