Improve error handling (M. Richter)
authorarossi <arossi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jan 2013 14:54:26 +0000 (14:54 +0000)
committerarossi <arossi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jan 2013 14:54:26 +0000 (14:54 +0000)
PWGHF/correlationHF/AliAnalysisTaskDStarCorrelations.cxx

index bc983da..84a2639 100644 (file)
@@ -492,7 +492,7 @@ void AliAnalysisTaskDStarCorrelations::UserExec(Option_t *){
                                Double_t ptHad = hadron->Pt();
                                Double_t phiHad = hadron->Phi();
                                Double_t etaHad = hadron->Eta(); 
-                               Double_t label = hadron->GetLabel(); 
+                               Int_t label = hadron->GetLabel(); 
                                Int_t trackid = hadron->GetID();
                                
                                phiHad = fCorrelator->SetCorrectPhiRange(phiHad);