]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removed cout statements
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Feb 2010 12:30:44 +0000 (12:30 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Feb 2010 12:30:44 +0000 (12:30 +0000)
HLT/global/AliHLTGlobalTrackMatcher.cxx
HLT/global/AliHLTGlobalTrackMatcher.h
HLT/global/AliHLTGlobalTrackMatcherComponent.cxx

index bfd218ddddaee02263d3eaa8ff6d285773bfd8a7..0944bed51dc85d023a72f456af56a5bfb893cae7 100644 (file)
@@ -94,7 +94,6 @@ Int_t AliHLTGlobalTrackMatcher::AddTrackToCluster(Int_t tId, Int_t* matchArray,
   }
 
   if(bestMatch) {
-    cout <<"bestmatch"<<endl;
     matchArray[nMatches] = matchArray[0];
     matchArray[0] = tId;
   } else  {
index c6b1ef637d233943fc006911d5f13dc9c66b9597..73723a4678b9547566105029073556c2663881cc 100644 (file)
@@ -166,10 +166,11 @@ Int_t AliHLTGlobalTrackMatcher::MatchTrackToClusters( AliExternalTrackParam * tr
       continue;
     }
 
+
     if (match < bestMatch[ic]) {
       bestMatch[ic] = match;
       cluster->SetEmcCpvDistance(TMath::Sqrt(match));
-      //cluster->SEt
+      cluster->SetTrackDistance(TMath::Sqrt(dxy), TMath::Sqrt(dz));
     }
     
     //Add track to cluster's array of matching tracks
index 1570b7548d932076f287d2edeb11594c55d5a392..034391a246fe6ac154861ab4f5935aa6f84f02aa 100644 (file)
@@ -199,15 +199,13 @@ int AliHLTGlobalTrackMatcherComponent::DoEvent(const AliHLTComponentEventData& /
      
      if ( (caloClusterHeader->fNClusters) < 0) {
        HLTWarning("Event has negative number of clusters: %d! Very bad for vector resizing", (Int_t) (caloClusterHeader->fNClusters));
+       return -1;
      } else {    
-       HLTInfo("Event has positive number of clusters: %d", (Int_t ) (caloClusterHeader->fNClusters));
 
        //BALLE, TODO, make it able to do EMCAL as well!!!
        phosClustersVector.resize((int) (caloClusterHeader->fNClusters)); 
        Int_t nClusters = 0;
-       cout << "nclustes " << caloClusterHeader->fNClusters << endl;
        while( (caloClusterStruct = fClusterReader->NextCluster()) != 0) {
-        cout << caloClusterStruct->fEnergy << "BALLE ENERGY" <<endl;
         //BALLE stil just phos
         phosClustersVector[nClusters++] = caloClusterStruct;  
        }