|
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 369 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 374 of file caf_cdcdedx.py.
380 collector_granularity=
'All'):
383 name: name of calibration
384 algorithims: algorithm of calibration
385 input_file_dict: input files list
386 max_iterations: maximum number of iterations
387 dependenices: depends on the previous calibration
388 collector_granularity: granularity : all or run
390 super().__init__(name=name,
391 algorithms=algorithms
394 from caf.framework
import Collection
396 if name ==
"bd" or name ==
"wg":
398 input_files=input_file_dict[2],
399 pre_collector_path=pre_collector(name)
401 elif name ==
"cc" or name ==
"ce":
403 input_files=input_file_dict[1],
404 pre_collector_path=pre_collector(name)
408 input_files=input_file_dict[0],
409 pre_collector_path=pre_collector(name)
411 self.add_collection(name=name, collection=collection)
414 self.max_iterations = max_iterations
416 if dependencies
is not None:
417 for dep
in dependencies:
The documentation for this class was generated from the following file: