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

Public Member Functions

def beginRun (self)
 

Detailed Description

 importer of the SVDTimeGrouping Configuration

Definition at line 66 of file SVDTimeGroupingConfigurationImporter.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
begin run

Definition at line 69 of file SVDTimeGroupingConfigurationImporter.py.

69  def beginRun(self):
70  '''begin run'''
71 
72  print("")
73  print("--> json INFO:")
74  print(" "+str(param["_COMMENT"]))
75  print("")
76 
78 
79  uniqueID = "SVDTimeGroupingConfiguration_" + str(now.isoformat())
80  uniqueID += "_in" + param["uniqueID"]["INFO"]["source"]
81  uniqueID += "_usedFor" + param["uniqueID"]["INFO"]["usedFor"]
82  uniqueID += "_" + param["uniqueID"]["INFO"]["tag"]
83  print("uniqueID ->", uniqueID)
84  print("")
85 
86  payload = Belle2.SVDTimeGroupingConfiguration(uniqueID, param["_DESCRIPTION"])
87 
88  for alg in ["CoG3", "ELS3", "CoG6"]:
89  for numberOfAcquiredSamples in [3, 6]:
90  import_parameters_to_payload(payload, alg, numberOfAcquiredSamples)
91 
92  # write out the payload to localdb directory
93  Belle2.Database.Instance().storeData(Belle2.SVDTimeGroupingConfiguration.name, payload, iov)
94 
95 
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: