HPS-MC
 
Loading...
Searching...
No Matches
tritrig_slic_full_chain_job.py
Go to the documentation of this file.
1"""!
2@file tritrig_slic_full_chain_job.py
3
4Tritrig signal generation using SLIC to recon using hps-sim with no beam background.
5"""
6from hpsmc.generators import MG5, StdHepConverter
7from hpsmc.tools import SLIC, JobManager, FilterBunches, BeamCoords, AddMother, HPSTR
8
9job.description = 'tritrig signal generation to recon using hps-sim with no beam backgrounds'
10
11
12mg = MG5(name='tritrig')
13
14
15stdhep_cnv = StdHepConverter()
16
17
18mom = AddMother()
19
20
22
23
24sim = SLIC()
25
26
27filter_bunches = FilterBunches()
28
29
30readout = JobManager(steering='readout')
31
32
33recon = JobManager(steering='recon')
34
35
36root_cnv = HPSTR(cfg='recon')
37
38
39ana = HPSTR(cfg='ana')
40
41
42job.ptag('gen', 'tritrig_unweighted_events_mom_rot.stdhep')
43job.ptag('sim', 'tritrig_unweighted_events_mom_rot.slcio')
44job.ptag('readout', 'tritrig_unweighted_events_mom_rot_filt_readout.slcio')
45job.ptag('recon', 'tritrig_unweighted_events_mom_rot_filt_readout_recon.slcio')
46job.ptag('ana', 'tritrig_unweighted_events_mom_rot_filt_readout_recon_ana.root')
47
48
49job.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
Run the SLIC Geant4 simulation.
Definition tools.py:15
Tools that can be used in HPSMC jobs.
Definition tools.py:1