From bc9b8218f9d4bc4a9fc5b488bb35cdc830d3712e Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Sat, 1 Jul 2000 08:36:21 +0000 Subject: [PATCH] renamed to TMCParticle6.cxx git-svn-id: http://root.cern.ch/svn/root/trunk@310 27541ba8-7e3a-0410-8455-c3a389f83636 --- pythia6/src/MCParticle6.cxx | 48 ------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 pythia6/src/MCParticle6.cxx diff --git a/pythia6/src/MCParticle6.cxx b/pythia6/src/MCParticle6.cxx deleted file mode 100644 index 33eaf2a78bf..00000000000 --- a/pythia6/src/MCParticle6.cxx +++ /dev/null @@ -1,48 +0,0 @@ -// @(#)root/pythia6:$Name$:$Id$ -// Author: Piotr Golonka 17/09/97 -//////////////////////////////////////////////////////////////////////////////// -// // -// class TMCParticle // -// // -// This class serves as a data storage for description of one particle. // -// It is especially convenient to store information taken from LUJETS common, // -// which is done by interface class TPythia. // -//////////////////////////////////////////////////////////////////////////////// - -#include "TMCParticle.h" -#include "TPrimary.h" - -#ifndef WIN32 -# define pyname pyname_ -extern "C" void pyname(const Int_t &kf, const char *name, const Int_t len); -#else -# define pyname PYNAME -extern "C" void pyname(const Int_t &kf, const char *name, const Int_t len); -#endif - -ClassImp(TMCParticle) - -//______________________________________________________________________________ -void TMCParticle::ls(Option_t *) -{ - printf("(%2i,%4i) <-%3i, =>[%3i,%3i]",fKS,fKF,fParent, - fFirstChild,fLastChild); - printf(": p=(%7.3f,%7.3f,%9.3f) ;",fPx,fPy,fPz); - - printf(" E=%8.3f ; m=%7.3f ; V=(%g,%g,%g); t=%g, tau=%g\n", - fEnergy,fMass,fVx,fVy,fVz,fTime,fLifetime); -} - -//______________________________________________________________________________ -const char *TMCParticle::GetName() const -{ - // Return name of this particle via Pythia - - static char name[20]; - pyname(fKF,name,16); name[15] = 0; - for (Int_t i=14;i>0;i--) { - if (name[i] != ' ') break; - name[i] = 0; - } - return name; -} -- GitLab