Updated D0 cuts (AndreaR)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 May 2012 16:17:28 +0000 (16:17 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 May 2012 16:17:28 +0000 (16:17 +0000)
PWGHF/vertexingHF/AliAnalysisTaskSECharmFraction.cxx
PWGHF/vertexingHF/AliRDHFCutsD0toKpi.cxx

index 816ab52..02bc500 100644 (file)
@@ -7062,7 +7062,7 @@ Bool_t AliAnalysisTaskSECharmFraction::FillHistos(AliAODRecoDecayHF2Prong *d,TLi
   if(fFastAnalysis<=3&&namehist.Contains("sign")){
     str="hSparseCxyLxy";
     str.Append(namehist.Data()); 
-    Double_t nLxy=d->NormalizedDecayLengthXY()*d->P()/pt;
+    Double_t nLxy=d->NormalizedDecayLengthXY();
     Double_t cosPxy=TMath::Abs(d->CosPointingAngleXY());
     Double_t point[4]={invMassD0,pt,cosPxy,nLxy};
     if(okD0){
index c46a920..5a1be9c 100644 (file)
@@ -1665,6 +1665,9 @@ void AliRDHFCutsD0toKpi::SetStandardCutsPbPb2011() {
   
   // Default 2010 PbPb cut object
   SetStandardCutsPbPb2010();
+  AliAODPidHF *pidobj=GetPidHF();
+
+  pidobj->SetOldPid(kFALSE);
 
   //
   // Enable all 2011 PbPb run triggers