added a few over ride options for generateDarkcal to make it safer and up to date with current set of detectorCorrections