HPS-MC
wab_gen_sample_job Namespace Reference

Variables

 description
 
 mg = MG4(name="wab")
 generate tritrig in MG4 More...
 
 cnv = StdHepConverter(inputs=mg.output_files(), outputs=['wab_events.stdhep'])
 Convert wab events to stdhep. More...
 
 rot = BeamCoords()
 Rotate WAB events into beam coordinates. More...
 
 sample
 Sample wabs using poisson distribution, calculating mu from provided cross section. More...
 

Variable Documentation

◆ cnv

cnv = StdHepConverter(inputs=mg.output_files(), outputs=['wab_events.stdhep'])

Convert wab events to stdhep.

Definition at line 23 of file wab_gen_sample_job.py.

◆ description

description

Definition at line 14 of file wab_gen_sample_job.py.

◆ mg

mg = MG4(name="wab")

generate tritrig in MG4

Definition at line 17 of file wab_gen_sample_job.py.

◆ rot

rot = BeamCoords()

Rotate WAB events into beam coordinates.

Definition at line 26 of file wab_gen_sample_job.py.

◆ sample

sample
Initial value:
1 = MergePoisson(input_filter='wab',
2  input_files=['wab_unweighted_events_rot.stdhep'],
3  output_files=['wab_unweighted_events_rot_sampled.stdhep'],
4  xsec=7.55e10)

Sample wabs using poisson distribution, calculating mu from provided cross section.

Definition at line 29 of file wab_gen_sample_job.py.