Belle II Software development
SetFirmwareVersionToDB.py
1#!/usr/bin/env python3
2
3
10
11from ROOT import Belle2
12
14
15# payload.setDHHFirmwareVersion(1) # 1 is 2019ab
16# reserve 2-9 for some intermediate versions with different behaviour
17payload.setDHHFirmwareVersion(10) # 10 is default in 2019c, 2020ab
18
19iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
20Belle2.Database.Instance().storeData('PXDDHHFirmwareVersion', payload, iov)
A class that describes the interval of experiments/runs for which an object in the database is valid.
The payload stores the firmware version from the DHH, which has influence on the structure and conten...
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42