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
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
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()
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(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetdDist(Double_t ddist)
voidSetDist(Double_t dist)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFitDist(Double_t dist)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetRawTime(Int_t time)
voidSetTime(Double_t time)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetWire(THaVDCWire* wire)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Double_tfDist(Perpendicular) Drift Distance
Int_tfRawTimeTDC value (channels)
Double_tfTimeTime corrected for time offset of wire (s)
THaVDCWire*fWireWire on which the hit occurred
Double_tfdDistuncertainty in fDist (for chi2 calc)
Double_tftrDist(Perpendicular) distance from the track
static const Double_tkBig!

Class Charts

Inheritance Chart:
TObject
THaVDCHit

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()
{ return kTRUE; }
THaVDCWire* GetWire()
 Get and Set Functions
{ return fWire; }
Int_t GetWireNum()
{ return fWire->GetNum(); }
Int_t GetRawTime()
{ return fRawTime; }
Double_t GetTime()
{ return fTime; }
Double_t GetDist()
{ return fDist; }
Double_t GetPos()
{ return fWire->GetPos(); }
Double_t GetdDist()
{ return fdDist; }
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; }
THaVDCHit(const THaVDCHit& )
THaVDCHit& operator=(const THaVDCHit& )

Last change: Sat Nov 7 21:26:55 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.