parameters: (particle, daughters, rank )
return_statement: return daughters
docstring: Fills daughters with all the daughters of particle.
      Recursive function.
docstring_summary: Fills daughters with all the daughters of particle.
      Recursive function.
docstring_tokens: Fills daughters with all the daughters of particle . Recursive function .
function: def allDaughters(particle, daughters, rank ):
      '''Fills daughters with all the daughters of particle.
      Recursive function.'''
      rank += 1 
      for i in range( particle.numberOfDaughters() ):
          dau = GenParticle(particle.daughter(i))
          dau.rank = rank
          daughters.append( dau )
          daughters = allDaughters( dau, daughters, rank )
      return daughters
function_tokens: def allDaughters ( particle , daughters , rank ) : rank += 1 for i in range ( particle . numberOfDaughters ( ) ) : dau = GenParticle ( particle . daughter ( i ) ) dau . rank = rank daughters . append ( dau ) daughters = allDaughters ( dau , daughters , rank ) return daughters