fixed warnings in TPC code
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 12:28:46 +0000 (12:28 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 12:28:46 +0000 (12:28 +0000)
HLT/TPCLib/tracking-ca/AliHLTTPCCATracker.cxx
HLT/TPCLib/tracking-ca/AliTPCtrackerCA.cxx

index c70ca56d331d81104d245545e16d019ba8e1d5ba..7bcd76396f7661f1a0d6a97e47adde08747a7a97 100644 (file)
@@ -1031,7 +1031,7 @@ void AliHLTTPCCATracker::FindTracks()
 
     t.Chi2() = 0;
     t.NDF() = -5;      
-    Bool_t first = 1;
+    first = 1; // removed  bool in front  -> JT
 
     Int_t iID = iTrack.FirstCellID();
     Int_t fNOutTrackHitsOld = fNOutTrackHits;
index c7b33594f4f14cd2673c28d338dd37ab89432ef6..dc63faa4b9d455d2913e4664fb1d57ba421c7d78 100644 (file)
@@ -347,18 +347,18 @@ Int_t AliTPCtrackerCA::Clusters2Tracks( AliESDEvent *event )
       geo.close();
     }
 
-    fstream event;
+    fstream eventStream;
     char name[255];
     sprintf( name,"CAEvents/%i.event.dat",fStatNEvents ); 
-    event.open(name, ios::out);
-    if( event.is_open() ){
-      fHLTTracker->WriteEvent(event);  
+    eventStream.open(name, ios::out);
+    if( eventStream.is_open() ){
+      fHLTTracker->WriteEvent(eventStream);    
       fstream tracks;
       sprintf( name,"CAEvents/%i.tracks.dat",fStatNEvents ); 
       tracks.open(name, ios::out);
       fHLTTracker->WriteTracks(tracks);        
     }
-    event.close();   
+    eventStream.close();   
     if( fDoHLTPerformance ){
       fstream mcevent, mcpoints;
       char mcname[255];