fTriggerProcessor(0x0),
fTriggerUtilities(0x0),
fClusterServers(),
-fTrackers()
+fTrackers(),
+fShouldCalibrate(kTRUE)
{
/// normal ctor
{
CreateCalibrator();
}
- AliCodeTimerAuto(Form("%s::Calibrate(AliMUONVDigitStore*)",fDigitCalibrator->ClassName()),0)
- fDigitCalibrator->Calibrate(digitStore);
+
+ if ( fShouldCalibrate )
+ {
+ AliCodeTimerAuto(Form("%s::Calibrate(AliMUONVDigitStore*)",fDigitCalibrator->ClassName()),0)
+ fDigitCalibrator->Calibrate(digitStore);
+ }
}
//_____________________________________________________________________________
clusterServer = new AliMUONSimpleClusterServer(clusterFinder,*fTransformer);
- AliInfo(Form("Created AliMUONSimpleClusterServer (%p) for specie %d with clustering = %s",
- clusterServer,rp.GetEventSpecie(),clusterFinder->ClassName()));
+ AliInfo(Form("Created AliMUONSimpleClusterServer (%p) for specie %d with clustering = %s (following requesting clustering mode %s)",
+ clusterServer,rp.GetEventSpecie(),clusterFinder->ClassName(),rp.GetClusteringMode()));
fClusterServers.AddAtAndExpand(clusterServer,rp.GetEventSpecie());
}
AliWarning("NOSTATUSMAP is obsolete");
}
- fDigitCalibrator = new AliMUONDigitCalibrator(*fCalibrationData,GetRecoParam());
+ Bool_t kTracker(kFALSE);
+
+ const AliRunInfo* runInfo = GetRunInfo();
+ if (!runInfo)
+ {
+ AliError("Could not get runinfo ?");
+ }
+ else
+ {
+ TString detectors(runInfo->GetActiveDetectors());
+ if (detectors.Contains("MUONTRK")) kTracker=kTRUE;
+ }
+
+ if ( kTracker )
+ {
+ fDigitCalibrator = new AliMUONDigitCalibrator(*fCalibrationData,GetRecoParam());
+ }
+ else
+ {
+ AliWarning("Apparently running without MCH so will not instantiante the DigitCalibrator nor read MCH OCDB objects...");
+ fShouldCalibrate=kFALSE;
+ }
}
//_____________________________________________________________________________