message: change mass selection fot kAny
diff: @@ -1902,6 +1902,9 @@ bool AliAnalysisTaskCharmingFemto::IsMassSelected(const double mass,
  double upperDstarRemoval,
  CollSystem system) {
  + if (selection == kAny) {
  + return true;
  + }
  if (selection == kSideband) {
  if (pdg == 411)
  @@ -1911,14 +1914,6 @@ bool AliAnalysisTaskCharmingFemto::IsMassSelected(const double mass,
  else
  printf("charmed hadron with pdg %d not implemented!", pdg);
  exit(1);
  - } else if (selection == kAny) {
  - if (pdg == 411)
  - return IsMassSelected(mass, pt, pdg, kSignal, nSigmaSignal, nSigmaOffset, sidebandWidth, lowerDstarRemoval, upperDstarRemoval, system) || IsMassSelected(mass, pt, pdg, kSidebandLeft, nSigmaSignal, nSigmaOffset, sidebandWidth, lowerDstarRemoval, upperDstarRemoval, system) || IsMassSelected(mass, pt, pdg, kSidebandRight, nSigmaSignal, nSigmaOffset, sidebandWidth, lowerDstarRemoval, upperDstarRemoval, system);
  - else if (pdg == 413)
  - return IsMassSelected(mass, pt, pdg, kSignal, nSigmaSignal, nSigmaOffset, sidebandWidth, lowerDstarRemoval, upperDstarRemoval, system) || IsMassSelected(mass, pt, pdg, kSidebandRight, nSigmaSignal, nSigmaOffset, sidebandWidth, lowerDstarRemoval, upperDstarRemoval, system);
  - else
  - printf("charmed hadron with pdg %d not implemented!", pdg);
  - exit(1);
  }
  // simple parametrisation from D+ in 5.02 TeV
  