Belle II Software development
timeGroupingConfigurationImporter Class Reference
Inheritance diagram for timeGroupingConfigurationImporter:

Public Member Functions

def beginRun (self)
 

Detailed Description

 importer of the SVDTimeGrouping Configuration

Definition at line 63 of file SVDTimeGroupingConfigurationImporter.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 66 of file SVDTimeGroupingConfigurationImporter.py.

66 def beginRun(self):
67 '''begin run'''
68
69 print("")
70 print("--> json INFO:")
71 print(" "+str(param["_COMMENT"]))
72 print("")
73
75
76 uniqueID = "SVDTimeGroupingConfiguration_" + str(now.isoformat())
77 uniqueID += "_in" + param["uniqueID"]["INFO"]["source"]
78 uniqueID += "_usedFor" + param["uniqueID"]["INFO"]["usedFor"]
79 uniqueID += "_" + param["uniqueID"]["INFO"]["tag"]
80 print("uniqueID ->", uniqueID)
81 print("")
82
83 payload = Belle2.SVDTimeGroupingConfiguration(uniqueID, param["_DESCRIPTION"])
84
85 for alg in ["CoG3", "ELS3", "CoG6"]:
86 for numberOfAcquiredSamples in [3, 6]:
87 import_parameters_to_payload(payload, alg, numberOfAcquiredSamples)
88
89 # write out the payload to localdb directory
90 Belle2.Database.Instance().storeData(Belle2.SVDTimeGroupingConfiguration.name, payload, iov)
91
92
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
This class store the reconstruction configuration of SVDTimeGrouping module.
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42

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