Introduction to Connes theory of noncommutative geometry, and its applications to high energy physics. (PhD course)