message: fix deuteron sideband timing problem
diff: @@ -438,6 +438,10 @@ void AliAnalysisTaskLeuteronAOD::UserExec(Option_t *){
  AntiprotonParticles.push_back(*fTrack);
  }
  + // deuterons
  + if(fTrackCutsPart3->isSelected(fTrack)){
  +
  + // deuterons (sideband only)
  if(fDeuteronSideband){
  mass2 = CalculateMassSqTOF(fTrack);
  @@ -445,26 +449,21 @@ void AliAnalysisTaskLeuteronAOD::UserExec(Option_t *){
  sigma = GetDeuteronMass2Sigma_pp(fTrack->GetPt());
  if((mass2 >= mean + (fDeuteronSigmaLeft*sigma)) && (mass2 <= (mean + fDeuteronSigmaRight*sigma))){
  -
  - // deuterons (sideband only)
  - if(fTrackCutsPart3->isSelected(fTrack)){
  -
  DeuteronParticles.push_back(*fTrack);
  fDeuteronMassSqTOF->Fill(fTrack->GetPt(),mass2);
  }
  - }
  -
  - }else{
  -
  // deuterons (all particles)
  - if(fTrackCutsPart3->isSelected(fTrack)){
  -
  + }else{
  mass2 = CalculateMassSqTOF(fTrack);
  DeuteronParticles.push_back(*fTrack);
  fDeuteronMassSqTOF->Fill(fTrack->GetPt(),mass2);
  }
  }
  + // antideuterons
  + if(fTrackCutsPart4->isSelected(fTrack)){
  +
  + // antideuterons (sideband only)
  if(fDeuteronSideband){
  mass2 = CalculateMassSqTOF(fTrack);
  @@ -472,20 +471,11 @@ void AliAnalysisTaskLeuteronAOD::UserExec(Option_t *){
  sigma = GetAntideuteronMass2Sigma_pp(fTrack->GetPt());
  if((mass2 >= mean + (fAntideuteronSigmaLeft*sigma)) && (mass2 <= mean + (fAntideuteronSigmaRight*sigma))){
  -
  - // antideuterons (sideband only)
  - if(fTrackCutsPart4->isSelected(fTrack)){
  -
  AntideuteronParticles.push_back(*fTrack);
  fAntideuteronMassSqTOF->Fill(fTrack->GetPt(),mass2);
  }
  - }
  -
  - }else{
  -
  // antideuterons (all particles)
  - if(fTrackCutsPart4->isSelected(fTrack)){
  -
  + }else{
  mass2 = CalculateMassSqTOF(fTrack);
  AntideuteronParticles.push_back(*fTrack);
  fAntideuteronMassSqTOF->Fill(fTrack->GetPt(),CalculateMassSqTOF(fTrack));
  