Added better keywords for applyautohotpixel, applybadpixelmap.
DetectorID and detID were variables that could be easily mixed up. I replaced the variable detID by detIndex throughout the code. I also removed the keyword hitfinderDetector and introduced the keyword hitfinderDetectorID. This serves clarity.