library: libEGPythia6 #include "TMCParticle6.h"

# TMCParticle

class description - source file - inheritance tree (.ps)

## class TMCParticle : public TObject, public TAttLine

| Inheritance Chart:

`TObject`

`TAttLine`

<-

`TMCParticle`

        public:

                              TMCParticle()
                              TMCParticle(Int_t kS, Int_t kF, Int_t parent, Int_t firstchild, Int_t lastchild, Float_t px, Float_t py, Float_t pz, Float_t energy, Float_t mass, Float_t vx, Float_t vy, Float_t vz, Float_t time, Float_t lifetime)
                              TMCParticle(const TMCParticle&)
                      virtual ~TMCParticle()
               static TClass* Class()
                      Float_t GetEnergy() const
                        Int_t GetFirstChild() const
                        Int_t GetKF() const
                        Int_t GetKS() const
                        Int_t GetLastChild() const
                      Float_t GetLifetime() const
                      Float_t GetMass() const
          virtual const char* GetName() const
                        Int_t GetParent() const
                      Float_t GetPx() const
                      Float_t GetPy() const
                      Float_t GetPz() const
                      Float_t GetTime() const
                      Float_t GetVx() const
                      Float_t GetVy() const
                      Float_t GetVz() const
              virtual TClass* IsA() const
                 virtual void ls(Option_t* option) const
                 TMCParticle& operator=(const TMCParticle&)
                 virtual void SetEnergy(Float_t energy)
                 virtual void SetFirstChild(Int_t first)
                 virtual void SetKF(Int_t kF)
                 virtual void SetKS(Int_t kS)
                 virtual void SetLastChild(Int_t last)
                 virtual void SetLifetime(Float_t lifetime)
                 virtual void SetMass(Float_t mass)
                 virtual void SetParent(Int_t parent)
                 virtual void SetPx(Float_t px)
                 virtual void SetPy(Float_t py)
                 virtual void SetPz(Float_t pz)
                 virtual void SetTime(Float_t time)
                 virtual void SetVx(Float_t vx)
                 virtual void SetVy(Float_t vy)
                 virtual void SetVz(Float_t vz)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

            Int_t fKS          status of particle       ( LUJETS K[1] )
            Int_t fKF          KF flavour code          ( LUJETS K[2] )
            Int_t fParent      parrent's id             ( LUJETS K[3] )
            Int_t fFirstChild  id of first child        ( LUJETS K[4] )
            Int_t fLastChild   id of last  child        ( LUJETS K[5] )
          Float_t fPx          X momenta [GeV/c]        ( LUJETS P[1] )
          Float_t fPy          Y momenta [GeV/c]        ( LUJETS P[2] )
          Float_t fPz          Z momenta [GeV/c]        ( LUJETS P[3] )
          Float_t fEnergy      Energy    [GeV]          ( LUJETS P[4] )
          Float_t fMass        Mass      [Gev/c^2]      ( LUJETS P[5] )
          Float_t fVx          X vertex  [mm]           ( LUJETS V[1] )
          Float_t fVy          Y vertex  [mm]           ( LUJETS V[2] )
          Float_t fVz          Z vertex  [mm]           ( LUJETS V[3] )
          Float_t fTime        time of procuction [mm/c]( LUJETS V[4] )
          Float_t fLifetime    proper lifetime [mm/c]   ( LUJETS V[5] )

## Class Description

      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.

void ls(Option_t *) const

const char* GetName() const

     Return name of this particle via Pythia

### Inline Functions

                    void ~TMCParticle()
             TMCParticle TMCParticle()
             TMCParticle TMCParticle(Int_t kS, Int_t kF, Int_t parent, Int_t firstchild, Int_t lastchild, Float_t px, Float_t py, Float_t pz, Float_t energy, Float_t mass, Float_t vx, Float_t vy, Float_t vz, Float_t time, Float_t lifetime)
                   Int_t GetKS() const
                   Int_t GetKF() const
                   Int_t GetParent() const
                   Int_t GetFirstChild() const
                   Int_t GetLastChild() const
                 Float_t GetPx() const
                 Float_t GetPy() const
                 Float_t GetPz() const
                 Float_t GetEnergy() const
                 Float_t GetMass() const
                 Float_t GetVx() const
                 Float_t GetVy() const
                 Float_t GetVz() const
                 Float_t GetTime() const
                 Float_t GetLifetime() const
                    void SetKS(Int_t kS)
                    void SetKF(Int_t kF)
                    void SetParent(Int_t parent)
                    void SetFirstChild(Int_t first)
                    void SetLastChild(Int_t last)
                    void SetPx(Float_t px)
                    void SetPy(Float_t py)
                    void SetPz(Float_t pz)
                    void SetEnergy(Float_t energy)
                    void SetMass(Float_t mass)
                    void SetVx(Float_t vx)
                    void SetVy(Float_t vy)
                    void SetVz(Float_t vz)
                    void SetTime(Float_t time)
                    void SetLifetime(Float_t lifetime)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
             TMCParticle TMCParticle(const TMCParticle&)
            TMCParticle& operator=(const TMCParticle&)

Author: Piotr Golonka 17/09/97
Last update: root/pythia6:$Name: $:$Id: TMCParticle6.cxx,v 1.2 2000/12/13 15:13:53 brun Exp $