BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDCClusterFinder


class description - source file - inheritance tree

class BrDCClusterFinder : public BrModule

    private:
void DecodeDat(BrDataTable* DigitizedHits) void DecodeDig(BrDataTable* DigitizedHits) void DefineOffsets() virtual BrDetectorVolume* GetDetectorVolume(const Char_t* name) virtual void SetDetectorVolume(BrDetectorVolume* vol) public:
BrDCClusterFinder BrDCClusterFinder() BrDCClusterFinder BrDCClusterFinder(Char_t* Name, Char_t* Title, Int_t combineMode, Float_t clusDx, Float_t clusDy, Float_t trioWin, Bool_t EventByEvent = kFALSE, Int_t bit = 0, Int_t ClustMode = 0, Int_t XYClustOpt = 0, Float_t posRes = 0.025, Int_t lowLimit = 15, Int_t upLimit = 200) BrDCClusterFinder BrDCClusterFinder(BrDCClusterFinder&) virtual void ~BrDCClusterFinder() virtual void Begin() static TClass* Class() void CleanDCHits() void DCCluster() void DCClusterOld() void DCPair(Int_t idet, Int_t ipl, Int_t iview) void DCSingle(Int_t idet, Int_t ipl, Int_t iview) void DCSingle() void DCTrio(Int_t idet, Int_t ipl, Int_t iview) virtual void DefineHistograms() void FindClusters(BrDataTable* digitizedHits, BrClonesArray* detectorHits, Int_t& nDetectorHits, Int_t tof1TimeRef) Int_t GetClustMode() BrDriverDC* GetDCDriver() BrDetectorParamsDC* GetDCParams() BrClonesArray* GetDetectorHits() Bool_t GetEventStatus() Int_t GetMaxTdc() Int_t GetMinTdc() Int_t GetMode() Int_t GetPromptDelay() Int_t GetXYClusterOption() virtual void Init() virtual TClass* IsA() const virtual void SelectDCHits(const Int_t idet, const Int_t iplane, BrDataTable* selectedHits) void SetCalibFile(TString CalibFile) void SetClustMode(Int_t ClustMode) void SetDriftTime(Int_t DriftTime) void SetGlobalTdcOffset(Int_t globalTdcOffset = 0) void SetMaxTdc(Int_t MaxTdc) void SetMinTdc(Int_t MinTdc) void SetMinWidth(Int_t MinWidth) void SetMode(Int_t imode) void SetOffsetFile(TString OffsetFile) void SetPromptDelay(Int_t PromDel) void SetRunNo(Int_t runNo) void SetXYClusterOption(Int_t XYClustOpt) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UseMySql()

Data Members

    private:
Int_t fRunNo Bool_t fUseMySql BrDriverDC* fDCDriver Pawel Float_t fPosRes Int_t fPromptDelay Float_t fOffset[4] Int_t fGlobalTdcOffset Int_t fGlobalTdcOffsetSave Int_t fTof1TimeRef BrDataTable* fSelectedDCHits1 BrDataTable* fSelectedDCHits2 BrDataTable* fSelectedDCHits3 BrDetectorParamsDC* fParams BrDetectorVolume* fVolumeParams_p[4] Int_t fNumVol Need for sub volumes etc. Int_t fPlaneCombineMode Specifies how BrCombinedHits generated. Float_t fClusDx Cluster x matching parameter Float_t fClusDy Cluster y matching parameter BrClonesArray* fDetectorHits List of detector hits. TObjArray* fHitPositionList List of hit positions Int_t fTableMode To make choice between RawData and Digitezed Hits Int_t fClustMode To choose the way of hits combining. Int_t fXYClustOpt Int_t fMinWidth Int_t fMinTdc Int_t fMaxTdc Int_t fDriftTime Int_t fDriftTimeSave TString fOffsetFile TString fCalibFile Int_t fLowLimit Int_t fUpLimit Bool_t fEventStatus Float_t fTrioChisqWin chisq window for cluster matching in DCTrio TH1F* fChisq TH1F* fPairUDu[3] TH1F* fPairVDu[3] TH1F* fPairXDu[3] TH1F* fPairYDu[3] TH1F* fTrio12XDu[3] TH1F* fTrio13XDu[3] TH1F* fTrio23XDu[3] TH1F* fTrio12YDu[3] TH1F* fTrio13YDu[3] TH1F* fTrio23YDu[3] TH1F* fDeviaAll TH1F* fDeviaAcce TH1F* fhTotComb TH1F* fDriftDist[3][10] TH1F* fhDriftTime[3][10] TH1F* fRawHitPos[3][10] Double_t fTotalComb Bool_t fEventByEvent public:
static const BrDCClusterFinder::EBrTable RawData static const BrDCClusterFinder::EBrTable RedData static const BrDCClusterFinder::EBrTable Digitized static const BrDCClusterFinder::EclusterFinderModes kPairsWhenTogether static const BrDCClusterFinder::EclusterFinderModes kAllSinglePlanes

Class Description

  Cluster Finder for Drift Chambers

_____________________________________________________________________

  $Id: BrDCClusterFinder.cxx,v 1.22 2002/06/10 16:41:08 ufstasze Exp $
  $Author: ufstasze $
  $Date: 2002/06/10 16:41:08 $


BrDCClusterFinder()
 DO NOT USE

BrDCClusterFinder(Char_t *Name,Char_t *Title, Int_t combineMode, Float_t clusDx, Float_t clusDy, Float_t trioWin, Bool_t EventByEvent, Int_t imode, Int_t ClustMode, Int_t XYClustOpt, Float_t posRes, Int_t lowLimit, Int_t upLimit) : BrModule(Name,Title)

~BrDCClusterFinder()

void Init()
 The init member function/method is used to define histograms
 The histograms is added to the list of hist objects in this
 module.

void Begin()

void DefineHistograms()

void DefineOffsets()
 this offsets have been introduced because tracks (on average) are
 not paraller to the detector axis in the horizontal plane
 It cause that the custer combining procedures (DCPair) and (DCTrio) are more effective.
 Used values are the result of averaging over low and middle field settings.

void SetDetectorVolume(BrDetectorVolume *vol)

BrDetectorVolume* GetDetectorVolume(const Char_t *name)

void FindClusters(BrDataTable *digitizedHits, BrClonesArray *detectorHits, Int_t &nDetectorHits, Int_t tof1TimeRef)
The cluster finding routine.  This routine takes the digitized hits list and
fills the detector hit list.

void DecodeDat(BrDataTable* digitizedHits)
Generate DC Hit Positions using the time and wire fired to build
 the left-right ambiguity.

void DecodeDig(BrDataTable* digitizedHits)
Generate DC Hit Positions using the time and wire fired to build
 the left-right ambiguity.

void DCCluster()

void DCSingle(Int_t idet, Int_t ipl, Int_t iview)

void DCPair(Int_t idet, Int_t ipl, Int_t iview) //,Float_t ddx,Float_t ddy)

void DCTrio(Int_t idet, Int_t ipl, Int_t iview) //,Float_t ddx,Float_t ddy)

void SelectDCHits(const Int_t idet,const Int_t iplane, BrDataTable *selectedHits)
Select collection of BrDCHitPositions in which the associated digitized hits
match idet and iplane



Inline Functions


                       void DCClusterOld()
                BrDriverDC* GetDCDriver()
        BrDetectorParamsDC* GetDCParams()
             BrClonesArray* GetDetectorHits()
                       void CleanDCHits()
                       void DCSingle()
                       void UseMySql()
                       void SetRunNo(Int_t runNo)
                       void SetMode(Int_t imode)
                       void SetClustMode(Int_t ClustMode)
                       void SetXYClusterOption(Int_t XYClustOpt)
                       void SetMinWidth(Int_t MinWidth)
                       void SetMinTdc(Int_t MinTdc)
                       void SetMaxTdc(Int_t MaxTdc)
                       void SetPromptDelay(Int_t PromDel)
                       void SetDriftTime(Int_t DriftTime)
                       void SetOffsetFile(TString OffsetFile)
                       void SetCalibFile(TString CalibFile)
                       void SetGlobalTdcOffset(Int_t globalTdcOffset = 0)
                      Int_t GetMode()
                      Int_t GetClustMode()
                      Int_t GetXYClusterOption()
                      Int_t GetMinTdc()
                      Int_t GetMaxTdc()
                      Int_t GetPromptDelay()
                     Bool_t GetEventStatus()
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
          BrDCClusterFinder BrDCClusterFinder(BrDCClusterFinder&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on Wed Sep 11 04:50:51 2002 by

Validate HTML
Validate CSS