TGeoTranslation


class description - source file - inheritance tree

class TGeoTranslation : public TGeoMatrix


    public:
TGeoTranslation() TGeoTranslation(Double_t dx, Double_t dy, Double_t dz) TGeoTranslation(const char* name, Double_t dx, Double_t dy, Double_t dz) TGeoTranslation(const TGeoTranslation&) virtual ~TGeoTranslation() void Add(TGeoTranslation* other) static TClass* Class() virtual const Double_t* GetRotationMatrix() const virtual const Double_t* GetScale() const virtual const Double_t* GetTranslation() const virtual TClass* IsA() const virtual void LocalToMaster(const Double_t* local, Double_t* master) const virtual void LocalToMasterBomb(const Double_t* local, Double_t* master) const virtual void LocalToMasterVect(const Double_t* local, Double_t* master) const virtual void MasterToLocal(const Double_t* master, Double_t* local) const virtual void MasterToLocalBomb(const Double_t* master, Double_t* local) const virtual void MasterToLocalVect(const Double_t* master, Double_t* local) const void SetDx(Double_t dx) void SetDy(Double_t dy) void SetDz(Double_t dz) void SetTranslation(Double_t dx, Double_t dy, Double_t dz) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void Subtract(TGeoTranslation* other)

Data Members


    protected:
Double_t fTranslation[3] translation vector

Class Description

 Geometrical transformation package





/*

*/


TGeoTranslation()
 Default constructor

TGeoTranslation(Double_t dx, Double_t dy, Double_t dz) :TGeoMatrix("")
 Default constructor defining the translation

TGeoTranslation(const char *name, Double_t dx, Double_t dy, Double_t dz) :TGeoMatrix(name)
 Default constructor defining the translation

void Add(TGeoTranslation *other)
 Adding a translation to this one

void Subtract(TGeoTranslation *other)
 Subtracting a translation from this one

void SetTranslation(Double_t dx, Double_t dy, Double_t dz)
 Set translation components

void LocalToMaster(const Double_t *local, Double_t *master) const
 convert a point by multiplying its column vector (x, y, z, 1) to matrix inverse

void LocalToMasterVect(const Double_t *local, Double_t *master) const
 convert a vector to MARS

void LocalToMasterBomb(const Double_t *local, Double_t *master) const
 convert a point by multiplying its column vector (x, y, z, 1) to matrix inverse

void MasterToLocal(const Double_t *master, Double_t *local) const
 convert a point by multiplying its column vector (x, y, z, 1) to matrix

void MasterToLocalVect(const Double_t *master, Double_t *local) const
 convert a vector from MARS to local

void MasterToLocalBomb(const Double_t *master, Double_t *local) const
 convert a point by multiplying its column vector (x, y, z, 1) to matrix



Inline Functions


                   void SetDx(Double_t dx)
                   void SetDy(Double_t dy)
                   void SetDz(Double_t dz)
        const Double_t* GetTranslation() const
        const Double_t* GetRotationMatrix() const
        const Double_t* GetScale() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        TGeoTranslation TGeoTranslation(const TGeoTranslation&)
                   void ~TGeoTranslation()


Author: Andrei Gheata 25/10/01
Last update: root/geom:$Name: $:$Id: TGeoMatrix.cxx,v 1.7 2003/05/07 14:21:56 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.