HPS-MC
 
Loading...
Searching...
No Matches
tritrig_sim_full_chain_job.py
Go to the documentation of this file.
1"""!
2Tritrig signal generation to recon using hps-sim with no beam backgrounds.
3"""
4from hpsmc.generators import MG5, StdHepConverter
5from hpsmc.tools import Sim, JobManager, FilterBunches, BeamCoords, AddMother, HPSTR
6
7job.description = 'tritrig signal generation to recon using hps-sim with no beam backgrounds'
8
9
10mg = MG5(name='tritrig')
11
12
13stdhep_cnv = StdHepConverter()
14
15
16mom = AddMother()
17
18
20
21
22sim = Sim()
23
24
25filter_bunches = FilterBunches()
26
27
28readout = JobManager(steering='readout')
29
30
31recon = JobManager(steering='recon')
32
33
34root_cnv = HPSTR(cfg='recon')
35
36
37ana = HPSTR(cfg='ana')
38
39
40job.ptag('gen', 'tritrig_unweighted_events_mom_rot.stdhep')
41job.ptag('sim', 'tritrig_unweighted_events_mom_rot.slcio')
42job.ptag('readout', 'tritrig_unweighted_events_mom_rot_filt_readout.slcio')
43job.ptag('recon', 'tritrig_unweighted_events_mom_rot_filt_readout_recon.slcio')
44job.ptag('ana', 'tritrig_unweighted_events_mom_rot_filt_readout_recon_ana.root')
45
46
47job.add([mg, stdhep_cnv, mom, rot, sim, filter_bunches, readout, recon, root_cnv, ana])
Run the MadGraph 5 event generator.
Target processing and conversion of LHE files to StdHep using EGS5.
Add mother particles for physics samples.
Definition tools.py:730
Transform StdHep events into beam coordinates.
Definition tools.py:516
Space MC events and apply energy filters to process before readout.
Definition tools.py:1048
Run the hpstr analysis tool.
Definition tools.py:344
Run the hps-java JobManager class.
Definition tools.py:160
Tools that can be used in HPSMC jobs.
Definition tools.py:1