#include "hmdc34clfinder.h"

HMdc34ClFinderSec


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

class HMdc34ClFinderSec : public TObject

Inheritance Chart:
TObject
<-
HMdc34ClFinderSec

    protected:
void calcClusterSeg2(Int_t nBinF) Int_t calcYbin(Int_t upDo, Int_t leRi, Int_t cell) void clearPrMod(Int_t mod = -1) void clearPrSegTp2() Int_t findClustersSeg2() void makeLayProjV1(Int_t lay) void makeLayProjV1b(Int_t lay) void makeLayProjV2(Int_t lay) void makeModS2Plot(Int_t mod) void makeSeg2Plot() void makeSeg2PlotTp2() Int_t scanPlotSeg2() void setLayerVar(Int_t lay) Bool_t setNextCell() Bool_t setXLimits(Int_t ny, Short_t nx1, Short_t nx2) void setYLimits() Bool_t testMaxAmp() public:
HMdc34ClFinderSec(Int_t sec, Int_t inBinX, Int_t inBinY) HMdc34ClFinderSec(const HMdc34ClFinderSec&) ~HMdc34ClFinderSec() static TClass* Class() void clear() Int_t findClustersSeg2(HMdcSeg* fSeg, HMdcClus* fClus, Int_t* mBin = 0) Int_t findClustersSeg2(HMdcClus* fClus, Int_t* mBin = 0) Int_t getNBinX() Int_t getNBinY() TH2C* getPlot(Char_t* name, Char_t* title, Int_t ver = 0) HMdcProjPlot* getPlotSeg2() const HGeomVector& getTargetF() const const HGeomVector& getTargetL() const Int_t getTypeClFinder() virtual TClass* IsA() const Bool_t notEnoughWires() const HMdc34ClFinderSec& operator=(const HMdc34ClFinderSec&) HMdc34ClFinderMod& operator[](Int_t i) void printClusters() void setCellsList(HMdcSecListCells& event) void setMinBin(Int_t* mBin) void setTargetF(const HGeomVector& vec) void setTargetL(const HGeomVector& vec) void setTypeClFinder(Int_t type) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TObjArray* array array of pointers of type HMdc34ClFinderMod Int_t sector Int_t lMods[4] list of mdc's UChar_t mSeg[2] mSeg[0,1] -segment 0,1 static HKickPlane2* fkick HGeomVector target[2] The first & last points of tar. in coor.sys. of sec. HMdcProjPlot* prPlotSeg2 HGeomVector seg1[5] [0-3] -region, [4] - hit HGeomVector dirSeg1[5] dirSeg1[4] - errors of seg1[4] HGeomVector segOnKick[5] region of of HMdcSeg-hit on the kick plane Double_t al[4] Double_t bl[4] Double_t cl[4] Int_t nbX[4] Int_t minAmp[4] minAmp[2]-mdc3, minAmp[3]-mdc4 Int_t maxAmp[4] number of fired layes in MDC's Bool_t notEnoughWrs =kTRUE if segment has not enough fired wires Int_t nearbyBins[8] Lookup table for finding of nearby bins static HMdcClFnStack* stack stack static Short_t xMinClLines[300] static Short_t xMaxClLines[300] Int_t counter Counter of HMdcClus containers (loc[2]) Int_t indexPar Int_t indexFCh Int_t indexLCh Int_t* xCMin[4] for cleaning proj. plots Int_t* xCMax[4] [2] & [3] are using now Int_t* cXMinM current pointer to xCMin[mod] Int_t* cXMaxM -/- Int_t* xMinM2 =xMin[2] Int_t* xMaxM2 =xMax[2] UChar_t* cPlMod current mod.pr.plot HMdc34ClFinderMod* cFMod current module HMdc34ClFinderLayer* cFLay current layer Int_t nBinX X size of plot Int_t cell var. for making layers proj. Int_t nBinYM2 Int_t shUp Int_t shDown UChar_t add Int_t nYLinesM1 Short_t* xBin1L Short_t* xBin2L Int_t shUpN Int_t shDownN Bool_t test Int_t ny1 Int_t ny2 Int_t nbL Int_t nbF HCategory* fClusCat HLocation locClus Bool_t isGeant Int_t typeClFinder !=2 - cl.finding condition for each mdc Int_t realTypeClFinder =2 or 0 Double_t radToDeg =180./acso(-1) static HMdcList12GroupCells cLCells2[500] lists of cells in clusters Int_t nClsArr counter of clusters in arraies static Bool_t cStatus[500] =kFALSE - removed by merging static Short_t cNMergedClus[500] Number of merged clusters static Double_t cSumWt[500] sum weights of bins static Int_t cNBins[500] num. of bins in cluster static Double_t cX[500] clusters positions static Double_t cY[500] static Double_t cMeanX[500] var. for calculation of cluster shape static Double_t cMeanY[500] -/- static Double_t cMeanXX[500] -/- static Double_t cMeanYY[500] -/- static Double_t cMeanYX[500] -/- static Double_t cMeanXWt[500] position of cluster (calc. with weights) static Double_t cMeanYWt[500] -/- static Double_t cMeanXXWt[500] X dispersion static Double_t cMeanYYWt[500] Y dispersion

Class Description

 HMdc34ClFinder

 Track finder for outer segment MDC:
 Constructor:



HMdc34ClFinderSec(Int_t sec, Int_t inBinX, Int_t inBinY)
 constructor creates an array of pointers of type HMdc34ClFinderMod


~HMdc34ClFinderSec()
 destructor

void clear(void)

void setMinBin(Int_t *mBin)

Bool_t testMaxAmp(void)
 Calculating checking max.amplitude

Int_t findClustersSeg2(HMdcSeg* fSeg, HMdcClus* fClus, Int_t *mBin)

Int_t findClustersSeg2(HMdcClus* fClus, Int_t *mBin)

Int_t findClustersSeg2(void)

void clearPrMod(Int_t mod)

void clearPrSegTp2(void)

void makeModS2Plot(Int_t mod)
 Filling proj.plot for one MDC

void setLayerVar(Int_t lay)
 Setting of layer var. for filling proj.plot

Bool_t setNextCell(void)

void setYLimits(void)

Bool_t setXLimits(Int_t ny, Short_t nx1,Short_t nx2)
 Determination and testing X region for pr.plot filling

void makeLayProjV1(Int_t lay)
 plot filling and filled region determination

void makeLayProjV1b(Int_t lay)
 plot filling and filled region determination ofMDC4 in region determined
 in MDC3

void makeLayProjV2(Int_t lay)
 plot filling in filled regions only

void makeSeg2Plot(void)

void makeSeg2PlotTp2(void)

TH2C* getPlot(Char_t* name, Char_t* title,Int_t ver)

Int_t calcYbin(Int_t upDo, Int_t leRi, Int_t cell)
upDo=0 - up rib, =1 down rib

Int_t scanPlotSeg2(void)

void calcClusterSeg2(Int_t nBinF)

void printClusters(void)
 clusters.print();

void setCellsList(HMdcSecListCells& event)



Inline Functions


        HMdc34ClFinderMod& operator[](Int_t i)
                    Bool_t notEnoughWires() const
             HMdcProjPlot* getPlotSeg2()
                     Int_t getNBinX()
                     Int_t getNBinY()
                      void setTargetF(const HGeomVector& vec)
                      void setTargetL(const HGeomVector& vec)
        const HGeomVector& getTargetF() const
        const HGeomVector& getTargetL() const
                      void setTypeClFinder(Int_t type)
                     Int_t getTypeClFinder()
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
         HMdc34ClFinderSec HMdc34ClFinderSec(const HMdc34ClFinderSec&)
        HMdc34ClFinderSec& operator=(const HMdc34ClFinderSec&)


Last update: 07/02/2003 by V. Pechenov


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.