|
BrLocalTrackclass description - source file - inheritance tree class BrLocalTrack : public TObject
public:
Data Members
private:
Class DescriptionBrLocalTrack() BrLocalTrack(BrLocalTrack* loctra_p) Copy constructor ~BrLocalTrack() Just clear these hit arrays because they are the responsibility of someone else to delete them. void Fit() Fit the localtrack to the hits Fill postions and vector in track as well as chisq and covariance matrix Float_t RelativeOverlap(BrLocalTrack* t2, Float_t zl, Float_t r)
Calculate the relative overlap between "this" track and the given track
Parameters:
In: dt_p pointer to the other track
zl length of detector (in local z direction)
r radius of cylinder around tracks
Algorithm:
A cylinder of radius r is put around each track.
The relative overlap is defined as the ratio between
the volume of the overlap region of two cylinders
and
the volume of the cylinder around "this" track is calculated.
The cylinders are distorted in order to have a circular intersection
between the cylinders and planes at arbitrary z.
Requires:
The tracks are parametrized as:
x = ax * z + bx
y = ay * z + by
BrVector3D GetDeviationFromFit(const BrDetectorHit *const detHit) const Returns a vector with the deviation in x and y of the hit from the fitted line. The deviation is calculated for the same z and is given as fit - hit. Bool_t HasHitInRow(Int_t rowNo) const Look through the hits to see if there is hit in the given row. returns kTRUE if it finds a hit Bool_t HasAllHitsBetween(Int_t index,Float_t low, Float_t high) const Look through the hits to see if the index component of all position coordinates is between low and high returns kTRUE if it does not find anyone outside Useful if you only want tracks in a certain region of the TPC, no matter if it is pad, time or row. void RemoveDetectorHit(BrDetectorHit *detHit) Inline Functions
void AddDetectorHit(const BrDetectorHit* hitp)
void AddTrackHit(BrTrackHit* trahit_p)
void AddVec(const Float_t* vec)
Float_t GetChisq() const
Float_t** GetCovarianceMatrix() const
BrDetectorHit* GetDetectorHitAt(Int_t i) const
Int_t GetFlg() const
TObjArray* GetHitList()
Int_t GetID() const
Int_t GetNhit() const
const Float_t* GetPos() const
const Float_t* GetPosError() const
Int_t GetStat() const
BrTrackHit2D* GetTr1() const
BrTrackHit2D* GetTr2() const
Int_t GetTrackEntries() const
BrTrackHit* GetTrackHitAt(Int_t i) const
const Float_t* GetVec() const
const Float_t* GetVecError() const
BrVirtualTrack* GetVtrack() const
void IncNhit()
Bool_t IsBad()
Bool_t IsOk()
void MarkAsBad()
void RemoveTrackHit(BrTrackHit* trahit)
void SetChisq(Float_t x)
void SetID(Int_t i)
void SetFlg(Int_t i)
void SetNhit(Int_t i)
void SetPos(const Float_t* pos)
void SetPosError(const Float_t* error)
void SetStat(Int_t i)
void SetTr1(BrTrackHit2D* tra2d)
void SetTr2(BrTrackHit2D* tra2d)
void SetVec(const Float_t* vec)
void SetVecError(const Float_t* error)
void SetVtrack(BrVirtualTrack* vtrack)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrLocalTrack BrLocalTrack(BrLocalTrack&)
|
||||||
|
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|