Terpene synthase (TPS) involved in the biosynthesis of sesquiterpene natural products included in conifer oleoresin secretions and volatile emissions; these compounds contribute to biotic and abiotic stress defense against herbivores and pathogens. Catalyzes the conversion of (2E,6E)-farnesyl diphosphate (FPP) to longifolene