HPS-MC
misalign_job.py
Go to the documentation of this file.
1 """!
2 @file misalign_job.py
3 
4 Intentionally misalign a detector by changing a set of millepede parameters.
5 
6 """
7 import os
8 from hpsmc.alignment import WriteMisalignedDet, ConstructDetector
9 
10 job.description = 'generate a new, misaligned detector'
11 
12 misalign_writer = WriteMisalignedDet()
13 construct_det = ConstructDetector()
14 
15 job.add([misalign_writer, construct_det])
construct an LCDD from a compact.xml and recompile necessary parts of hps-java
Definition: _apply.py:369
write a detector intentionally misaligned relative to another one
Definition: _apply.py:287
alignment module within hps-mc
Definition: __init__.py:1