Belle II Software  release-06-00-14
SetFirmwareVersionToDB.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 
11 
12 from ROOT import Belle2
13 
15 
16 # payload.setDHHFirmwareVersion(1) # 1 is 2019ab
17 # reserve 2-9 for some intermediate versions with different behaviour
18 payload.setDHHFirmwareVersion(10) # 10 is default in 2019c, 2020ab
19 
20 iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
21 Belle2.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:41