Belle II Software  release-08-01-10
KLMStripEfficiency Class Reference
Inheritance diagram for KLMStripEfficiency:
Collaboration diagram for KLMStripEfficiency:

Public Member Functions

def __init__ (self, algorithm)
 
def run (self, iov, iteration, queue)
 
def execute_over_run_list (self, run_list, iteration, forced_calibration, calibration_stage, output_file)
 
def process_experiment (self, experiment, experiment_runs, iteration, lowest_exprun, highest_exprun)
 

Public Attributes

 machine
 :py:class:caf.state_machines.AlgorithmMachine used to help set up and execute CalibrationAlgorithm. More...
 
 first_execution
 Flag for the first execution of this AlgorithmStrategy.
 
 queue
 The multiprocessing queue used to pass back results one at a time.
 

Static Public Attributes

dictionary usable_params = {'iov_coverage': IoV}
 The parameters of Algorithm object which this Strategy would use. More...
 

Detailed Description

Custom strategy for executing the KLM strip efficiency. Requires complex
run merging rules.

This uses a `caf.state_machines.AlgorithmMachine` to actually execute
the various steps rather than operating on a CalibrationAlgorithm
C++ class directly.

Definition at line 26 of file klm_strip_efficiency.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  algorithm 
)
 

Definition at line 40 of file klm_strip_efficiency.py.

40  def __init__(self, algorithm):
41  """
42  """
43  super().__init__(algorithm)
44 
47  self.machine = AlgorithmMachine(self.algorithm)
48 
49  self.first_execution = True
50 

Member Function Documentation

◆ execute_over_run_list()

def execute_over_run_list (   self,
  run_list,
  iteration,
  forced_calibration,
  calibration_stage,
  output_file 
)
Execute over run list.

Definition at line 125 of file klm_strip_efficiency.py.

◆ process_experiment()

def process_experiment (   self,
  experiment,
  experiment_runs,
  iteration,
  lowest_exprun,
  highest_exprun 
)
Process runs from experiment.

Definition at line 147 of file klm_strip_efficiency.py.

◆ run()

def run (   self,
  iov,
  iteration,
  queue 
)
Runs the algorithm machine over the collected data and
fills the results.

Definition at line 51 of file klm_strip_efficiency.py.

Member Data Documentation

◆ machine

machine

:py:class:caf.state_machines.AlgorithmMachine used to help set up and execute CalibrationAlgorithm.

It gets set up properly in :py:func:run.

Definition at line 47 of file klm_strip_efficiency.py.

◆ usable_params

dictionary usable_params = {'iov_coverage': IoV}
static

The parameters of Algorithm object which this Strategy would use.

Just here for documentation reasons.

Definition at line 38 of file klm_strip_efficiency.py.


The documentation for this class was generated from the following file: