Chemical kinetics and relaxation of non-equilibrium air plasma generated by energetic photon and electron beams