ROOT logo
Podd » SRC » THaVDCPoint

class THaVDCPoint: public THaCluster


THaVDCPoint

Class for UV Tracks


Function Members (Methods)

public:
THaVDCPoint(THaVDCCluster* u_cl, THaVDCCluster* v_cl, THaVDCChamber* chamber)
virtual~THaVDCPoint()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCalcChisquare(Double_t& chi2, Int_t& nhits) const
voidCalcDetCoords()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTHaCluster::Clear(Option_t* opt = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) 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
TVector3&THaCluster::GetCenter()
THaVDCChamber*GetChamber() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() 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
THaVDCPoint*GetPartner() const
Double_tGetPhi() const
Double_tGetTheta() const
virtual const char*TObject::GetTitle() const
THaTrack*GetTrack() const
Int_tGetTrackIndex() const
Double_tGetU() const
THaVDCCluster*GetUCluster() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetV() const
THaVDCCluster*GetVCluster() const
Double_tGetX() const
Double_tGetY() const
Double_tGetZ() const
Double_tGetZU() const
Double_tGetZV() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() 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_tTObject::IsSortable() 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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTHaCluster::Print(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
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 voidTHaCluster::SetCenter(const TVector3& vec3)
virtual voidTHaCluster::SetCenter(Double_t x, Double_t y, Double_t z)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPartner(THaVDCPoint* partner)
voidSetSlopes(Double_t mu, Double_t mv)
voidSetTrack(THaTrack* track)
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
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()
voidSet(Double_t x, Double_t y, Double_t theta, Double_t phi)
voidSet(Double_t x, Double_t y, Double_t theta, Double_t phi, const TVector3& offset)

Data Members

protected:
TVector3THaCluster::fCenterCenter coordinates of cluster
THaVDCChamber*fChamberChamber of this cluster pair
THaVDCPoint*fPartnerPoint associated with this one in
Double_tfPhiAngle between z-axis and projection of track into yz plane
Double_tfThetaAngle between z-axis and projection of track into xz plane
THaTrack*fTrackTrack that this point is associated with
THaVDCCluster*fUClustCluster in the U plane
THaVDCCluster*fVClustCluster in the V plane
Double_tfXX position of point in U wire-plane
Double_tfYY position of point in U wire-plane

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

THaVDCPoint(THaVDCCluster* u_cl, THaVDCCluster* v_cl, THaVDCChamber* chamber)
 Constructor
void CalcDetCoords()
 Convert U,V coordinates of our two clusters to the detector
 coordinate system.
Double_t GetZU() const
 Return z-position of u cluster
Double_t GetZV() const
 Return intercept of u cluster
void SetSlopes(Double_t mu, Double_t mv)
 Set global slopes of U and V clusters to mu, mv and recalculate
 detector coordinates
void CalcChisquare(Double_t& chi2, Int_t& nhits) const
 Accumulate the chi2 from the clusters making up this pair,
 adding their terms to the chi2 and nhits.

  The global slope and intercept, derived from the entire track,
  must already have been set for each cluster
   (as done in THaVDC::ConstructTracks)

void SetTrack(THaTrack* track)
 Associate this cluster pair as well as the underlying U and V clusters
 with a reconstructed track
Int_t GetTrackIndex() const
 Return index of assigned track (-1 = none, 0 = first/best, etc.)
void Set(Double_t x, Double_t y, Double_t theta, Double_t phi, const TVector3& offset)
 Set coordinates of this point. Also set absolute position vector.
Double_t GetU() const
 Return intercept of u cluster
Double_t GetV() const
 Return intercept of v cluster
THaVDCPoint(THaVDCCluster* u_cl, THaVDCCluster* v_cl, THaVDCChamber* chamber)
{}
THaVDCCluster* GetUCluster() const
 Get and Set Functions
{ return fUClust; }
THaVDCCluster* GetVCluster() const
{ return fVClust; }
THaVDCChamber* GetChamber() const
{ return fChamber; }
THaVDCPoint* GetPartner() const
{ return fPartner; }
THaTrack* GetTrack() const
{ return fTrack; }
Double_t GetX() const
{ return fX; }
Double_t GetY() const
{ return fY; }
Double_t GetTheta() const
{ return fTheta; }
Double_t GetPhi() const
{ return fPhi; }
Double_t GetZ() const
{ return GetZU(); }
void SetPartner(THaVDCPoint* partner)
{ fPartner = partner;}
void Set(Double_t x, Double_t y, Double_t theta, Double_t phi)
{ fX = x; fY = y; fTheta = theta; fPhi = phi; }
THaVDCPoint& operator=(const THaVDCPoint& )