Belle II Software  release-08-01-10
SVDSpacePointSNRFractionSelectorImporter.py
1 #!/usr/bin/env python3
2 
3 
10 
11 import basf2
12 
13 
15  '''SVD space point selection function importer module'''
16 
17  def initialize(self):
18  '''Initialize'''
19  from ROOT import Belle2 # noqa
20 
22  payload.setFraction0Max(0.45)
23  payload.setFraction1Min(0.30)
24  payload.setFraction0MaxForFraction1Cut(0.10)
25 
27  Belle2.Database.Instance().storeData("SVDSpacePointSNRFractionSelector", payload, iov)
28 
29 
30 main = basf2.create_path()
31 
32 # Event info setter - execute single event
33 eventinfosetter = basf2.register_module('EventInfoSetter')
34 eventinfosetter.param({'evtNumList': [1], 'expList': 0, 'runList': 0})
35 main.add_module(eventinfosetter)
36 
38 
39 # Process events
40 basf2.process(main)
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
class to contain the cut on SVDSpacePoint
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42