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

Public Member Functions

def __init__ (self, algorithm)
 
def run (self, iov, iteration, queue)
 
def execute_over_run_list (self, run_list, iteration, forced_calibration)
 
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 channel status. 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 27 of file klm_channel_status.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  algorithm 
)
 

Definition at line 41 of file klm_channel_status.py.

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

Member Function Documentation

◆ execute_over_run_list()

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

Definition at line 124 of file klm_channel_status.py.

◆ process_experiment()

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

Definition at line 142 of file klm_channel_status.py.

◆ run()

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

Definition at line 52 of file klm_channel_status.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 48 of file klm_channel_status.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 39 of file klm_channel_status.py.


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