#include "hmdcseg.h"

HMdcSeg


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

class HMdcSeg : public HMdcCellGroup12

Inheritance Chart:
TObject
<-
HMdcCellGroup
<-
HMdcCellGroup12
<-
HMdcSeg
<-
HMdcSegSim
<-
HMdcSegIdeal

    public:
HMdcSeg() HMdcSeg(const HMdcSeg&) ~HMdcSeg() static TClass* Class() void Clear() Float_t getChi2() HSymMat& getCovariance() void getErrPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4) Float_t getErrPhi() Float_t getErrR() Float_t getErrTheta() Float_t getErrZ() Int_t getFlag() Int_t getHitInd(Int_t i) Int_t getIOSeg() void getPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4) Float_t getPhi() void getPhi(Float_t& ph, Float_t& err) Int_t getPol() Float_t getR() void getR(Float_t& rl, Float_t& err) Float_t getRprime() Int_t getSec() Float_t getTheta() void getTheta(Float_t& th, Float_t& err) void getThetaPhi(Float_t& th, Float_t& ert, Float_t& ph, Float_t& erp) Float_t getZ() void getZ(Float_t& zl, Float_t& err) Float_t getZprime() void getZR(Float_t& zl, Float_t& erz, Float_t& rl, Float_t& err) virtual TClass* IsA() const HMdcSeg& operator=(const HMdcSeg&) void setChi2(const Float_t chl) void setFlag(const Int_t fl) void setHitInd(Int_t i, Int_t idx) void setIOSeg(Int_t seg) void setPar(const Float_t zl, const Float_t ezl, const Float_t rl, const Float_t erl, const Float_t th, const Float_t eth, const Float_t ph, const Float_t eph) void setPar(const Float_t zl, const Float_t rl, const Float_t th, const Float_t ph) void setPhi(const Float_t ph, const Float_t err) void setPhi(const Float_t ph) void setPol(Int_t pol) void setR(const Float_t rl, const Float_t err) void setR(const Float_t rl) void setRprime(const Float_t rpr) void setSec(Int_t sec) void setTheta(const Float_t th, const Float_t err) void setTheta(const Float_t th) void setThetaPhi(const Float_t th, const Float_t ert, const Float_t ph, const Float_t erp) void setZ(const Float_t zl, const Float_t err) void setZ(const Float_t zl) void setZprime(const Float_t zpr) void setZR(const Float_t zl, const Float_t erz, const Float_t rl, const Float_t err) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Float_t z z cordinate in sector coordinate sys. [mm] Float_t r r coordinate in sector coordinate sys. [mm] Float_t theta polar angle theta in sector coordinate sys. [radian] Float_t phi azimuthal angle phi in sector coordinate sys. [radian] Float_t chi2 chi square per degree of freedom Int_t flag user flag HSymMat4 cov covariance matrix 4x4 in sector system UInt_t ind index for sector/inner-outer segment/hit index Float_t zPrime z cordinate wrt axis centered on target position Float_t rPrime r coordinate wrt axis centered on target position

Class Description


  HMdcSeg

 This is the SEGment class of MDC. This data
 container holds the information about a straight
 track let between a pair of MDCs. The coordinate systems
 corresponds to the sector coordinate system.
 Besides the parametrization of a straight line (z,r,theta,phi)
 the object contains the Chi2 from the fitter (normalized to
 the number of dgree of freedom) and the covariance
 matrix for the errors.
 A parametrization of the straight line through the middle of
 the target can be retrieved from the variables (zprime,rprime,theta,phi).

 With Int_t ind getHitInd(Int_t i) one can obtain
 the index number of the two HMdcHits objects in the Hit category.
 If a Hit doesn't exist -1 is returned.
 Int_t getIOSeg(void) gives 0 for inner segment
 (MDCI+MDCII) and 1 for outer segment (MDCIII+MDCIV).
 This object derives from HMdcCellGroup12, so the information
 of the wires contributing to the Segment can be obtained.




HMdcSeg(void)

~HMdcSeg(void)

void Clear(void)
 reset data members to default values

void Streamer(TBuffer &R__b)
 Stream an object of class HMdcSeg (customized)



Inline Functions


               void setZ(const Float_t zl, const Float_t err)
               void setR(const Float_t rl, const Float_t err)
               void setTheta(const Float_t th, const Float_t err)
               void setPhi(const Float_t ph, const Float_t err)
               void setZR(const Float_t zl, const Float_t erz, const Float_t rl, const Float_t err)
               void setThetaPhi(const Float_t th, const Float_t ert, const Float_t ph, const Float_t erp)
               void setPar(const Float_t zl, const Float_t ezl, const Float_t rl, const Float_t erl, const Float_t th, const Float_t eth, const Float_t ph, const Float_t eph)
               void setZ(const Float_t zl)
               void setR(const Float_t rl)
               void setTheta(const Float_t th)
               void setPhi(const Float_t ph)
               void setPar(const Float_t zl, const Float_t rl, const Float_t th, const Float_t ph)
               void setZprime(const Float_t zpr)
               void setRprime(const Float_t rpr)
               void setChi2(const Float_t chl)
               void setFlag(const Int_t fl)
               void setSec(Int_t sec)
               void setIOSeg(Int_t seg)
               void setPol(Int_t pol)
               void setHitInd(Int_t i, Int_t idx)
            Float_t getZ()
            Float_t getR()
            Float_t getTheta()
            Float_t getPhi()
            Float_t getErrZ()
            Float_t getErrR()
            Float_t getErrTheta()
            Float_t getErrPhi()
            Float_t getZprime()
            Float_t getRprime()
               void getZ(Float_t& zl, Float_t& err)
               void getR(Float_t& rl, Float_t& err)
               void getTheta(Float_t& th, Float_t& err)
               void getPhi(Float_t& ph, Float_t& err)
               void getZR(Float_t& zl, Float_t& erz, Float_t& rl, Float_t& err)
               void getThetaPhi(Float_t& th, Float_t& ert, Float_t& ph, Float_t& erp)
               void getPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4)
               void getErrPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4)
            Float_t getChi2()
           HSymMat& getCovariance()
              Int_t getFlag()
              Int_t getSec()
              Int_t getIOSeg()
              Int_t getPol()
              Int_t getHitInd(Int_t i)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
            HMdcSeg HMdcSeg(const HMdcSeg&)
           HMdcSeg& operator=(const HMdcSeg&)


Author: R.Schicker
Last update: M. Sanchez (8.06.2000)


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.