message: SPecific decay length settings for charm and beauty
diff: @@ -242,8 +242,10 @@ void AliAnalysisTaskCheckGenKine::UserCreateOutputObjects() {
  fNumOfDau[j]->GetYaxis()->SetBinLabel(4,"From transport, decay transport");
  fNumOfDau[j]->GetYaxis()->SetBinLabel(5,"From transport, interaction transport");
  fNumOfDau[j]->GetYaxis()->SetBinLabel(6,"Ohter");
  - fDecLen[j] = new TH2F(TString::Format("hDecLen%s",pname.Data())," ; p (GeV/c) ; decay length (cm)",100,0.,20.,500,0.,10.);
  - fCt[j] = new TH2F(TString::Format("hCt%s",pname.Data())," ; p (GeV/c) ; ct (cm)",100,0.,20.,500,0.,10.);
  + Double_t maxDL=20.;
  + if((fPdgCodes[j]>400 && fPdgCodes[j]<600) || (fPdgCodes[j]>4000 && fPdgCodes[j]<6000)) maxDL=2.;
  + fDecLen[j] = new TH2F(TString::Format("hDecLen%s",pname.Data())," ; p (GeV/c) ; decay length (cm)",100,0.,20.,200,0.,maxDL);
  + fCt[j] = new TH2F(TString::Format("hCt%s",pname.Data())," ; p (GeV/c) ; ct (cm)",100,0.,20.,200,0.,maxDL);
  fMassDiff[j] = new TH2F(TString::Format("hMassDiff%s",pname.Data())," ; (M_{mother} - M_{daughters})/ M_{mother}",101,-0.0505,0.0505,3,-0.5,2.5);
  fMomDiff[j] = new TH2F(TString::Format("hMomDiff%s",pname.Data())," ; (p_{mother} - p_{daughters})/ p_{mother}",101,-0.0505,0.0505,3,-0.5,2.5);
  