]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GetPythiaParticleName removed.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Nov 2002 17:39:10 +0000 (17:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Nov 2002 17:39:10 +0000 (17:39 +0000)
EMCAL/AliEMCALJetFinder.cxx
EMCAL/AliEMCALJetFinder.h

index e39c00d8b626af29dbf7d61683eaea0e25361b54..90a166147197769d052e070c11cbab428bcd44a6 100644 (file)
@@ -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; 
-}
index 470b68ed6d395f3958d3e64bb858c43748b69bcb..bf12e29ecd76799d7e5f47da8140122f9233b531 100644 (file)
@@ -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);