BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTd1TrackMatch


class description - source file - inheritance tree

class BrTd1TrackMatch : public TObject


    public:
BrTd1TrackMatch BrTd1TrackMatch() BrTd1TrackMatch BrTd1TrackMatch(BrTd1TrackMatch&) virtual void ~BrTd1TrackMatch() static TClass* Class() Float_t GetLength() const Int_t GetSlat() const Float_t GetTime() const Int_t GetTrackId() const virtual TClass* IsA() const virtual void Print(Option_t* option) const void SetMatching(Int_t trk, Int_t slat, Float_t time, Float_t length) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fTrackId Int_t fSlat Float_t fT0 Float_t fLength

Class Description



 BrDataTable* ffsTrks = node->GetDataTable("FfsTracks");
 BrDataTable* h1hits  = node->GetDataTable("DigTof TOF1");
 BrDataTable* h2hits  = node->GetDataTable("DigTof TOF2");
 BrDataTable* match   = node->GetDataTable("FFSMatch");

 for (Int_t m = 0; m < match->GetEntries(); m++) {
   BrTd1TrackMatch* mtc = (BrTd1TrackMatch*)match->At(m);

   BrFfsTrack* track = 0;

   for (Int_t t = 0; t < ffsTrks->GetEntries(); t++) {
     if (((BrFfsTrack*)ffsTrks->At(t))->GetId() != mtc->GetTrackId())
       continue;
     track = (BrFfsTrack*)ffsTrks->At(t);
   }

   for (Int_t h = 0; h < h1hits->GetEntries(); h++) {
     if (((BrTd1Dig*)h1hits->At(h))->GetSlatno() != mtc->GetHitId())
       continue;
     h1Hit = (BrTd1Dig*)h1hits->At(t);
   }

   for (Int_t h = 0; h < h2hits->GetEntries(); h++) {
     if (((BrTd1Dig*)h2hits->At(h))->GetSlatno() != mtc->GetHit2Id())
       continue;
     h2Hit = (BrTd1Dig*)h2hits->At(t);
   }
 }

BrTd1TrackMatch() : TObject()

void SetMatching(Int_t trk, Int_t slat, Float_t time, Float_t length)

void Print(Option_t* option) const
 prints out track id and tof id
 Options:
 M -> mid rapidity
 F -> FFS
 B -> BFS



Inline Functions


                  Int_t GetTrackId() const
                  Int_t GetSlat() const
                Float_t GetTime() const
                Float_t GetLength() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        BrTd1TrackMatch BrTd1TrackMatch(BrTd1TrackMatch&)
                   void ~BrTd1TrackMatch()

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:53:25 2002 by

Validate HTML
Validate CSS