20The trivial example to inspect the particle data table from the data base
24__author__ =
"Vanya BELYAEV vanya@nikhef.nl"
28from Configurables
import ApplicationMgr, Gaudi__ParticlePropertySvc
51ppsvc = gaudi.gaudiPartProp()
56print(
" Self-charge conjugated particles ")
57selfcc = ppsvc.get(
lambda x: x.selfcc())
61print(
" CC-neutral mesons")
62mesonscc = ppsvc.get(
lambda x: (x.selfcc()
and x.isMeson()))
66print(
" CC-neutral beauty mesons")
67mesonscc = ppsvc.get(
lambda x: (x.isMeson()
and x.hasBottom()))
71print(
" STABLE particles (c*tau> 1 um)")
72stable = ppsvc.get(
lambda x: (x.ctau() > micrometer))
The Application Manager class.