11from ROOT
import gSystem
12from ROOT
import Belle2
13gSystem.Load(
'libanalysis_dataobjects')
16assert bminus.registerInDataStore()
18bminus.obj().initialize(-521,
"B-:test")
21assert bplus.registerInDataStore()
23bplus.obj().initialize(521,
"B+:test")
24bplus.obj().bindAntiParticleList(bminus.obj())
26assert 'Particles' == bminus.obj().getParticleCollectionName()
27assert 'B-:test' == bminus.obj().getParticleListName()
28assert 'B+:test' == bminus.obj().getAntiParticleListName()
29assert 'B+:test' == bplus.obj().getParticleListName()
30assert 'B-:test' == bplus.obj().getAntiParticleListName()
a (simplified) python wrapper for StoreObjPtr.