Techniques for Nuclear and Particle Physics Experiments