Belle II Software  release-08-01-10
writeTrackFlippingCutsToDB.py
1 #!/usr/bin/env python
2 
3 
10 
11 from ROOT import Belle2
12 
13 
14 parameters = Belle2.TrackFlippingCuts()
15 # Boolean on/off, float cutOnPt, float cutonFirstMVA,float cutonSecondMVA
16 parameters.setCuts(True, 999.9, 0.01, 0.8)
17 iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
18 
19 # write db object to 'localdb/'
20 Belle2.Database.Instance().storeData('TRKTrackFlipAndRefit_MVA_cuts', parameters, iov)
A class that describes the interval of experiments/runs for which an object in the database is valid.
The payload containing the cuts for 2 mva based filters to decide whether a RecoTrack should be flipp...
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42