TMCFastOfflineTrack


class description - source file - inheritance tree

class TMCFastOfflineTrack : public TObject


    public:
TMCFastOfflineTrack TMCFastOfflineTrack() TMCFastOfflineTrack TMCFastOfflineTrack(ntrkoff_t* trk_off) TMCFastOfflineTrack TMCFastOfflineTrack(TMCFastOfflineTrack&) virtual void ~TMCFastOfflineTrack() TClass* Class() void Fill(ntrkoff_t* trk_off) Double_t GetChisq(Int_t i) Double_t GetCov(Int_t i, Int_t j, Int_t k) Double_t GetE(Int_t i) Int_t GetHep(Int_t i) Double_t GetHepEvtP(Int_t hep) Int_t GetIcov(Int_t i) Double_t GetMass(Int_t i) Int_t GetNhits(Int_t i) Int_t GetNhitsSilicon(Int_t i) Int_t GetNhitsStereo(Int_t i) Int_t GetNtracks() Double_t GetP(Int_t i) Double_t GetPt(Int_t i) Double_t GetPx(Int_t i) Double_t GetPy(Int_t i) Double_t GetPz(Int_t i) Double_t GetQ(Int_t i) Double_t GetX(Int_t i) Double_t GetY(Int_t i) Double_t GetZ(Int_t i) virtual TClass* IsA() void Print(ostream* os) void SetChisq(Int_t i, Double_t x) void SetCov(Int_t i, Int_t j, Int_t k, Double_t x) void SetE(Int_t i, Double_t x) void SetHep(Int_t i, Int_t n) void SetIcov(Int_t i, Int_t n) void SetMass(Int_t i, Double_t x) void SetNhits(Int_t i, Int_t n) void SetNhitsSilicon(Int_t i, Int_t n) void SetNhitsStereo(Int_t i, Int_t n) void SetNtracks(Int_t n) void SetP(Int_t i, Double_t x) void SetPt(Int_t i, Double_t x) void SetPx(Int_t i, Double_t x) void SetPy(Int_t i, Double_t x) void SetPz(Int_t i, Double_t x) void SetQ(Int_t i, Double_t x) void SetX(Int_t i, Double_t x) void SetY(Int_t i, Double_t x) void SetZ(Int_t i, Double_t x) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Int_t fntracks number of tracks Double_t fpx[20] Track parameters at interaction Double_t fpy[20] Double_t fpz[20] Double_t fE[20] Double_t fx[20] Double_t fy[20] Double_t fz[20] Double_t fpt[20] pt = sqrt(px*px+py*py) Double_t fp[20] momentum Double_t fq[20] charge Double_t fmass[20] mass Double_t fcov[20][7][7] covariance matrix Double_t fchisq[20] fit chisq Int_t fnhits[20] nhits in fit Int_t fnhitsSilicon[20] # of silicon hits Int_t fnhitsStereo[20] # of hits with stereo info Int_t ficov[20] icov = 0 if covariance matrix not defined Int_t fhep[20] position of corresp. track in HEPEVT list

Class Description

                                                                      
 TMCFastOfflineTrack   MCFast Offline Track (Smeared ) Class          
                                                                      
 This is port of MCFast Trace Common Block to ROOT                    

 More information see Tracking in MCFast doc at:

/*

http://www-pat.fnal.gov/mcfast.html 
*/




Double_t GetHepEvtP(Int_t hep)
 Return the smeared momentum of the particle with
 the HepEvt index "hep"

TMCFastOfflineTrack(struct ntrkoff_t *trk_off)
 Call Fill()


void Fill(struct ntrkoff_t *trk_off)
 Fill the TMCFastOfflineTrack object
 using mcfast common block information


~TMCFastOfflineTrack()
Clear()


void Print(ostream *os)
 Prints  TMCFastOfflineTrack object

 This function is also used
 to  overload  &operator<<

 For example;
 cout << trkoff;

 where trkoff is an instance of TMCFastOfflineTrack



Inline Functions


        TMCFastOfflineTrack TMCFastOfflineTrack(ntrkoff_t* trk_off)
                      Int_t GetNtracks()
                   Double_t GetPx(Int_t i)
                   Double_t GetPy(Int_t i)
                   Double_t GetPz(Int_t i)
                   Double_t GetE(Int_t i)
                   Double_t GetX(Int_t i)
                   Double_t GetY(Int_t i)
                   Double_t GetZ(Int_t i)
                   Double_t GetPt(Int_t i)
                   Double_t GetP(Int_t i)
                   Double_t GetQ(Int_t i)
                   Double_t GetMass(Int_t i)
                   Double_t GetCov(Int_t i, Int_t j, Int_t k)
                   Double_t GetChisq(Int_t i)
                      Int_t GetNhits(Int_t i)
                      Int_t GetNhitsSilicon(Int_t i)
                      Int_t GetNhitsStereo(Int_t i)
                      Int_t GetIcov(Int_t i)
                      Int_t GetHep(Int_t i)
                       void SetNtracks(Int_t n)
                       void SetPx(Int_t i, Double_t x)
                       void SetPy(Int_t i, Double_t x)
                       void SetPz(Int_t i, Double_t x)
                       void SetE(Int_t i, Double_t x)
                       void SetX(Int_t i, Double_t x)
                       void SetY(Int_t i, Double_t x)
                       void SetZ(Int_t i, Double_t x)
                       void SetPt(Int_t i, Double_t x)
                       void SetP(Int_t i, Double_t x)
                       void SetQ(Int_t i, Double_t x)
                       void SetMass(Int_t i, Double_t x)
                       void SetCov(Int_t i, Int_t j, Int_t k, Double_t x)
                       void SetChisq(Int_t i, Double_t x)
                       void SetNhits(Int_t i, Int_t n)
                       void SetNhitsSilicon(Int_t i, Int_t n)
                       void SetNhitsStereo(Int_t i, Int_t n)
                       void SetIcov(Int_t i, Int_t n)
                       void SetHep(Int_t i, Int_t n)
                    TClass* Class()
                    TClass* IsA()
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
        TMCFastOfflineTrack TMCFastOfflineTrack(TMCFastOfflineTrack&)


Author: Paul Eugenio 2-Nov-98


ROOT page - Class index - 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.