47 """ Event function """
58 for mcparticle
in mcParticles:
59 if (mcparticle.isPrimaryParticle())
and (mcparticle.getPDG() == self.
pdgcode):
61 mcMother = mcparticle.getMother()
63 pdg = mcMother.getPDG()
77 mcMother = mcMother.getMother()
80 extraInfoName = f
'nGen_{self.pdgcode}'
81 extraInfoName_Bp = f
'nGen_{self.pdgcode}_Bp'
82 extraInfoName_Bm = f
'nGen_{self.pdgcode}_Bm'
83 extraInfoName_B0 = f
'nGen_{self.pdgcode}_B0'
84 extraInfoName_antiB0 = f
'nGen_{self.pdgcode}_antiB0'
92 self.
eventExtraInfo.setExtraInfo(extraInfoName_antiB0, antiB0_counter)