//
SetNProngs(2);
+ fPtAccCut=new Float_t[fProngs];
+ fEtaAccCut=new Float_t[fProngs];
+ for(Int_t iP=0; iP<fProngs; iP++){
+ fPtAccCut[iP]=0.1;
+ fEtaAccCut[iP]=0.9;
+ }
+
}
Int_t mcLabel = fRecoCandidate->MatchToMC(pdgCand,fmcArray,2,pdgDgD0toKpi);
if (mcLabel == -1) return bSignAssoc;
+
+ if (fRecoCandidate->NumberOfFakeDaughters()>0){
+ fFake = 0; // fake candidate
+ if (fFakeSelection==1) return bSignAssoc;
+ }
+ if (fRecoCandidate->NumberOfFakeDaughters()==0){
+ fFake = 2; // non-fake candidate
+ if (fFakeSelection==2) return bSignAssoc;
+ }
+
SetMCLabel(mcLabel);
fmcPartCandidate = dynamic_cast<AliAODMCParticle*>(fmcArray->At(fmcLabel));
if (!fmcPartCandidate){
vectorMC[10] = 1.01; // dummy value, meaningless in MC
vectorMC[11] = fmcPartCandidate->Phi();
vectorMC[12] = fzMCVertex; // z of reconstructed of primary vertex
+ vectorMC[13] = fCentValue; //reconstructed centrality
+ vectorMC[14] = 1.; // always filling with 1 at MC level
+
delete decay;
bGenValues = kTRUE;
return bGenValues;
vectorReco[10] = cosPointingAngle; // in micron
vectorReco[11] = phi;
vectorReco[12] = fzPrimVertex; // z of reconstructed of primary vertex
+ vectorReco[13] = fCentValue; //reconstructed centrality
+ vectorReco[14] = fFake; // whether the reconstructed candidate was a fake (fFake = 0) or not (fFake = 2)
+
bFillRecoValues = kTRUE;
return bFillRecoValues;