Belle II Software development
ImportTimeCableDelay.py
1#!/usr/bin/env python3
2
3
10
11# Import KLM time cable delay payloads.
12
13from ROOT import Belle2
14
15timeCableDelay = Belle2.KLMTimeCableDelay()
18while (index != index2.end()):
19 channel = index.getKLMChannelNumber()
20 timeCableDelay.setTimeDelay(channel, 0.0)
21 index.increment()
22
24
25iov = Belle2.IntervalOfValidity(0, 0, 0, -1)
26db.storeData("KLMTimeCableDelay", timeCableDelay, iov)
27
28iov = Belle2.IntervalOfValidity(1002, 0, 1002, -1)
29db.storeData("KLMTimeCableDelay", timeCableDelay, iov)
30
31iov = Belle2.IntervalOfValidity(1003, 0, 1003, -1)
32db.storeData("KLMTimeCableDelay", timeCableDelay, iov)
A class that describes the interval of experiments/runs for which an object in the database is valid.
KLM channel index.
Class to store BKLM delay time coused by cable in the database.
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42