Belle II Software development
writeTrackFlippingCutsToDB.py
1#!/usr/bin/env python
2
3
10
11from ROOT import Belle2
12
13
14parameters = Belle2.TrackFlippingCuts()
15# Boolean on/off, float cutOnPt, float cutonFirstMVA,float cutonSecondMVA
16parameters.setCuts(True, 999.9, 0.01, 0.8)
17iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
18
19# write db object to 'localdb/'
20Belle2.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