Belle II Software  release-08-01-10
importDAFparameters.py
1 #!/usr/bin/env python
2 
3 
10 
11 # Import DAFparameters payloads
12 from ROOT.Belle2 import Database, IntervalOfValidity, DAFparameters
13 
14 # Optimisation 2023 #
15 parameters = DAFparameters()
16 parameters.setDeltaPValue(0.001)
17 parameters.setDeltaWeight(0.06)
18 parameters.setProbabilityCut(0.001)
19 parameters.setAnnealingScheme(2, 0.01, 5)
20 parameters.setMinimumIterations(1)
21 parameters.setMaximumIterations(9)
22 parameters.setMinimumIterationsForPVal(1)
23 parameters.setMaximumFailedHits(5)
24 
25 database = Database.Instance()
26 
27 iov = IntervalOfValidity(0, 0, -1, -1) # 1st exp, 1st run, final exp, final run
28 database.storeData('DAFparameters', parameters, iov)