The Physics Of Particle Detectors