warning removal
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 14:03:58 +0000 (14:03 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 14:03:58 +0000 (14:03 +0000)
PWG0/dNdPt/AlidNdPtAnalysis.cxx
PWG0/dNdPt/AlidNdPtCorrection.cxx

index 0b3230995c21c82ae8349627ef4b3d0ac80c1ef4..37b88adf5badd00e986db830bdd00cc98857fc35 100644 (file)
@@ -335,7 +335,6 @@ void AlidNdPtAnalysis::Init(){
   const Int_t etaNbins = 30;\r
   const Int_t zvNbins = 12;\r
 \r
-\r
   Double_t binsMult[multNbins+1] = {-0.5, 0.5 , 1.5 , 2.5 , 3.5 , 4.5 , 5.5 , 6.5 , 7.5 , 8.5,\r
                                      9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, 16.5, 17.5, 18.5,\r
                                     19.5,20.5, 21.5, 22.5, 23.5, 24.5, 29.5, 149.5};\r
@@ -1147,7 +1146,7 @@ void AlidNdPtAnalysis::Process(AliESDEvent *const esdEvent, AliMCEvent *const mc
        multMBTracks = vtxESD->GetNContributors();\r
   }\r
   else {\r
-    AliDebug(AliLog::kError, Form("Found analysis type %s", GetAnalysisMode()));\r
+    AliDebug(AliLog::kError, Form("Found analysis type %d", GetAnalysisMode()));\r
     return; \r
   }\r
 \r
@@ -1322,6 +1321,7 @@ void AlidNdPtAnalysis::Process(AliESDEvent *const esdEvent, AliMCEvent *const mc
             track->Set(cParam.GetX(),cParam.GetAlpha(),cParam.GetParameter(),cParam.GetCovariance());\r
 \r
              if(accCuts->AcceptTrack(track)) {\r
+\r
                FillHistograms(track,stack,AlidNdPtHelper::kRecTracks); \r
               labelsRec[multRec] = TMath::Abs(track->GetLabel());\r
               multRec++;\r
@@ -1330,6 +1330,9 @@ void AlidNdPtAnalysis::Process(AliESDEvent *const esdEvent, AliMCEvent *const mc
           else {\r
              if(accCuts->AcceptTrack(track)) \r
             {\r
+              //\r
+               //if(track->GetKinkIndex(0) < 0) continue;\r
+\r
                FillHistograms(track,stack,AlidNdPtHelper::kRecTracks); \r
               labelsRec[multRec] = TMath::Abs(track->GetLabel());\r
               multRec++;\r
@@ -1375,7 +1378,6 @@ void AlidNdPtAnalysis::Process(AliESDEvent *const esdEvent, AliMCEvent *const mc
 \r
    if(IsUseMCInfo())  \r
    {\r
-    \r
      /*\r
      //\r
      // multiplicity correlation matrix\r
@@ -1608,8 +1610,12 @@ void AlidNdPtAnalysis::Process(AliESDEvent *const esdEvent, AliMCEvent *const mc
             {\r
                fRecTrackMatrix->Fill(vTrackMatrix);\r
 \r
-               if( AlidNdPtHelper::IsPrimaryParticle(stack, iMc, GetParticleMode()) ) \r
+               if( AlidNdPtHelper::IsPrimaryParticle(stack, iMc, GetParticleMode()) ) {\r
                 fRecPrimTrackMatrix->Fill(vTrackMatrix);\r
+                //AliESDtrack *track = esdEvent->GetTrack(iRec);\r
+                 //if(track && track->GetKinkIndex(0) < 0) \r
+                //  printf("prim kink \n");\r
+              }\r
 \r
                if(!prim) fRecSecTrackMatrix->Fill(vTrackMatrix);\r
 \r
index f7cc742a7c871c6e97d53a3836288c818b4376aa..f26588cb6030e4053e0956efec39fe2b9b85ccfd 100644 (file)
@@ -1241,7 +1241,7 @@ void AlidNdPtCorrection::Process(AliESDEvent *esdEvent, AliMCEvent *mcEvent)
 \r
   }\r
   else {\r
-    AliDebug(AliLog::kError, Form("Found analysis type %s", GetAnalysisMode()));\r
+    AliDebug(AliLog::kError, Form("Found analysis type %d", GetAnalysisMode()));\r
     return; \r
   }\r
 \r