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