예제 #1
0
 def get_db_type(self):
     ''' @return: The database decay mode type for this Decay. '''
     return DECAY_MODE_IMPL.get_mode_for_particles(PARTICLE_TYPE_IMPL.get_type_for_name(self.parent.type),
                                              PARTICLE_TYPE_IMPL.get_types_for_names([p.type for p in self.products]) )