Belle II Software  release-05-01-25
grltrigger.py
1 # !/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 
4 from basf2 import *
5 
6 
7 def add_grl_trigger(path, SimulationMode=1):
8  """
9  do match and produce the objects on grl
10  @path modules are added to this path
11  @SimulationMode 0: fast simulation 1:full simulation
12  """
13  match = register_module('TRGGRLMatch')
14  match.param('SimulationMode', SimulationMode)
15  path.add_module(match)
16 
17  objects = register_module('TRGGRLProjects')
18  objects.param('SimulationMode', SimulationMode)
19  path.add_module(objects)