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