#include "hkickplane.h"

HKickPlane


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

class HKickPlane : public HParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HKickPlane

    public:
HKickPlane(const char* name = "KickPlane", const char* title = "Parameter container for the kick plane", const char* context = "KickPlaneProduction") HKickPlane(const HKickPlane& pl) virtual ~HKickPlane() Bool_t calcIntersection(const HGeomVector& r, const HGeomVector& alpha, HGeomVector& out) const static TClass* Class() virtual void clear() Double_t distanceTo(const HGeomVector& v) Double_t getFieldStrength() static HKickPlane* getMDC3() static HKickPlane* getMeta() Double_t getPt(const HGeomVector& pos, Double_t& err, const Int_t polarity = +1) Double_t getPtPhi(const HGeomVector& pos, Double_t& err, const Int_t polarity = +1) virtual Bool_t init(HParIo* inp, Int_t* set) void initParams() virtual TClass* IsA() const HKickPlane& operator=(const HKickPlane&) Bool_t read(fstream* pFile, Int_t* set, Int_t inputNumber) void readFrom(const HKickPlane& pl) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t write(HParIo* io) Int_t writeFile(fstream* pFile)

Data Members


    protected:
HSurface* fSurface Kick plane's surface. Double_t fScaleFactor Field scaling HKickGrid fPtGrid Grid for Pt HKickGrid fPtPhiGrid Grid for Pt for phi deflection HKickGrid fPtGridNeg Grid for Pt and neg. parts HKickGrid fPtPhiGridNeg Grid for Pt for phi deflection and neg. parts

Class Description

 HKickPlane

  Descriptor of the magnetic kick plane of HADES.
  Contains a parametrization of the kick plane itself as well as
 parametrization of the momentum kicks in X and Y directions as a function of
 the position in the kick plane.


HKickPlane* getMDC3(void)

HKickPlane* getMeta(void)

HKickPlane(const char* name,const char* title, const char* context) : HParSet(name,title,context)
Default constructor

HKickPlane(const HKickPlane &pl)

~HKickPlane(void)

void initParams(void)
Initializes the kick plane's parameters
HSurfXCilinder *surf=new HSurfXCilinder;
surf->setParams(-2.51805e-4, -0.885812, 1442.78);
  HSurfPlane *surf =new HSurfPlane;
surf->setParams(0.0,-0.7933,1392.67);
  fSurface=surf;

Double_t getPt(const HGeomVector &pos,Double_t &err, const Int_t polarity)

Double_t getPtPhi(const HGeomVector &pos,Double_t &err,const Int_t polarity)

void clear(void)
Clears the container

Bool_t init(HParIo *inp, Int_t *set)
See HParSet::init

Int_t write(HParIo *io)
See HParSet::write

Int_t writeFile(fstream *pFile)

void readFrom(const HKickPlane &pl)

Bool_t read(fstream *pFile,Int_t* set,Int_t inputNumber)



Inline Functions


           Double_t getFieldStrength()
           Double_t distanceTo(const HGeomVector& v)
             Bool_t calcIntersection(const HGeomVector& r, const HGeomVector& alpha, HGeomVector& out) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        HKickPlane& operator=(const HKickPlane&)


Author: M. Sanchez (14/02/2000)
Last update: Fri Jan 26 11:58:29 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.