ROOT logo
Podd » SRC » THaVDCHit

class THaVDCHit: public TObject


THaVDCHit

Class representing a single hit for the VDC


Function Members (Methods)

public:
THaVDCHit(THaVDCWire* wire = 0, Int_t rawtime = 0, Double_t time = 0.0)
virtual~THaVDCHit()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
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* obj) const
virtual Double_tConvertTimeToDist(Double_t slope)
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
Int_tGetClsNum() const
Double_tGetdDist() const
Double_tGetDist() 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
Double_tGetPos() const
Int_tGetRawTime() const
Double_tGetTime() const
virtual const char*TObject::GetTitle() const
Int_tGetTrkNum() const
virtual UInt_tTObject::GetUniqueID() const
THaVDCWire*GetWire() const
Int_tGetWireNum() 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_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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") 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)
voidSetClsNum(Int_t num)
voidSetdDist(Double_t ddist)
voidSetDist(Double_t dist)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFitDist(Double_t dist)
voidSetLocalFitDist(Double_t dist)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetRawTime(Int_t time)
voidSetTime(Double_t time)
voidSetTrkNum(Int_t num)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetWire(THaVDCWire* wire)
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()
private:
THaVDCHit(const THaVDCHit&)
THaVDCHit&operator=(const THaVDCHit&)

Data Members

protected:
Int_tfClsNumNumber of the cluster using this hit (-1 = unused)
Double_tfDist(Perpendicular) Drift Distance
Int_tfRawTimeTDC value (channels)
Double_tfTimeRaw drift time, corrected for trigger time (s)
Int_tfTrkNumNumber of the track using this hit (0 = unused)
THaVDCWire*fWireWire on which the hit occurred
Double_tfdDistuncertainty in fDist (for chi2 calc)
Double_tfltrDist(Perpendicular) distance from the local track (m)
Double_tftrDist(Perpendicular) distance from the global track (m)
static const Double_tkBig! Arbitrary lrg number indicating invalid data

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Double_t ConvertTimeToDist(Double_t slope)
 Converts TDC time to drift distance
 Takes the (estimated) slope of the track as an argument
Int_t Compare(const TObject* obj) const
 Used to sort hits
 A hit is "less than" another hit if it occurred on a lower wire number.
 Also, for hits on the same wire, the first hit on the wire (the one with
 the smallest time) is "less than" one with a higher time.  If the hits
 are sorted according to this scheme, they will be in order of increasing
 wire number and, for each wire, will be in the order in which they hit
 the wire
THaVDCHit(THaVDCWire* wire = 0, Int_t rawtime = 0, Double_t time = 0.0)
{}
virtual ~THaVDCHit()
{}
Bool_t IsSortable() const
{ return kTRUE; }
THaVDCWire* GetWire() const
 Get and Set Functions
{ return fWire; }
Int_t GetWireNum() const
{ return fWire->GetNum(); }
Int_t GetRawTime() const
{ return fRawTime; }
Double_t GetTime() const
{ return fTime; }
Double_t GetDist() const
{ return fDist; }
Double_t GetPos() const
{ return fWire->GetPos(); }
Double_t GetdDist() const
{ return fdDist; }
Int_t GetTrkNum() const
{ return fTrkNum; }
Int_t GetClsNum() const
{ return fClsNum; }
void SetWire(THaVDCWire* wire)
{ fWire = wire; }
void SetRawTime(Int_t time)
{ fRawTime = time; }
void SetTime(Double_t time)
{ fTime = time; }
void SetDist(Double_t dist)
{ fDist = dist; }
void SetdDist(Double_t ddist)
{ fdDist = ddist; }
void SetFitDist(Double_t dist)
{ ftrDist = dist; }
void SetLocalFitDist(Double_t dist)
{ fltrDist = dist; }
void SetTrkNum(Int_t num)
{ fTrkNum = num; }
void SetClsNum(Int_t num)
{ fClsNum = num; }
THaVDCHit(const THaVDCHit& )
THaVDCHit& operator=(const THaVDCHit& )