]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for bug #59368
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Nov 2009 12:48:09 +0000 (12:48 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Nov 2009 12:48:09 +0000 (12:48 +0000)
STEER/AliReconstruction.cxx

index 784cf006227d8c1cc718574107feab9f9fb7dfac..63b5752125edca46941729a33195b49694db9d3d 100644 (file)
@@ -3152,9 +3152,10 @@ Bool_t AliReconstruction::FinishPlaneEff() {
  //  Return: kTRUE if all operations have been done properly, kFALSE otherwise
  //
  Bool_t ret=kFALSE;
+ TString detStr = fLoadCDB;
  //for (Int_t iDet = 0; iDet < fgkNDetectors; iDet++) {
  for (Int_t iDet = 0; iDet < 1; iDet++) { // for the time being only ITS
-   //if (!IsSelected(fgkDetectorName[iDet], detStr)) continue;
+   if (!IsSelected(fgkDetectorName[iDet], detStr)) continue;
    if(fTracker[iDet] && fTracker[iDet]->GetPlaneEff()) {
       AliPlaneEff *planeeff=fTracker[iDet]->GetPlaneEff();
       TString name=planeeff->GetName();
@@ -3201,7 +3202,7 @@ Bool_t AliReconstruction::InitPlaneEff() {
   if (itsReconstructor) {
     fSPDTrackleter = itsReconstructor->CreateTrackleter(); // this is NULL unless required in RecoParam
   }
-  if (fSPDTrackleter) { 
+  if (fSPDTrackleter) {
     AliInfo("Trackleter for SPD has been created");
   }