]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed warning
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 14:38:28 +0000 (14:38 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 14:38:28 +0000 (14:38 +0000)
PWG3/vertexingHF/AliRDHFCutsLctoV0.cxx

index 3def598144f6124dbaf3bb035f8eed6c7b857db7..2bb54329161763a87a4c0346c8bc77155d8f7917 100644 (file)
@@ -101,6 +101,8 @@ void AliRDHFCutsLctoV0::GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_
   // 
   // Fills in vars the values of the variables 
   //
+  if(pdgdaughters[0]==-9999) return; // dummy
+
 
   if(nvars!=fnVarsForOpt) {
     printf("AliRDHFCutsLctoV0::GetCutsVarsForOpt: wrong number of variables\n");