Minor corrections needed on HP and Sun
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 10 Jun 2001 20:58:15 +0000 (20:58 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 10 Jun 2001 20:58:15 +0000 (20:58 +0000)
PHOS/AliPHOS.cxx
PHOS/AliPHOS.h
PHOS/AliPHOSPID.cxx
PHOS/AliPHOSReconstructioner.h
PHOS/AliPHOSvImpacts.cxx

index 8080a4f5117f26f162a0f86d5078e2f8c630c7d6..3cb4fc2e3fd41f6a3b905b61c349ef42b6897dcd 100644 (file)
@@ -25,6 +25,7 @@
 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH) 
 //////////////////////////////////////////////////////////////////////////////
 
+
 // --- ROOT system ---
 class TFile;
 #include "TROOT.h"
@@ -52,7 +53,7 @@ AliPHOS:: AliPHOS() : AliDetector()
   CreatePHOSFolders();
 }
 //____________________________________________________________________________
-AliPHOS:: AliPHOS(const char* name, const char* title=""): AliDetector(name, title) 
+AliPHOS:: AliPHOS(const char* name, const char* title): AliDetector(name, title) 
 {
   // Create folder and task hierarchy
   CreatePHOSFolders();
index ba5cd0902c9673364433ac3a4fb592e4148c9608..bd92cb58fa7d87abe74070930d93c90c1c9e986a 100644 (file)
@@ -9,6 +9,8 @@
 //                  
 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
 
+#include <stdlib.h>
+
 // --- ROOT system ---
 
 class TString ; 
index 26f413a48f19b2b5f55132be53d815fc7e818f9f..b0b73aad4564b1b4645a194a207aa0ff175d1f55 100644 (file)
@@ -32,6 +32,7 @@
 
 // --- Standard library ---
 #include <iostream.h>
+#include <stdlib.h>
 
 
 // --- AliRoot header files ---
index c38eea788b0adcfa408a242b2237967f9f209036..72f2ff02bc14c258ceb1f6f8d15f22da53cf149d 100644 (file)
@@ -11,6 +11,8 @@
 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) 
 //*--         Dmitri Peressounko (SUBATECH & Kurchatov Institute)
 
+#include <stdlib.h>
+
 // --- ROOT system ---
 
 #include "TTask.h"
index accee1f46bf208b2d6a972f3048585fa3cada513..bbdcddca7069bd41c592b19ddfefcad955bc21ac 100644 (file)
@@ -160,7 +160,7 @@ void AliPHOSvImpacts::AddImpact( char* det, Int_t shunt, Int_t primary, Int_t tr
 }
 
 //____________________________________________________________________________
-void AliPHOSvImpacts::MakeBranch(Option_t *opt=" ", const char *file=0)
+void AliPHOSvImpacts::MakeBranch(Option_t *opt, const char *file)
 {  
   // Create new branch in the current Hits Root Tree containing
   // a list of PHOS impacts (exact values of track coming to detector)
@@ -231,7 +231,7 @@ void AliPHOSvImpacts::StepManager(void)
     Int_t i;
     for (i=0; i<3; i++) xyzm[i] = pos[i];
 
-    for (Int_t i=0; i<3; i++) {
+    for (i=0; i<3; i++) {
       xyzm[i] = pos[i] ;
       pm[i]   = pmom[i];
     }
@@ -262,7 +262,7 @@ void AliPHOSvImpacts::StepManager(void)
     Int_t i;
     for (i=0; i<3; i++) xyzm[i] = pos[i];
 
-    for (Int_t i=0; i<3; i++) {
+    for (i=0; i<3; i++) {
       xyzm[i] = pos[i] ;
       pm[i]   = pmom[i];
     }
@@ -284,7 +284,7 @@ void AliPHOSvImpacts::StepManager(void)
     Int_t i;
     for (i=0; i<3; i++) xyzm[i] = pos[i];
 
-    for (Int_t i=0; i<3; i++) {
+    for (i=0; i<3; i++) {
       xyzm[i] = pos[i] ;
       pm[i]   = pmom[i];
     }