#include "hmdcsizescells.h"

HMdcSizesCellsSec


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

class HMdcSizesCellsSec : public TObject

Inheritance Chart:
TObject
<-
HMdcSizesCellsSec

    public:
HMdcSizesCellsSec(HMdcSizesCells* pSC, Int_t sec) HMdcSizesCellsSec(const HMdcSizesCellsSec&) ~HMdcSizesCellsSec() void calcRZToTargLine(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2, Double_t& zm, Double_t& r0) const static TClass* Class() const HGeomTransform* getLabTrans() const Int_t getNumOfTargets() const Int_t getSize() const HMdcSizesCells* getSizesCells() HGeomVector* getTarget(Int_t i) const HGeomVector& getTargetFirstPoint() const const HGeomVector& getTargetLastPoint() const const HGeomVector& getTargetMiddlePoint() const HGeomVector* getTargets() virtual TClass* IsA() const Bool_t modStatus(Int_t m) const HMdcSizesCellsSec& operator=(const HMdcSizesCellsSec&) HMdcSizesCellsMod& operator[](Int_t i) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Short_t sector Address TObjArray* array HMdcSizesCellsMod array HGeomTransform sysRLab Transformation sector<->lab.sys. Bool_t* mdcStatSec kTRUE - mdc exist Int_t numTargets number of targets HGeomVector* targets targets in coor.sys. of sector HGeomVector targ3p[3] [0] First point of target in sector coor.sys. HMdcSizesCells* pToSC Pointer to HMdcSizesCells object

Class Description


  HMdcSizesCells
  HMdcSizesCellsSec
  HMdcSizesCellsMod
  HMdcSizesCellsLayer
  HMdcSizesCellsCell

  Creating the container and geting the pointer to cont.:
  HMdcSizesCells* fSizesCells=HMdcSizesCells::getObject();

  Geting the pointer to cont. (without creating):
  HMdcSizesCells* fSizesCells=HMdcSizesCells::getExObject();

  Deleting of container:
  HMdcSizesCells::deleteCont();

  Container class keep volumes sizes of wires (2-points/wire)
  in coordinate system of sector and transformations layer<->mod,
  layer<->sec, ...
  It has same useful functions:
  HMdcSizesCellsCell
    Float_t getWireLength(void)

  HMdcSizesCellsLayer:
    HGeomTransform* getSecTrans();
    HGeomTransform* getModTrans();
    void transSecToRotLayer(HGeomVector& point);
    Double_t getAlpha(const HGeomVector& p1, const HGeomVector& p2);
    Double_t getDist(const HGeomVector& p1,
                     const HGeomVector& p2, Int_t cell);
    void getImpact(const HGeomVector& p1, const HGeomVector& p2,
                  Int_t cell, Double_t &alpha, Double_t &per);
    Double_t getImpact(Double_t x1,Double_t y1,Double_t z1,
        Double_t x2,Double_t y2,Double_t z2, Int_t cell, Double_t &alphaPerp);
    Bool_t getImpact(Double_t x1,Double_t y1,Double_t z1,
        Double_t x2, Double_t y2, Double_t z2,
        Int_t cell, Double_t &alphaDrDist, Double_t &driftDist);
    Int_t getCellNum(Double_t x, Double_t y):
      calculation the the cell number for the point x,y
      on the wire plane. (x,y - in coor. sys. of layer, z=0)
    Double_t getXSign(Double_t x1, Double_t y1, Double_t z1,
        Double_t x2, Double_t y2, Double_t z2, Int_t cell)
    Float_t getSignPath(Double_t x1,Double_t y1,Double_t z1,
        Double_t x2, Double_t y2, Double_t z2, Int_t cell);
    Float_t getSignPath(Double_t x1,Double_t y1,Double_t z1,
        Double_t x2, Double_t y2, Double_t z2, Int_t cell, Float_t& outside);

  HMdcSizesCellsMod:
    HGeomTransform* getSecTrans();

  HMdcSizesCellsSec:
    HGeomTransform* getLabTrans();

  HMdcSizesCells:
    Bool_t getCellVol(Int_t sec, Int_t mod, Int_t lay,
        Int_t cell, HMdcTrap& volCell);
    Char_t findReadOutSide(Int_t s,Int_t m,Int_t l,Int_t c)



HMdcSizesCells* getSizesCells(void)

HMdcSizesCellsSec(HMdcSizesCells* pSC, Int_t sec)
 constructor creates an array of pointers of type
 HMdcSizesCellsMod

~HMdcSizesCellsSec(void)
 destructor

Int_t getSize(void) const
 return the size of the pointer array

void calcRZToTargLine(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2, Double_t &zm, Double_t &r0) const
 Input and output are in sector coor.sys.



Inline Functions


           HMdcSizesCellsMod& operator[](Int_t i) const
        const HGeomTransform* getLabTrans() const
                       Bool_t modStatus(Int_t m) const
           const HGeomVector& getTargetFirstPoint() const
           const HGeomVector& getTargetMiddlePoint() const
           const HGeomVector& getTargetLastPoint() const
                        Int_t getNumOfTargets() const
                 HGeomVector* getTargets()
                 HGeomVector* getTarget(Int_t i)
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
            HMdcSizesCellsSec HMdcSizesCellsSec(const HMdcSizesCellsSec&)
           HMdcSizesCellsSec& operator=(const HMdcSizesCellsSec&)


Last update: Fri Jan 26 12:15:36 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.