From: morsch Date: Fri, 15 Nov 2002 17:39:10 +0000 (+0000) Subject: GetPythiaParticleName removed. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=e27cda1109c6c05d77e91888ceb1d160dacff47d GetPythiaParticleName removed. --- diff --git a/EMCAL/AliEMCALJetFinder.cxx b/EMCAL/AliEMCALJetFinder.cxx index e39c00d8b62..90a16614719 100644 --- a/EMCAL/AliEMCALJetFinder.cxx +++ b/EMCAL/AliEMCALJetFinder.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.26 2002/10/14 14:55:35 hristov +Merging the VirtualMC branch to the main development branch (HEAD) + Revision 1.20.4.3 2002/10/10 15:07:49 hristov Updating VirtualMC to v3-09-02 @@ -1083,10 +1086,6 @@ void AliEMCALJetFinder::FillFromParticles() // see pyedit in Pythia's text geantPdg = mpart; -// Int_t kc = pycomp_(&mpart); -// TString name = GetPythiaParticleName(mpart); - // printf(" mpart %6.6i;kc %6.6i -> gid %3.3i",mpart,kc,geantPdg); - //printf(" (%s)\n", name.Data()); if (IsThisPartonsOrDiQuark(mpart)) continue; printf("%5i: %5i(%2i) px %5.1f py %5.1f pz %6.1f e %6.1f childs %5i,%5i \n", part, mpart, geantPdg, px, py, pz, e, child1, child2); @@ -1672,17 +1671,3 @@ Bool_t AliEMCALJetFinder::IsThisPartonsOrDiQuark(Int_t pdg) return kFALSE; } -TString &AliEMCALJetFinder::GetPythiaParticleName(Int_t kf) -{// see subroutine PYNAME in PYTHIA - static TString sname; - char name[16]; - pyname_(&kf, name, 16); - for(Int_t i=0; i<16; i++){ - if(name[i] == ' ') { - name[i] = '\0'; - break; - } - } - sname = name; - return sname; -} diff --git a/EMCAL/AliEMCALJetFinder.h b/EMCAL/AliEMCALJetFinder.h index 470b68ed6d3..bf12e29ecd7 100644 --- a/EMCAL/AliEMCALJetFinder.h +++ b/EMCAL/AliEMCALJetFinder.h @@ -88,7 +88,6 @@ class AliEMCALJetFinder : public TTask { void DrawLegoEMCAL(Char_t *opt="lego"); // *MENU* void DrawLegos(); // *MENU* Bool_t IsThisPartonsOrDiQuark(Int_t pdg); - TString &GetPythiaParticleName(Int_t kf); // I/O virtual void SetOutputFileName(char* name) {fOutFileName = name;} virtual void FillFromHits(Int_t flag = 0);