BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTMrsFTrackMatch


class description - source file - inheritance tree

class BrTMrsFTrackMatch : public TObject


    public:
BrTMrsFTrackMatch BrTMrsFTrackMatch() BrTMrsFTrackMatch BrTMrsFTrackMatch(BrTMrsFTrackMatch&) virtual void ~BrTMrsFTrackMatch() static TClass* Class() Float_t GetLength() 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, 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 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++) {
   BrTMrsFTrackMatch* mtc = (BrTMrsFTrackMatch*)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 (((BrTMrsFDig*)h1hits->At(h))->GetSlatno() != mtc->GetHitId())
       continue;
     h1Hit = (BrTMrsFDig*)h1hits->At(t);
   }

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

BrTMrsFTrackMatch() : TObject()

void SetMatching(Int_t trk, 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
                  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)
        BrTMrsFTrackMatch BrTMrsFTrackMatch(BrTMrsFTrackMatch&)
                     void ~BrTMrsFTrackMatch()

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

Validate HTML
Validate CSS