BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDCViewCombiner


class description - source file - inheritance tree

class BrDCViewCombiner : public BrModule

    private:
void CopyTrahit1(BrLocalTrack* OldTr, BrLocalTrack* NewTr) void DeleteBadTrack(BrClonesArray* localTracks, Int_t& nLocalTracks) void GetSelected2DTracks(const Int_t stat, const Int_t flg, BrDataTable* tra2DMod) void InsertTrahit(BrDCHit* hitcmb_p, BrLocalTrack* loctra_p) void RemoveTrack(BrLocalTrack* localtrack) public:
BrDCViewCombiner BrDCViewCombiner() BrDCViewCombiner BrDCViewCombiner(const Char_t* Name, const Char_t* Title, BrDCClusterFinder* clusterFinder, const Float_t asigma = 3.0, const Int_t max_miss_main = 0, const Int_t max_miss_sub = 0, const Int_t max_miss_other = 1, const Float_t uvdx = 0.0, const Float_t uvdy = 0.0, Bool_t EventByEvent = kFALSE) BrDCViewCombiner BrDCViewCombiner(BrDCViewCombiner&) virtual void ~BrDCViewCombiner() static TClass* Class() void CombineViews(BrDCViewList* viewList, TObjArray* trackHits2D, TObjArray* trackHits, BrClonesArray* LocalTracks, Int_t& nLocalTracks) virtual void DefineHistograms() virtual void Init() virtual TClass* IsA() const void SetBfsAngle(Int_t p) void SetRunNo(Int_t p) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TObjArray* fTrackHits TObjArray* fTrackHits2D BrDCClusterFinder* fClusterFinder BrDataTable* fSelectedDCHits Int_t fDCCutMaxMissMain Maximum number of misses in main view planes Int_t fDCCutMaxMissSub Maximum number of misses in sub view planes Int_t fDCCutMaxMissOther Maximum number of misses in other view planes. Float_t fUVDx Dx for cuts in intermediate plane matching Float_t fUVDy Dy for cuts in intermediate plane matching Float_t fAsigma Sigma for cuts in intermediate plane matching. Bool_t fEventByEvent Bool_t fCheckSingleHits Int_t fXYNumPlane Float_t fStrictParam Int_t fBfsAngle Int_t fRunNo TH1F* fCombUDuc TH1F* fCombVDuc

Class Description

  Drift chamber view combiner
  The BrDCViewCombiner class finds local tracks from DC's

_____________________________________________________________________

  $Id: BrDCViewCombiner.cxx,v 1.7 2002/02/20 13:53:15 ufstasze Exp $
  $Author: ufstasze $
  $Date: 2002/02/20 13:53:15 $



BrDCViewCombiner()

BrDCViewCombiner(const Char_t *Name, const Char_t *Title, BrDCClusterFinder *clusterFinder, const Float_t asigma, const Int_t max_miss_main, const Int_t max_miss_sub, const Int_t max_miss_other, const Float_t uvdx, const Float_t uvdy, Bool_t EventByEvent) : BrModule(Name,Title)

~BrDCViewCombiner()

void Init()

void DefineHistograms()

void CombineViews(BrDCViewList *viewList, TObjArray *trackHits2D, TObjArray *trackHits, BrClonesArray *LocalTracks, Int_t &nLocalTracks)
Combine views

void GetSelected2DTracks(const Int_t stat, const Int_t flg, BrDataTable *Tra2DMod)
Get selected 2DTracks and put into BrDataTable
stat is status of 2D track to be selected
flg is view (main or sub; usually x or y)

void InsertTrahit(BrDCHit *hit, BrLocalTrack* localtrack)
 Fill a new entry in the mapping 'table' TrackHits with the
 pointers to a detector hit (hit) and to a localtrack.


void CopyTrahit1(BrLocalTrack* OldTr,BrLocalTrack* NewTr)
Copy trahit entries excluding the last entry in hitcmb.

void RemoveTrack(BrLocalTrack* localtrack)
For future reference, this can be done in a much easier way
using the numtrahit and trahit entries in loctra.  That gives
us the information directly without having to do a search.

void DeleteBadTrack(BrClonesArray *localTracks, Int_t &nLocalTracks)



Inline Functions


                    void SetBfsAngle(Int_t p)
                    void SetRunNo(Int_t p)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
        BrDCViewCombiner BrDCViewCombiner(BrDCViewCombiner&)

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:55 2002 by

Validate HTML
Validate CSS