+ if ( kTracker )
+ {
+ // Check that we get all the calibrations we'll need
+ if ( !fCalibrationData->Pedestals() ||
+ !fCalibrationData->Gains() )
+ {
+ AliFatal(Form("Could not access all required calibration data (PED %p GAIN %p)",
+ fCalibrationData->Pedestals(),fCalibrationData->Gains()));
+ }
+
+ if ( !fCalibrationData->HV() )
+ {
+ // Special treatment of HV. We only break if the values
+ // are not there *AND* we cut on them.
+ UInt_t mask = GetRecoParam()->PadGoodnessMask();
+ TString smask(AliMUONPadStatusMaker::AsCondition(mask));
+ if ( smask.Contains("HV") )
+ {
+ AliFatal("Could not access all required calibration data (HV)");
+ }
+ }
+ }
+}
+
+//_____________________________________________________________________________
+void
+AliMUONReconstructor::CreateCalibrator() const
+{
+ /// Create the calibrator
+
+ AliCodeTimerAuto("",0);
+
+ if ( ! fCalibrationData )
+ CreateCalibrationData();
+
+ AliInfo("Calibration will occur.");
+