![]() |
Belle II Software
release-05-01-25
|
Public Member Functions | |
def | __init__ (self, components=None, tracks=None, particles=None, vertices=None, primary_vertices=None, path=None) |
def | set_components (self, components) |
def | set_command (self, cmd_name, command='') |
def | pre_algo (self, algorithm, iteration) |
def | create (self, name, input_files) |
def | get_param (self, param, module=None) |
def | set_param (self, value, param, module=None) |
def | get_module (self, module=None) |
def | __getstate__ (self) |
def | __setstate__ (self, state) |
def | fixGlobalParam (self, uid, element, param, value=0.) |
def | fixCDCLayerX (self, layer) |
def | fixCDCLayerY (self, layer) |
def | fixCDCLayerRot (self, layer) |
def | fixCDCTimeWalk (self, board_id) |
def | fixCDCTimeZero (self, wire_id) |
def | fixVXDid (self, layer, ladder, sensor, segment=0, parameters=[1, 2, 3, 4, 5, 6]) |
def | fixPXDYing (self, parameters=UVWABC) |
def | fixPXDYang (self, parameters=UVWABC) |
def | fixSVDPat (self, parameters=UVWABC) |
def | fixSVDMat (self, parameters=UVWABC) |
def | fixEKLMSector (self, endcap, layer, sector, parameters=[1, 2, 6]) |
def | fixEKLMSegment (self, endcap, layer, sector, plane, segment, parameters=[1, 2, 6]) |
def | fixBKLMModule (self, sector, layer, forward, parameters=UVWABC) |
def | fixBKLM (self, sectors=range(1, 9), layers=range(1, 16), forbackwards=[0, 1]) |
Public Attributes | |
algo | |
the algorithm | |
path | |
pre-collector path | |
collector | |
the collector module | |
parameters | |
Parameter config at algo level (fixing) | |
commands | |
Commands for pede steering. | |
components | |
db objects for calibration | |
The generic Millepede calibration collector+algorithm
Definition at line 42 of file __init__.py.
def __init__ | ( | self, | |
components = None , |
|||
tracks = None , |
|||
particles = None , |
|||
vertices = None , |
|||
primary_vertices = None , |
|||
path = None |
|||
) |
components are the names of DB objects to calibrate (BeamSpot etc.) tracks are collections of RecoTracks of fitted charged tracks (usually cosmic rays, no associated particle) particles are names of ParticleLists with single charged particles vertices are names ParticleLists with at least two body decays fitted with vertex constraint primary_vertices are names of ParticleLists with at least two body decays fitted with beam+vertex constraint
Definition at line 45 of file __init__.py.
def __getstate__ | ( | self | ) |
serialization
Definition at line 197 of file __init__.py.
def __setstate__ | ( | self, | |
state | |||
) |
de-serialization
Definition at line 205 of file __init__.py.
def create | ( | self, | |
name, | |||
input_files | |||
) |
Create the CAF Calibration object
Definition at line 142 of file __init__.py.
def fixBKLM | ( | self, | |
sectors = range(1, 9) , |
|||
layers = range(1, 16) , |
|||
forbackwards = [0, 1] |
|||
) |
Fix (all by default) BKLM modules
Definition at line 301 of file __init__.py.
def fixBKLMModule | ( | self, | |
sector, | |||
layer, | |||
forward, | |||
parameters = UVWABC |
|||
) |
Fix a BKLM module
Definition at line 290 of file __init__.py.
def fixCDCLayerRot | ( | self, | |
layer | |||
) |
fix CDC layer Phi rotation
Definition at line 229 of file __init__.py.
def fixCDCLayerX | ( | self, | |
layer | |||
) |
fix CDC layer X-shift
Definition at line 221 of file __init__.py.
def fixCDCLayerY | ( | self, | |
layer | |||
) |
fix CDC layer Y-shift
Definition at line 225 of file __init__.py.
def fixCDCTimeWalk | ( | self, | |
board_id | |||
) |
fix CDC time walk parameter for given board
Definition at line 233 of file __init__.py.
def fixCDCTimeZero | ( | self, | |
wire_id | |||
) |
fix CDC tie zero parameter for given wire
Definition at line 237 of file __init__.py.
def fixEKLMSector | ( | self, | |
endcap, | |||
layer, | |||
sector, | |||
parameters = [1, 2, 6] |
|||
) |
Fix EKLM sector parameters
Definition at line 273 of file __init__.py.
def fixEKLMSegment | ( | self, | |
endcap, | |||
layer, | |||
sector, | |||
plane, | |||
segment, | |||
parameters = [1, 2, 6] |
|||
) |
Fix EKLM segment parameters
Definition at line 281 of file __init__.py.
def fixGlobalParam | ( | self, | |
uid, | |||
element, | |||
param, | |||
value = 0. |
|||
) |
Generic fcn to manipulate (fix to given value) parameters identified by db object id (uid), element and parameter number
Definition at line 212 of file __init__.py.
def fixPXDYang | ( | self, | |
parameters = UVWABC |
|||
) |
fix PXD Yang half-shell
Definition at line 259 of file __init__.py.
def fixPXDYing | ( | self, | |
parameters = UVWABC |
|||
) |
fix PXD Ying half-shell
Definition at line 255 of file __init__.py.
def fixSVDMat | ( | self, | |
parameters = UVWABC |
|||
) |
fix SVD Mat half-shell
Definition at line 267 of file __init__.py.
def fixSVDPat | ( | self, | |
parameters = UVWABC |
|||
) |
fix SVD Pat half-shell
Definition at line 263 of file __init__.py.
def fixVXDid | ( | self, | |
layer, | |||
ladder, | |||
sensor, | |||
segment = 0 , |
|||
parameters = [1, 2, 3, 4, 5, 6] |
|||
) |
Fix VXD element parameters by layer,ladder,sensor and segment number
Definition at line 243 of file __init__.py.
def get_module | ( | self, | |
module = None |
|||
) |
Get collector module or any other module from path (given its name)
Definition at line 184 of file __init__.py.
def get_param | ( | self, | |
param, | |||
module = None |
|||
) |
Get parameter of the collector module or any module in path (given its name)
Definition at line 170 of file __init__.py.
def pre_algo | ( | self, | |
algorithm, | |||
iteration | |||
) |
Fcn to execute before algorithm...
Definition at line 138 of file __init__.py.
def set_command | ( | self, | |
cmd_name, | |||
command = '' |
|||
) |
Set command for Millepede steering
Definition at line 124 of file __init__.py.
def set_components | ( | self, | |
components | |||
) |
Select db objects for calibration from list of their names
Definition at line 110 of file __init__.py.
def set_param | ( | self, | |
value, | |||
param, | |||
module = None |
|||
) |
Set parameter of the collector module or any module in path (given its name)
Definition at line 178 of file __init__.py.