HPS-MC
pede_job.py File Reference

Run pede alignment over input bin files generated by tracking accumulation. More...

Go to the source code of this file.

Namespaces

 pede_job
 

Variables

 description
 
 listing = job.input_files
 
 input_files
 
 line = line.strip()
 
 pede = PEDE(inputs=job.input_files.keys() if 'no_copy' in job.params else job.input_files.values())
 
 apply_res = ApplyPedeRes()
 
 construct_det = ConstructDetector()
 
list gbl_plots
 
list merged_gbl_plots
 
 hist_merge
 

Detailed Description

Run pede alignment over input bin files generated by tracking accumulation.

Besides the main purpose of running the pede minimizer, we also do other helpful tasks that are commonly done with alignment.

  1. Apply the results from the pede minimizer to a new iteration of the detector
  2. Construct the new iteration of the detector so that another round of tracking can be done
  3. Merge the histogram files generated from the previous round of tracking for later analysis/drawing - this merging is only done if those histogram files exist and an output histogrma file is defined in the job JSON.
    • The histogram files are looked for by replacing the input _mille.bin suffix on the input files with _gblplots.bin which is the format of the outputs done by the tracking example.

Definition in file pede_job.py.