12Importer of the SVD EventT0 Configuration
15from ROOT
import Belle2
18now = datetime.datetime.now()
20selectTracksFromIP =
True
21minimumPtSelection = 0.25
28 ''' Importer of the SVD EventT0 Configuration'''
35 uniqueID = f
"SVDEventT0Configuration_default_{now.isoformat()}_INFO:min-pt={minimumPtSelection}_pz={absPzSelection}"
37 svdEventT0ConfigurationSpecificString =
""
38 if selectTracksFromIP:
39 svdEventT0ConfigurationSpecificString = f
"_selectTracksFromIP_d0={absD0Selection}_z0={absZ0Selection}"
41 uniqueID += svdEventT0ConfigurationSpecificString
45 payload.setSelectTracksFromIP(selectTracksFromIP)
46 payload.setMinimumPtSelection(minimumPtSelection)
47 payload.setAbsPzSelection(absPzSelection)
48 payload.setAbsD0Selection(absD0Selection)
49 payload.setAbsZ0Selection(absZ0Selection)
54main = basf2.create_path()
57eventinfosetter = basf2.register_module(
'EventInfoSetter')
58eventinfosetter.param({
'evtNumList': [1],
'expList': 0,
'runList': 0})
59main.add_module(eventinfosetter)
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
This class store the configuration of the selections applied on the tracks used to compute the SVD Ev...
static Database & Instance()
Instance of a singleton Database.