class HMdcHitAux: public HRecObject

_HADES_CLASS_DESCRIPTION

An HMdcHitAux is a segment in a mdc module.
Basically, it has a point and two slopes and the corresponding
errors. It also keep track of the calibrated hits that belong
to the segment.
It has the following functions:
- a default constructor
- a copy constructor
- a default destructor
  - addCal(HMdcCal3* data): add a pointer to the calibrated
data passed as argument to the segment.
The pointer to the calibrated hit will be stored in
the HMatrixCategory, and the number of hits in the
segment increased by one.
  - addCal(HMdcCal3* data, Int_t pos):add the calibrated data
           passed as argument to the segment in the position pos
pos is an integer between 1 and 6, corresponding to
the six planes in a mdc module.
The calibrated hit will be stored in the HCategory,
the number of hits in the segment is increased only
if ...
- print(ostream &file):prints the segment information to file
  - printCal():prints the calibrated hits to the standard output
- operator=
- markHits(void):increments the flag of all the hits in the
segment
- unMarkHits(void):decrements the flag of all the hits in the
segment


Function Members (Methods)

public:
HMdcHitAux()
HMdcHitAux(HMdcHitAux& copy)
virtual~HMdcHitAux()
voidTObject::AbstractMethod(const char* method) const
voidaddCal(HMdcCal3* data)
voidaddCal(HMdcCal3* data, Int_t pos)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
voidclear()
virtual voidTObject::Clear(Option_t* = "")
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
HMdcCal3*getCal(Int_t planeNumber)
Float_tgetChi()
Float_tgetCovElement(Int_t i, Int_t j)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Float_tgetErrorSlope1()
Float_tgetErrorSlope2()
virtual const char*TObject::GetIconName() const
Int_tgetIsUsed()
virtual const char*TObject::GetName() const
Int_tgetNumHits()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tgetPointX()
Float_tgetPointY()
Float_tgetPointZ()
Float_tgetSlopeX()
Float_tgetSlopeY()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tgetXError()
Float_tgetYError()
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
Int_tisDel()
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
voidmarkHits()
voidTObject::MayNotUse(const char* method) const
voidnotDel()
virtual Bool_tTObject::Notify()
voidnotUsed()
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)
voidoperator=(HMdcHitAux* other)
voidoperator=(HMdcHitAux& other)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
voidprint(ostream& file)
virtual voidTObject::Print(Option_t* option = "") const
voidprintCal()
voidprintCal(ostream& file)
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)
voidsetChi(Float_t chiSq)
voidsetCovElement(Int_t i, Int_t j, Float_t ele)
voidsetDel()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetError(Float_t xError, Float_t yError)
voidsetErrorSlope(Float_t xerror, Float_t yerror)
voidsetErrorSlopeX(Float_t error)
voidsetErrorSlopeY(Float_t error)
voidsetErrorX(Float_t xError)
voidsetErrorY(Float_t yError)
voidsetHits(Int_t nHits)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetPoint(Float_t x, Float_t y, Float_t z)
voidsetPointX(Float_t x)
voidsetPointY(Float_t y)
voidsetPointZ(Float_t z)
voidsetSlope(Float_t xSlope, Float_t ySlope)
voidsetSlopeX(Float_t xSlope)
voidsetSlopeY(Float_t ySlope)
virtual voidTObject::SetUniqueID(UInt_t uid)
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
voidunMarkHits()
virtual voidTObject::UseCurrentStyle()
voidused()
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()

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:
HMdcCal3*cal[6]pointers to the calibrated hits that
HSymMat5covcovariance matrix of parameters
Int_tisUsed
Float_tmyChichi-square of the fit
Int_tmyNumberOfHitsnumber of hits in the segment
Float_tmyPoint[3]three coordinates of the point
Float_tmySlope[2]two slopes of the segment: x-z, y-z
Int_ttoBeDeleted

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMdcHitAux(HMdcHitAux& copy)
HMdcHitAux(HMdcHitAux& copy)
~HMdcHitAux(void)
void clear(void)
void addCal(HMdcCal3* data)
void addCal(HMdcCal3* data, Int_t pos)
void printCal()
void printCal(ostream& file)
HMdcCal3* getCal(Int_t planeNumber)
{return cal[planeNumber];}
void print(ostream& file)
void print(ostream& file)
void markHits(void)
void unMarkHits(void)
Float_t getPointX(void)
{return myPoint[0];}
Float_t getPointY(void)
{return myPoint[1];}
Float_t getPointZ(void)
{return myPoint[2];}
Float_t getSlopeX(void)
{return mySlope[0];}
Float_t getSlopeY(void)
{return mySlope[1];}
Float_t getChi(void)
{return myChi;}
Float_t getXError(void)
{return cov.getErr(0);}
Float_t getYError(void)
{return cov.getErr(1);}
Float_t getErrorSlope1(void)
{return cov.getErr(2);}
Float_t getErrorSlope2(void)
{return cov.getErr(3);}
Float_t getCovElement(Int_t i, Int_t j)
{ return cov.getElement(i,j);}
Int_t isDel(void)
{return toBeDeleted;}
Int_t getNumHits(void)
{return myNumberOfHits;}
void operator=(HMdcHitAux *other)
void operator=(HMdcHitAux &other)
void setPointX(Float_t x)
{myPoint[0]=x;}
void setPointY(Float_t y)
{myPoint[1]=y;}
void setPointZ(Float_t z)
{myPoint[2]=z;}
void setPoint(Float_t x, Float_t y, Float_t z)
void setSlopeX(Float_t xSlope)
{mySlope[0]=xSlope;}
void setSlopeY(Float_t ySlope)
{mySlope[1]=ySlope;}
void setSlope(Float_t xSlope, Float_t ySlope)
void setErrorX(Float_t xError)
{ cov.setErr(0,xError);}
void setErrorY(Float_t yError)
{ cov.setErr(1,yError);}
void setError(Float_t xError, Float_t yError)
void setErrorSlopeX(Float_t error)
{ cov.setErr(2,error);}
void setErrorSlopeY(Float_t error)
{ cov.setErr(3,error);}
void setErrorSlope(Float_t xerror, Float_t yerror)
void setCovElement(Int_t i, Int_t j, Float_t ele)
{cov.setElement(i,j,ele);}
void setChi(Float_t chiSq)
{myChi=chiSq;}
void setHits(Int_t nHits)
{myNumberOfHits=nHits;}
void setDel(void)
{toBeDeleted=1;}
void notDel(void)
{toBeDeleted=0;}
void used(void)
{isUsed=1;}
void notUsed(void)
{isUsed=0;}
Int_t getIsUsed(void)
{return isUsed;}

Last change: Sat May 22 13:02:16 2010
Last generated: 2010-05-22 13:02

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.