replacing TOP likelihoods in PIDLikelihoods with new values
Definition at line 24 of file cdst_reprocessTOP.py.
◆ event()
event function
Definition at line 27 of file cdst_reprocessTOP.py.
28 ''' event function '''
30 chargedStableSet = [Belle2.Const.electron,
35 Belle2.Const.deuteron]
38 pid = track.getRelated(
'PIDLikelihoods')
40 top = track.getRelated(
'TOPLikelihoods')
42 if top.getFlag() == 1:
43 for chargedStable
in chargedStableSet:
44 logL = top.getLogL(chargedStable)
45 pid.setLogLikelihood(Belle2.Const.TOP, chargedStable, logL)
53 b2.use_central_database(
'data_reprocessing_proc7')
54 b2.use_local_database(
'localDB/localDB.txt',
'localDB/')
a (simplified) python wrapper for StoreArray.
The documentation for this class was generated from the following file: