message: AliFemto: more bug fixes in NanoAOD rader
diff: @@ -413,13 +413,28 @@ AliFemtoEvent *AliFemtoEventReaderNanoAOD::CopyAODtoFemtoEvent()
  norm_mult = tracksPrim;
  - string multString = "MultSelection."+fEstEventMult;
  - int nMultString = multString.length();
  - char multChar[nMultString + 1];
  - strcpy(multChar, multString.c_str());
  -
  - static const Int_t kRefMult = fAODheader->GetVarIndex(multChar);
  + if(fEstEventMult == "RefMult08")
  + {
  + static const Int_t kRefMult = fAODheader->GetVarIndex("MultSelection.RefMult08");
  norm_mult = fAODheader->GetVar(kRefMult);
  + }
  + else if(fEstEventMult == "TRK")
  + {
  + norm_mult = 10*fAODheader->GetCentr("TRK");
  + }
  + else if(fEstEventMult == "CL0")
  + {
  + norm_mult = 10*fAODheader->GetCentr("CL0");
  + }
  + else if(fEstEventMult == "CL1")
  + {
  + norm_mult = 10*fAODheader->GetCentr("CL0");
  + }
  + else if(fEstEventMult == "V0M")
  + {
  + norm_mult = 10*fAODheader->GetCentr("V0M");
  + }
  +
  tEvent->SetNormalizedMult(norm_mult);
  AliFemtoTrack *trackCopy = CopyAODtoFemtoTrack(aodtrack);
  @@ -457,7 +472,6 @@ AliFemtoEvent *AliFemtoEventReaderNanoAOD::CopyAODtoFemtoEvent()
  const float nsigmaTPCP = aodtrack->GetVar(kcstNSigmaTPCPr);
  const float nsigmaTPCE = aodtrack->GetVar(kcstNSigmaTPCE);
  -
  trackCopy->SetNSigmaTPCPi(nsigmaTPCPi);
  trackCopy->SetNSigmaTPCK(nsigmaTPCK);
  trackCopy->SetNSigmaTPCP(nsigmaTPCP);
  