message: slehner: add MCGenerator info to support histograms
diff: @@ -1390,6 +1390,7 @@ void AliAnalysisTaskElectronEfficiencyV2::FillTrackHistograms(AliVParticle* t
  // std::cout << "SITS manager = " << values[AliDielectronVarManager::kNclsSITS] << std::endl;
  // std::cout << "TPCnSig manager = " << values[AliDielectronVarManager::kTPCnSigmaEle] << std::endl;
  // std::cout << fOutputListSupportHistos << std::endl;
  + TString genname;
  (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(0)))->Fill(values[AliDielectronVarManager::kPt]);//hPt (reco)
  (dynamic_cast<TH2D *>(fOutputListSupportHistos->At(1)))->Fill(values[AliDielectronVarManager::kP], values[AliDielectronVarManager::kITSnSigmaEle]);
  (dynamic_cast<TH2D *>(fOutputListSupportHistos->At(2)))->Fill(values[AliDielectronVarManager::kPIn], values[AliDielectronVarManager::kTPCnSigmaEle]);
  @@ -1415,6 +1416,8 @@ void AliAnalysisTaskElectronEfficiencyV2::FillTrackHistograms(AliVParticle* t
  // (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(21)))->Fill(values[AliDielectronVarManager::kPdgCode]);
  (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(21)))->Fill(mcTrack->PdgCode());
  (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(22)))->Fill( (fMC->GetTrack(TMath::Abs(mcTrack->GetMother())))->PdgCode());
  + if(fMC->GetCocktailGenerator(TMath::Abs(track->GetLabel()), genname)) (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(23)))->Fill( genname,1);
  + else (dynamic_cast<TH1D *>(fOutputListSupportHistos->At(23)))->Fill( "none",1);
  }
  @@ -1596,7 +1599,8 @@ void AliAnalysisTaskElectronEfficiencyV2::CreateSupportHistos()
  // TH2D* hPDGCode_PDGCodeMother = new TH2D("PDGCode_PDGCodeMother",";PDG code;PDG code Mother",
  // 10001,-5000,5000,10001,-5000,5000);//,AliDielectronVarManager::kPt,AliDielectronVarManager::kNFclsTPCr);
  // fOutputListSupportHistos->AddAt(hPDGCode_PDGCodeMother, 21);
  -
  + TH1D* hMCGenCode = new TH1D("MCGenerator","MCGenerator;#tracks",1, 0, 0);//.,AliDielectronVarManager::kTPCsignalN); //kNclsTPCdEdx
  + fOutputListSupportHistos->AddAt(hMCGenCode, 23);
  }
  