ROOT logo
Podd » SRC » THaVDCPointPair

class THaVDCPointPair: public TObject


 THaVDCPointPair

 A pair of THaVDCPoints, candidate for a reconstructed track.


This class is also known as (typedefs to this class)

VDC::VDCpp_t

Function Members (Methods)

public:
THaVDCPointPair(const THaVDCPointPair&)
THaVDCPointPair(THaVDCPoint* lp, THaVDCPoint* up, Double_t spacing)
virtual~THaVDCPointPair()
voidTObject::AbstractMethod(const char* method) const
voidAnalyze()
virtual voidTObject::AppendPad(Option_t* option = "")
voidAssociate(THaTrack* track)
virtual voidTObject::Browse(TBrowser* b)
VDC::chi2_tCalcChi2() const
static Double_tCalcError(THaVDCPoint* lowerPoint, THaVDCPoint* upperPoint, Double_t spacing)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tCompare(const TObject*) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Double_tGetError() const
virtual const char*TObject::GetIconName() const
THaVDCPoint*GetLower() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
static Double_tGetProjectedDistance(THaVDCPoint* here, THaVDCPoint* there, Double_t spacing)
Double_tGetSpacing() const
Int_tGetStatus() const
virtual const char*TObject::GetTitle() const
THaTrack*GetTrack() const
virtual UInt_tTObject::GetUniqueID() const
THaVDCPoint*GetUpper() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasUsedCluster() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
THaVDCPointPair&operator=(const THaVDCPointPair&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRelease()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetStatus(Int_t i)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
voidUse()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
THaVDCPointPair()

Data Members

protected:
Double_tfErrorGoodness of match between the points
THaVDCPoint*fLowerPointLower UV point
Double_tfSpacingSpacing between lower and upper chambers [m]
Int_tfStatusStatus flag
THaVDCPoint*fUpperPointUpper UV point

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Analyze()
 Compute goodness of match parameter between upper and lower point.
 Essentially, this is a measure of how closely the two local tracks
 point at each other.
void Associate(THaTrack* track)
 Mark upper and lower points as well as their clusters
 as belonging to the given track
chi2_t CalcChi2() const
 Calculate chi2 and number of data points for the associated track
 and clusters
Int_t Compare(const TObject* ) const
 Compare this object to another THaVDCPointPair.
 Used for sorting tracks.
Double_t CalcError(THaVDCPoint* lowerPoint, THaVDCPoint* upperPoint, Double_t spacing)
 Calculate projected positions of points in opposite planes, measure
 how far they differ from partner point intercept, and return the sum
 of the squares of the distances
Double_t GetProjectedDistance(THaVDCPoint* here, THaVDCPoint* there, Double_t spacing)
 Project 'here' to plane of 'there' and return square of distance between
 projected position and intercept of 'there'
THaTrack* GetTrack() const
 Return track associated with this pair
Bool_t HasUsedCluster() const
 Return true if any cluster underlying this point pair is also part of
 another point pair that has already been chosen for making a track.
 This ensures each cluster is only ever used in at most one final track.
void Print(Option_t* opt = "") const
 Print details about this point pair (for debugging)
void Use()
 Mark this point pair as used (i.e. chosen for making a track)
 This does the following:

 (a) upper and lower points are marked as each other's partners
 (b) the underlying four clusters are marked as associated with this pair
 (c) the global slope resulting from the coordinate pair is calculated
     and stored in the clusters associated with the points
 (d) This pair is marked as used
void Release()
 Mark this track pair as unused
THaVDCPointPair(THaVDCPoint* lp, THaVDCPoint* up, Double_t spacing)
{}
virtual ~THaVDCPointPair()
{}
Double_t GetError() const
{ return fError; }
THaVDCPoint* GetLower() const
{ return fLowerPoint; }
THaVDCPoint* GetUpper() const
{ return fUpperPoint; }
Double_t GetSpacing() const
{ return fSpacing; }
Int_t GetStatus() const
{ return fStatus; }
Bool_t IsSortable() const
{ return kTRUE; }
void SetStatus(Int_t i)
{ fStatus = i; }
THaVDCPointPair()