void createChannels(unsigned int imode, int icharge, tcPDPtr resonance, unsigned int iloc, int ires, tPDVector outgoing, PhaseSpaceModePtr mode, PhaseSpaceChannel channel, unsigned int j1, unsigned int j2, unsigned int j3, unsigned int j4, int &nchan)