15from ROOT
import Belle2
16from ROOT.Belle2
import TrackFitMomentumRange, Database, IntervalOfValidity
18parameters = TrackFitMomentumRange()
19parameters.setMomentumRange(11, math.inf)
20parameters.setMomentumRange(13, math.inf)
21parameters.setMomentumRange(211, math.inf)
22parameters.setMomentumRange(321, math.inf)
23parameters.setMomentumRange(2212, math.inf)
24parameters.setMomentumRange(1000010020, math.inf)
26database = Database.Instance()
28iov = IntervalOfValidity(0, 0, 0, -1)
29database.storeData(
'TrackFitMomentumRange', parameters, iov)
30iov = IntervalOfValidity(1002, 0, 1002, -1)
31database.storeData(
'TrackFitMomentumRange', parameters, iov)
32iov = IntervalOfValidity(1003, 0, 1003, -1)
33database.storeData(
'TrackFitMomentumRange', parameters, iov)