Bug fix: avoid redeclaration
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Jan 2008 18:26:10 +0000 (18:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Jan 2008 18:26:10 +0000 (18:26 +0000)
STEER/AliReconstruction.cxx

index 0fb34bd..3e66187 100644 (file)
@@ -1670,7 +1670,7 @@ Bool_t AliReconstruction::FillTriggerESD(AliESDEvent*& esd)
     AliRunLoader *runloader = AliRunLoader::GetRunLoader();
     if (runloader) {
       if (!runloader->LoadTrigger()) {
-       AliCentralTrigger *aCTP = runloader->GetTrigger();
+       aCTP = runloader->GetTrigger();
        esd->SetTriggerMask(aCTP->GetClassMask());
        esd->SetTriggerCluster(aCTP->GetClusterMask());
       }