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 0fb34bd3936e22d0fa728b0a71fb8e8809dfe57c..3e66187a695aad0c49a04c8a13278e0a040e2d7a 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());
       }