GeneralBrokenLines V03-01-02
gblpy
|
Classes | |
class | gblHelixPrediction |
Prediction (from helix at measurement) More... | |
class | gblSiliconDet |
Silicon detector. More... | |
class | gblSiliconLayer |
Silicon layer. More... | |
class | gblSimpleHelix |
Simple helix. More... | |
Functions | |
def | exampleSit () |
Simulate and reconstruct helical tracks in silicon pixel and (1D or 2D) strip detectors. More... | |
def | gblSimpleJacobian (ds, cosl, bfac) |
Simple jacobian. More... | |
def | gblMultipleScatteringError (qbyp, xbyx0) |
Multiple scattering error. More... | |
Created on 28 Sep 2018 @author: kleinwrt
def gblsit.exampleSit | ( | ) |
Simulate and reconstruct helical tracks in silicon pixel and (1D or 2D) strip detectors.
Create points on initial trajectory, create trajectory from points, fit and write trajectory to MP-II binary file (for rigid body alignment).
Setup:
Alignment with MP-II. The alignables are the objects to be aligned. This can be single detector elements (with a 1D or 2D measurement) or sets of those with similar or different orientations.
Local systems. Up to three (different) local coordinate systems can be defined at each point:
Example steering file for Millepede-II (B=0):
Definition at line 93 of file gblsit.py.
References gblMultipleScatteringError(), and gblSimpleJacobian().
Referenced by gblsit.gblHelixPrediction.getCurvilinearDirs().
def gblsit.gblMultipleScatteringError | ( | qbyp, | |
xbyx0 | |||
) |
Multiple scattering error.
Simple model (Rossi, Greisen)
[in] | qbyp | q/p [1/GeV]; float |
[in] | xbyx0 | thickness / radiation length; float |
Definition at line 251 of file gblsit.py.
Referenced by exampleSit(), and gblsit.gblSiliconDet.generateHits().
def gblsit.gblSimpleJacobian | ( | ds, | |
cosl, | |||
bfac | |||
) |
Simple jacobian.
Simple jacobian for (q/p, slopes, offsets) in curvilinear system, constant magnetic field in Z direction, quadratic in arc length difference.
ds | arc length difference; float |
cosl | cos(lambda); float |
bfac | Bz*c; float |
Definition at line 235 of file gblsit.py.
Referenced by exampleSit().