BrDetectorTrack
class description - source file - inheritance tree
public:
BrDetectorTrack BrDetectorTrack()
BrDetectorTrack BrDetectorTrack(BrDetectorTrack&)
virtual void ~BrDetectorTrack()
static TClass* Class()
const BrVector3D GetAlpha() const
Int_t GetFlag() const
Int_t GetGroupID() const
Int_t GetID() const
BrLocalTrack* GetLocalTrack() const
const BrVector3D GetPos() const
Double_t GetQuality() const
BrLine3D GetTrackLine()
virtual TClass* IsA() const
Float_t RelativeOverlap(const BrDetectorTrack* dt_p, Float_t zl, Float_t r = 0.2)
void SetAlpha(const Float_t* alpha)
void SetAlpha(const BrVector3D& alpha)
void SetFlag(Int_t i)
void SetGroupID(Int_t i)
void SetID(Int_t i)
void SetLocalTrack(BrLocalTrack* p)
void SetPos(const Float_t* pos)
void SetPos(const BrVector3D& pos)
void SetQuality(Double_t quality)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fId Unique Id (for a given Data Table)
Int_t fGroupId Id for sets of detector tracks.
BrVector3D fPos Position of track - in local detector coordinates
BrVector3D fAlpha Direction vector of track - in local detector coordinates
Int_t fFlag Status, quality flag.
Double_t fQuality Quality indicator (could be chi**2 of track)
Int_t fLocalTrackId ! Id for local track origin of this tracks
BrLocalTrack* fLocalTrack ! pointer to localtrack
BrDetectorTrack is a BRAHMS data class for storing information for
a track
BrDetectorTrack()
void SetPos(const Float_t* val)
void SetAlpha(const Float_t* val)
Float_t RelativeOverlap(const BrDetectorTrack *dt_p, 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
BrLine3D GetTrackLine()
Inline Functions
const BrVector3D GetPos() const
const BrVector3D GetAlpha() const
Int_t GetFlag() const
Int_t GetID() const
Int_t GetGroupID() const
Double_t GetQuality() const
BrLocalTrack* GetLocalTrack() const
void SetPos(const BrVector3D& pos)
void SetAlpha(const BrVector3D& alpha)
void SetFlag(Int_t i)
void SetID(Int_t i)
void SetGroupID(Int_t i)
void SetQuality(Double_t quality)
void SetLocalTrack(BrLocalTrack* p)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrDetectorTrack BrDetectorTrack(BrDetectorTrack&)
void ~BrDetectorTrack()
|