Fix compilation warnings.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 11:23:01 +0000 (11:23 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 11:23:01 +0000 (11:23 +0000)
EVE/EveBase/AliEveEventSelectorWindow.cxx
EVE/EveBase/AliEveTrack.cxx

index c412cea..4a42f0a 100644 (file)
@@ -291,6 +291,6 @@ void AliEveEventSelectorWindow::DoSetMultiplicityRange()
 {
   //Set the multiplicity range
   
-  fPSelector->SetMultiplicityLow(fPEntryMultLow->GetNumber());
-  fPSelector->SetMultiplicityHigh(fPEntryMultHigh->GetNumber());
+  fPSelector->SetMultiplicityLow ((Int_t) fPEntryMultLow->GetNumber());
+  fPSelector->SetMultiplicityHigh((Int_t) fPEntryMultHigh->GetNumber());
 }
index 5b78357..f2fc102 100644 (file)
@@ -61,7 +61,7 @@ AliEveTrack::AliEveTrack(AliESDtrack* t, TEveTrackPropagator* prop) :
   Double_t ep = t->GetP(), mc = t->GetMass();
   fBeta = ep/TMath::Sqrt(ep*ep + mc*mc);
   // fPdg = 0; // ??? Use PID ?
-  fCharge= t->GetSign();
+  fCharge = (Double_t) t->GetSign();
   
   fLabel = t->GetLabel();
   fIndex = t->GetID();