#include "hmdclookuptb.h"

HMdcLookUpTbSec


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

class HMdcLookUpTbSec : public TObject

Inheritance Chart:
TObject
<-
HMdcLookUpTbSec

    protected:
void addBinInCluster(Int_t nBin, Char_t wt) void calcClParam() void calcMaxAmp() void clearPrArrs() void clearPrMod(Int_t mod) void fillClusCat(Int_t mod, Int_t segp, Int_t tpClFndr) void fillWiresList(Int_t mod, HMdcList12GroupCells& list) void findClusInMod(Int_t mod, Short_t minAm) void findClusInSec(Short_t minAm) void findClusInSeg(Int_t seg, Short_t minAm) void findClusInSeg1() Int_t getClusterSlot(Int_t seg, HMdcList12GroupCells& list) void initCluster(Int_t nBin) void initClusterT2(Int_t nBin) void makeLayProjV1(Int_t layer, Int_t indLay) void makeLayProjV1b(Int_t layer, Int_t indLay) void makeLayProjV2(Int_t layer, Int_t indLay) void makeModPlot(Int_t mod, Int_t minAm) void makeSPlot() void mergeClusInMod(Int_t mod) void mergeClusInSec() void mergeClusInSeg() void mergeClusMod1to2() void scanPlotInMod(Int_t mod) void scanPlotInSeg1(Int_t seg, UChar_t* plotBAr) void setCurrentArray(HMdcCluster* clArr, Int_t* nClArr) void testClusMod12toSeg() public:
HMdcLookUpTbSec(Int_t sec, Int_t nSegs, Int_t inBinX, Int_t inBinY) HMdcLookUpTbSec(const HMdcLookUpTbSec&) ~HMdcLookUpTbSec() static TClass* Class() void clearwk() void deleteHit(Short_t mod, Short_t layer, Short_t cell, Short_t nTime) TH2C* fillTH2C(Char_t* name, Char_t* title, Int_t type = 0, Int_t bining = 2) Int_t findClusters(Int_t* imax) Int_t getMaxClus() Int_t getMaxClus(Int_t m) Int_t getNBinX() Int_t getNBinY() Int_t getNClusters() Int_t getNHitsTot() const HMdcPlane& getPrPlane() const Int_t getSize() const HGeomVector& getTargetF() const const HGeomVector& getTargetL() const Int_t getTypeClFinder() Double_t getXlow() Double_t getXup() Double_t getYlow() Double_t getYup() virtual TClass* IsA() const HMdcLookUpTbSec& operator=(const HMdcLookUpTbSec&) HMdcLookUpTbMod& operator[](Int_t i) void setCell(Short_t mod, Short_t layer, Short_t cel, Short_t nTimes) void setParPlane(const HMdcPlane& plane) 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:
Int_t sector sector number Int_t nSegments num. of segments for clus. finder Int_t nBinX num.bins along axis X, Double_t xLow low edge of X Double_t xUp upper edge of X Double_t xStep step X = (xUp-xLow)/nBinX Int_t nBinY num.bins along axis Y Double_t yLow low edge of Y Double_t yUp upper edge of Y Double_t yStep step Y= (yUp-yLow)/nBinY Double_t xHStep2 = (xStep/2)^2 Double_t yHStep2 = (yStep/2)^2 Double_t* xBinsPos Bins positions Double_t* yBinsPos Int_t size length of plot static UChar_t* hPlMod[4] hPlMod[0] - mod.1, ... static Int_t hPlModsSize real length of hPlMod[mod] (can be > size) Int_t sizeBAr The size of the bit array plotBAr (in bytes) static Int_t sizeBArSt sizeBArSt>=sizeBAr; static UChar_t* plotBArSc Bit array (1 bit - 1 bin) (for scaning). Int_t maxBinBAr4Sc regiong of bins for scaning Int_t minBinBAr4Sc static UChar_t* plotBArM[4] Bit arraies for MDC's. Int_t maxBinBAr4M[4] Int_t minBinBAr4M[4] Int_t* xMin[4] for cleaning proj. plots Int_t* xMax[4] Bool_t setLUpTb kTRUE or kFALSE static HMdcClFnStack* stack stack TObjArray* array array of pointers of type HMdcLookUpTbMod HCategory* fClusCat category of clusters HLocation locClus location of cluster category Int_t counter[2] Counters of HMdcClus containers [segment] Bool_t isGeant =kTRUE - geant data Bool_t fillTrackList =kTRUE - filling tracks list in ClusSim Short_t nHitsTot total num. of hits in sector Int_t maxAmp[4] number of fired layes in MDC Int_t nHits[24] Short_t hits[24][250] n. cell Short_t hitsNTime[24][250] n.times, Short_t hitsDel[24][250] 0 - hit will put in plot Int_t minAmp[4] max.clus. for mdc1,2,3,4 Int_t nMods num. of modules in sector for cl.finding Int_t typeClFinder =0 - finding in all mdc in sec. Int_t neighbBins[8] HMdcPlane prPlane Projections plane Float_t target[3] target Float_t eTarg[3] errors of target position HGeomVector targVc[2] [0] First point of target in coor. sys. of sector Int_t nClusters counter of clusters TH2C* hist Int_t plBining Int_t nModSeg[2] static Int_t clusArrSize size of clusArr,clusArrM1,clusArrM2 static HMdcCluster* clusArr array of clusters parameters Int_t nClsArr counter of clusters in arraies static Short_t* clusIndM1 array of MDC1 clusters indexis static Int_t clIndArrSzM1 clusIndM1 array size static HMdcCluster* clusArrM1 array of clusters parameters in MDC1 Int_t nClsArrM1 counter of clusters in MDC1 static Short_t* clusIndM2 array of MDC2 clusters indexis static Int_t clIndArrSzM2 clusIndM2 array size static HMdcCluster* clusArrM2 array of clusters parameters in MDC2 Int_t nClsArrM2 counter of clusters in MDC2 HMdcCluster* cClusArr current clusters array Int_t* cNClusArr size of current clusters array HMdcLookUpTbMod* cFMod current module UChar_t* cHPlModM current mod.pr.plot HMdcCluster* clus current cluster Int_t* cXMinM current xMin[mod] Int_t* cXMaxM current xMax[mod] Int_t* pXMinM xMin[mod] for previous mdc Int_t* pXMaxM xMax[mod] for previous mdc UChar_t* cPlotBAr current bit array Int_t nLMaxCl cluster region on the project plane in bins Int_t nLMinCl nLMinCl - nLMaxCl region of lines in plot Short_t* xMaxCl regions of x bins for each line Short_t* xMinCl in nLMinCl-nLMaxCl region HMdcClus* fClus pointer to cluster; Int_t nFirstClust needed for clusters merging

Class Description

 HMdcLookUpTb

 Trackfinder for MDC1&2 and MDC3&4 if magnet off



HMdcLookUpTbSec(Int_t sec, Int_t nSegs, Int_t inBinX, Int_t inBinY)
 constructor creates an array of pointers of type HMdcLookUpTbMod

~HMdcLookUpTbSec(void)
 destructor

void clearPrArrs(void)

void clearPrMod(Int_t mod)

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

void clearwk(void)

void setCell(Short_t mod, Short_t layer, Short_t cell, Short_t nTimes)

void deleteHit(Short_t mod, Short_t layer, Short_t cell, Short_t nTime)

void calcMaxAmp(void)

void makeSPlot(void)
 Making proj.plot in sector(magnetoff) or segment(magneton).
 Number of MDCs in sector or segment must be >1 !!!

void makeModPlot(Int_t mod,Int_t minAm)

void makeLayProjV1(Int_t layer, Int_t indLay)
 plot filling and filled region determination

void makeLayProjV1b(Int_t layer, Int_t indLay)
 plot filling and filled region determination in region determined
 in previous mdc

void makeLayProjV2(Int_t layer, Int_t indLay)
 plot filling in filled regions only

Int_t findClusters(Int_t *imax)

Int_t getClusterSlot(Int_t seg, HMdcList12GroupCells& list)

void fillWiresList(Int_t mod, HMdcList12GroupCells& list)

void findClusInSeg(Int_t seg, Short_t minAm)

void findClusInSeg1(void)

void scanPlotInMod(Int_t mod)
 Scan proj.plot in one module but determination of wires list in segment(!)

void scanPlotInSeg1(Int_t seg, UChar_t* plotBAr)

void findClusInSec(Short_t minAm)

void mergeClusInMod(Int_t mod)

void mergeClusMod1to2(void)

void testClusMod12toSeg(void)
 excluding clusters in MOD with <4 non identical wires to segment clusters

void mergeClusInSeg(void)

void mergeClusInSec(void)

void calcClParam(void)

void fillClusCat(Int_t mod, Int_t segp, Int_t tpClFndr)

void findClusInMod(Int_t mod, Short_t minAm)

TH2C* fillTH2C(Char_t* name, Char_t* title, Int_t type, Int_t bining)
 Proj.plot filling without cluster finding.



Inline Functions


          HMdcLookUpTbMod& operator[](Int_t i)
                     Int_t getNClusters()
                     Int_t getMaxClus()
                     Int_t getMaxClus(Int_t m)
                     Int_t getNBinX()
                     Int_t getNHitsTot()
                  Double_t getXlow()
                  Double_t getXup()
                     Int_t getNBinY()
                  Double_t getYlow()
                  Double_t getYup()
                      void setParPlane(const HMdcPlane& plane)
                      void setTargetF(const HGeomVector& vec)
                      void setTargetL(const HGeomVector& vec)
          const HMdcPlane& getPrPlane() const
        const HGeomVector& getTargetF() const
        const HGeomVector& getTargetL() const
                      void setTypeClFinder(Int_t type)
                     Int_t getTypeClFinder()
                      void initCluster(Int_t nBin)
                      void initClusterT2(Int_t nBin)
                      void addBinInCluster(Int_t nBin, Char_t wt)
                      void setCurrentArray(HMdcCluster* clArr, Int_t* nClArr)
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
           HMdcLookUpTbSec HMdcLookUpTbSec(const HMdcLookUpTbSec&)
          HMdcLookUpTbSec& operator=(const HMdcLookUpTbSec&)


Last update: 17/07/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.