Influence of the order parameter on the dynamics of ultrashort pulses in an environment with carbon nanotubes