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

Public Member Functions

def beginRun (self)
 

Detailed Description

Defining the python module to do the import.

Definition at line 36 of file SVDDefaultHitTimeSelectionImporter.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
call the functions to import the cluster parameters

Definition at line 41 of file SVDDefaultHitTimeSelectionImporter.py.

41 def beginRun(self):
42 """
43 call the functions to import the cluster parameters
44 """
46
47 # SpacePoint time
48 hitTimeSelection = SVDHitTimeSelectionFunction()
49 # set default version = 0
50 hitTimeSelection.setFunctionID(clsTimeFunctionID)
51 # version 0: t > tMin
52 hitTimeSelection.setMinTime(clsTimeMin)
53 # version 1: |t-t0|<deltaT - NOT USED
54 hitTimeSelection.setDeltaTime(clsTimeDeltaT)
55 # version 2: |t-t0|<nSgma*tErrTOT - NOT USED
56 hitTimeSelection.setNsigma(clsTimeNSigma)
57 # cluster time difference
58 hitTimeSelection.setMaxUVTimeDifference(clsTimeDiff)
60 hitTimeSelection, "HitTimeSelection_noCuts_" + str(now.isoformat()) +
61 "_INFO:_tmin=" + str(clsTimeMin) + "_tDiff=" + str(clsTimeDiff))
62
64
65 for layer in geoCache.getLayers(Belle2.VXD.SensorInfoBase.SVD):
66 layerNumber = layer.getLayerNumber()
67 for ladder in geoCache.getLadders(layer):
68 ladderNumber = ladder.getLadderNumber()
69 for sensor in geoCache.getSensors(ladder):
70 sensorNumber = sensor.getSensorNumber()
71 for side in (0, 1):
72 print("setting SVD Hit Time Selections for " +
73 str(layerNumber) + "." + str(ladderNumber) + "." + str(sensorNumber) + "." + str(side))
74
75 Belle2.Database.Instance().storeData(Belle2.SVDHitTimeSelection.name, payload, iov)
76
77
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
base class for calibrations classes
static GeoCache & getInstance()
Return a reference to the singleton instance.
Definition: GeoCache.cc:214
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42

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