#ifndef ROOT_TPrimary
#define ROOT_TPrimary
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#ifndef ROOT_TAtt3D
#include "TAtt3D.h"
#endif
#ifndef ROOT_X3DBuffer
#include "X3DBuffer.h"
#endif
class TAttParticle;
class TPrimary : public TObject, public TAttLine, public TAtt3D {
protected:
Int_t fPart;
Int_t fFirstMother;
Int_t fSecondMother;
Int_t fGeneration;
Double_t fPx;
Double_t fPy;
Double_t fPz;
Double_t fEtot;
Double_t fVx;
Double_t fVy;
Double_t fVz;
Double_t fTime;
Double_t fTimeEnd;
TString fType;
public:
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, const char *type = "");
virtual ~TPrimary();
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
virtual const TAttParticle *GetParticle() const;
virtual const char *GetName() const;
virtual const char *GetTitle() const;
virtual Int_t GetFirstMother() const { return fFirstMother; }
virtual Int_t GetSecondMother() const { return fSecondMother; }
virtual Int_t GetGeneration() const { return fGeneration; }
virtual Double_t GetXMomentum() const { return fPx; }
virtual Double_t GetYMomentum() const { return fPy; }
virtual Double_t GetZMomentum() const { return fPz; }
virtual Double_t GetTotalEnergy() const { return fEtot; }
virtual Double_t GetXPosition() const { return fVx; }
virtual Double_t GetYPosition() const { return fVy; }
virtual Double_t GetZPosition() const { return fVz; }
virtual Double_t GetTime() const { return fTime; }
virtual Double_t GetTimeEnd() const { return fTimeEnd; }
virtual const char *GetType() const { return fType.Data(); }
virtual void Paint(Option_t *option = "");
virtual void Print(Option_t *option = "") const;
virtual void Sizeof3D() const;
ClassDef(TPrimary,1)
};
#endif
Last change: Wed Jun 25 08:50:54 2008
Last generated: 2008-06-25 08:50
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.