simple test-function
Simple function for the test
Definition at line 56 of file PartPropSvc.py.
57 """Simple function for the test"""
58 pps = gaudi.gaudiPartProp()
62 lst1 = pps.get(
lambda x: l == x.pid().lSpin())
63 print(
" %s == 2*lSpin+1 " % l)
68 lst1 = pps.get(
lambda x: s == x.pid().sSpin())
69 print(
" %s == 2*sSpin+1 " % s)
74 lst1 = pps.get(
lambda x: j == x.pid().jSpin())
75 print(
" %s == 2*jSpi+1 " % j)
80 "B+ -> J/psi(1S) ( K*0 -> K+ pi- ) ",
81 "D_s+ -> pi+ pi+ pi- ",
82 "B_s0 -> ( J/psi(1S) -> mu+ mu- ) ( phi(1020) -> K+ K- ) ",
86 print(
"Decay&CC: %s : %s " % (decay, pps.cc(decay)))
94 items.push_back(
Item(
"K+"))
95 items.push_back(
Item(
"K-"))
99 print(decay.validate(pps.svc()))
102 decays.push_back(decay)
103 decays.push_back(decay)
104 decays.push_back(decay)