|
def | __init__ (self, name, algorithms, input_file_dict, max_iterations=5, dependencies=None, collector_granularity='All') |
|
CDCDedxCalibration is a specialized calibration for cdcdedx.
Definition at line 364 of file caf_cdcdedx.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
algorithms, |
|
|
|
input_file_dict, |
|
|
|
max_iterations = 5 , |
|
|
|
dependencies = None , |
|
|
|
collector_granularity = 'All' |
|
) |
| |
parameters:
name: name of calibration
algorithims: algorithm of calibration
input_file_dict: input files list
max_iterations: maximum number of iterations
dependenices: depends on the previous calibration
collector_granularity: granularity : all or run
Definition at line 369 of file caf_cdcdedx.py.
375 collector_granularity=
'All'):
378 name: name of calibration
379 algorithims: algorithm of calibration
380 input_file_dict: input files list
381 max_iterations: maximum number of iterations
382 dependenices: depends on the previous calibration
383 collector_granularity: granularity : all or run
385 super().__init__(name=name,
386 algorithms=algorithms
389 from caf.framework
import Collection
391 if name ==
"bd" or name ==
"wg":
393 input_files=input_file_dict[2],
394 pre_collector_path=pre_collector(name)
396 elif name ==
"cc" or name ==
"ce":
398 input_files=input_file_dict[1],
399 pre_collector_path=pre_collector(name)
403 input_files=input_file_dict[0],
404 pre_collector_path=pre_collector(name)
406 self.add_collection(name=name, collection=collection)
409 self.max_iterations = max_iterations
411 if dependencies
is not None:
412 for dep
in dependencies:
The documentation for this class was generated from the following file: