Belle II Software development
|
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 49 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 52 of file __init__.py.
def __getstate__ | ( | self | ) |
serialization
Definition at line 204 of file __init__.py.
def __setstate__ | ( | self, | |
state | |||
) |
de-serialization
Definition at line 212 of file __init__.py.
def create | ( | self, | |
name, | |||
input_files | |||
) |
Create the CAF Calibration object
Definition at line 149 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 308 of file __init__.py.
def fixBKLMModule | ( | self, | |
sector, | |||
layer, | |||
forward, | |||
parameters = UVWABC |
|||
) |
Fix a BKLM module
Definition at line 297 of file __init__.py.
def fixCDCLayerRot | ( | self, | |
layer | |||
) |
fix CDC layer Phi rotation
Definition at line 236 of file __init__.py.
def fixCDCLayerX | ( | self, | |
layer | |||
) |
fix CDC layer X-shift
Definition at line 228 of file __init__.py.
def fixCDCLayerY | ( | self, | |
layer | |||
) |
fix CDC layer Y-shift
Definition at line 232 of file __init__.py.
def fixCDCTimeWalk | ( | self, | |
board_id | |||
) |
fix CDC time walk parameter for given board
Definition at line 240 of file __init__.py.
def fixCDCTimeZero | ( | self, | |
wire_id | |||
) |
fix CDC tie zero parameter for given wire
Definition at line 244 of file __init__.py.
def fixEKLMSector | ( | self, | |
endcap, | |||
layer, | |||
sector, | |||
parameters = [1, 2, 6] |
|||
) |
Fix EKLM sector parameters
Definition at line 280 of file __init__.py.
def fixEKLMSegment | ( | self, | |
endcap, | |||
layer, | |||
sector, | |||
plane, | |||
segment, | |||
parameters = [1, 2, 6] |
|||
) |
Fix EKLM segment parameters
Definition at line 288 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 219 of file __init__.py.
def fixPXDYang | ( | self, | |
parameters = UVWABC |
|||
) |
fix PXD Yang half-shell
Definition at line 266 of file __init__.py.
def fixPXDYing | ( | self, | |
parameters = UVWABC |
|||
) |
fix PXD Ying half-shell
Definition at line 262 of file __init__.py.
def fixSVDMat | ( | self, | |
parameters = UVWABC |
|||
) |
fix SVD Mat half-shell
Definition at line 274 of file __init__.py.
def fixSVDPat | ( | self, | |
parameters = UVWABC |
|||
) |
fix SVD Pat half-shell
Definition at line 270 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 250 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 191 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 177 of file __init__.py.
def pre_algo | ( | self, | |
algorithm, | |||
iteration | |||
) |
Fcn to execute before algorithm...
Definition at line 145 of file __init__.py.
def set_command | ( | self, | |
cmd_name, | |||
command = '' |
|||
) |
Set command for Millepede steering
Definition at line 131 of file __init__.py.
def set_components | ( | self, | |
components | |||
) |
Select db objects for calibration from list of their names
Definition at line 117 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 185 of file __init__.py.
algo |
the algorithm
Definition at line 90 of file __init__.py.
collector |
the collector module
Definition at line 94 of file __init__.py.
commands |
Commands for pede steering.
Definition at line 98 of file __init__.py.
components |
db objects for calibration
Definition at line 120 of file __init__.py.
parameters |
Parameter config at algo level (fixing)
Definition at line 96 of file __init__.py.
path |
pre-collector path
Definition at line 92 of file __init__.py.