#include "hsurface.h"

HSurfPlaneTriV


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

class HSurfPlaneTriV : public HSurface

Inheritance Chart:
TObject
<-
HSurface
<-
HSurfPlaneTriV

    protected:
void calcC() public:
HSurfPlaneTriV() HSurfPlaneTriV(const HSurfPlaneTriV& pl) ~HSurfPlaneTriV() virtual void calcIntersection(const HGeomVector& r, const HGeomVector& alpha, HGeomVector& out) const static TClass* Class() virtual HSurface* clone() virtual Double_t distanceTo(const HGeomVector& v) virtual Int_t getParams(TArrayD& array) virtual TClass* IsA() const HSurfPlaneTriV& operator=(const HSurfPlaneTriV&) virtual void printTo(ostream& out) virtual void readFrom(istream& in) virtual Bool_t setParams(TArrayD& array) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fDzLimit[3] Double_t fDx Double_t fDz[3] Double_t fC[3] Plane equation: y=fDx*x + fDz*z + fC

Class Description

 HSurface
  The HSurface classes are used by the kickplane tracking to abstract
 the actual shape of the kickplane. This class declares a essential method
 calcIntersection which calculates the intersection of a straight line with the
 given surface.


HSurfPlaneTriV(void)

HSurfPlaneTriV(const HSurfPlaneTriV &pl)

HSurface* clone(void)

void printTo(ostream &out)

void readFrom(istream &in)

void calcC(void)

Double_t distanceTo(const HGeomVector &v)
This code needs a bit of explanation.
 For each subplane the point of closest approach is computed
 if this point is in the subplane, the corresponding distance is used
 If not a check is run to ensure the point is in the intersection
 between a plane and the previous, if so. The point of closest approach
 is recalculated and the distance computed

void calcIntersection(const HGeomVector &r,const HGeomVector &alpha, HGeomVector &out) const
Calculates the intersenction of a straight line with this plane and puts the result
in "out"



Inline Functions


                   void ~HSurfPlaneTriV()
                  Int_t getParams(TArrayD& array)
                 Bool_t setParams(TArrayD& array)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        HSurfPlaneTriV& operator=(const HSurfPlaneTriV&)


Author: M. Sanchez (14/04/2000)
Last update: Fri Jan 26 12:35:03 2007


ROOT page - Class index - Class Hierarchy - 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.