message: Weighting order optimization
diff: @@ -2264,7 +2264,7 @@ Double_t AliAnalysisTaskHFJetIPQA::GetWeightFactor( AliVTrack * track,Int_t &pCo
  Double_t _particlesourcept(0);
  AliVParticle * mcpartclone = mcpart;
  - while(mcpart){//omega and xi test
  + while(mcpart){//Strangenss
  if((abs(mcpart->PdgCode()) >0 && abs(mcpart->PdgCode()) <7)|| (abs(mcpart->PdgCode()) == 21)) break;
  _particlesourcept = mcpart->Pt();
  _particlesourcepdg = abs(mcpart->PdgCode());
  @@ -2289,13 +2289,13 @@ Double_t AliAnalysisTaskHFJetIPQA::GetWeightFactor( AliVTrack * track,Int_t &pCo
  }
  }
  - if (!_particlesourcefound) { //heavy mesons to improve templates
  + if (!_particlesourcefound) {
  mcpart = mcpartclone;
  while(mcpart){
  if((abs(mcpart->PdgCode()) >0 && abs(mcpart->PdgCode()) <7)|| (abs(mcpart->PdgCode()) == 21)) break;
  _particlesourcept = mcpart->Pt();
  _particlesourcepdg = abs(mcpart->PdgCode());
  - if (IsSelectionParticleALICE(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  + if (IsSelectionParticle(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  _particlesourcefound = kTRUE;
  break;
  }
  @@ -2308,7 +2308,7 @@ Double_t AliAnalysisTaskHFJetIPQA::GetWeightFactor( AliVTrack * track,Int_t &pCo
  if((abs(mcpart->PdgCode()) >0 && abs(mcpart->PdgCode()) <7)|| (abs(mcpart->PdgCode()) == 21)) break;
  _particlesourcept = mcpart->Pt();
  _particlesourcepdg = abs(mcpart->PdgCode());
  - if (IsSelectionParticle(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  + if (IsSelectionParticleOmegaXiSigmaP(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  _particlesourcefound = kTRUE;
  break;
  }
  @@ -2320,7 +2320,7 @@ Double_t AliAnalysisTaskHFJetIPQA::GetWeightFactor( AliVTrack * track,Int_t &pCo
  while(mcpart){
  if((abs(mcpart->PdgCode()) >0 && abs(mcpart->PdgCode()) <7)|| (abs(mcpart->PdgCode()) == 21)) break;
  _particlesourcept = mcpart->Pt();
  - if (IsSelectionParticleOmegaXiSigmaP(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  + if (IsSelectionParticleALICE(mcpart,_particlesourcepdg,_particlesourcept,_particlesourceidx)){
  _particlesourcefound = kTRUE;
  break;
  }
  