TPrimary


class description - source file - inheritance tree

class TPrimary : public TObject, public TAttLine


    public:
TPrimary TPrimary() TPrimary TPrimary(Int_t part, Int_t first, Int_t second, Int_t gener, Double_t px, Double_t py, Double_t pz, Double_t etot, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t timend, Text_t* type) TPrimary TPrimary(TPrimary&) virtual void ~TPrimary() TClass* Class() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) virtual Int_t GetFirstMother() virtual Int_t GetGeneration() virtual const Text_t* GetName() virtual const TAttParticle* GetParticle() virtual Int_t GetSecondMother() virtual Double_t GetTime() virtual Double_t GetTimeEnd() virtual const Text_t* GetTitle() virtual Double_t GetTotalEnergy() virtual const Text_t* GetType() virtual Double_t GetXMomentum() virtual Double_t GetXPosition() virtual Double_t GetYMomentum() virtual Double_t GetYPosition() virtual Double_t GetZMomentum() virtual Double_t GetZPosition() virtual Bool_t Is3D() virtual TClass* IsA() virtual void Paint(Option_t* option) virtual void Print(Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fPart Particle id produced Int_t fFirstMother Index of the first mother particle Int_t fSecondMother Index of the second mother particle(if any) Int_t fGeneration Generation flag: last gen. (0) or not (1) or ghost (2) Double_t fPx Momentum in x direction in GeV/c Double_t fPy Momentum in y direction in GeV/c Double_t fPz Momentum in z direction in GeV/c Double_t fEtot Total energy in GeV Double_t fVx Production vertex x position in user units Double_t fVy Production vertex y position in user units Double_t fVz Production vertex z position in user units Double_t fTime Time of particle production in user units Double_t fTimeEnd Time of particle destruction (always in the pp-cms!) TString fType Indicator of primary type

Class Description


TPrimary()
  Primary vertex particle default constructor


TPrimary(Int_t part, Int_t first, Int_t second, Int_t gener, Double_t px, Double_t py, Double_t pz, Double_t etot, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t timend, Text_t *type)
  TPrimary vertex particle normal constructor


~TPrimary()
   Primaray vertex particle default destructor


Int_t DistancetoPrimitive(Int_t px, Int_t py)
*-*-*-*-*-*-*-*Compute distance from point px,py to a primary track*-*-*-*
*-*            ====================================================
*-*
*-*  Compute the closest distance of approach from point px,py to each segment
*-*  of a track.
*-*  The distance is computed in pixels units.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

void ExecuteEvent(Int_t, Int_t, Int_t)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
*-*                  =========================================

const Text_t* GetName() const

const TAttParticle* GetParticle() const
  returning a pointer to the particle attributes


const Text_t* GetTitle() const

void Paint(Option_t *option)
  Paint a primary track


void Print(Option_t *)
  Print the internals of the primary vertex particle


void Sizeof3D() const
*-*-*-*-*-*Return total X3D size of this primary*-*-*-*-*-*-*
*-*        =====================================



Inline Functions


                Int_t GetFirstMother()
                Int_t GetSecondMother()
                Int_t GetGeneration()
             Double_t GetXMomentum()
             Double_t GetYMomentum()
             Double_t GetZMomentum()
             Double_t GetTotalEnergy()
             Double_t GetXPosition()
             Double_t GetYPosition()
             Double_t GetZPosition()
             Double_t GetTime()
             Double_t GetTimeEnd()
        const Text_t* GetType()
               Bool_t Is3D()
              TClass* Class()
              TClass* IsA()
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
             TPrimary TPrimary(TPrimary&)


Author: Ola Nordmann 21/09/95
Last update: 1.03/09 08/12/97 21.08.44 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.