]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
save number of clusters/tracklet in debug stream
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Dec 2009 13:59:50 +0000 (13:59 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Dec 2009 13:59:50 +0000 (13:59 +0000)
PWG1/TRD/AliTRDcheckDET.cxx

index 53da64b4c527adf6fea212ef9ba4bd09cf8f4f2a..2ede1cc27afcb7629688f8d3f7faf50ce01d71bd 100644 (file)
@@ -599,7 +599,8 @@ TH1 *AliTRDcheckDET::PlotNClustersTrack(const AliTRDtrackV1 *track){
   AliTRDseedV1 *tracklet = 0x0;
   for(Int_t itl = 0; itl < AliTRDgeometry::kNlayer; itl++){
     if(!(tracklet = fkTrack->GetTracklet(itl)) || !tracklet->IsOK()) continue;
-    nclusters += tracklet->GetN();
+    Int_t n(tracklet->GetN());
+    nclusters += n;
     if(DebugLevel() > 2){
       Int_t crossing = Int_t(tracklet->IsRowCross());
       Int_t detector = tracklet->GetDetector();
@@ -622,7 +623,7 @@ TH1 *AliTRDcheckDET::PlotNClustersTrack(const AliTRDtrackV1 *track){
         << "phi="                              << phi
         << "kinkIndex="        << kinkIndex
         << "TPCncls="          << nclsTPC
-        << "nclusters=" << nclusters
+        << "TRDncls="   << n
         << "\n";
     }
   }