class HMetaMatch: public TObject


  HMetaMatch

  Keep indexes of hits for one track, matching qualities, and
  indexes of track objects (HSplineTrack, HKickTrackB,...).

  Indexis of hits:
    trkCandInd                      -  index of HTrkCand object
    showerHitInd                    -  index of HShowerHitTof object
    tofHitInd                       -  index of HTofHit or HTofCluster object
    aRichIndTable[RICH_TAB_SIZE]    -  arr.of indexes of HRichHit objects
    aRichIPUIndTable[RICH_TAB_SIZE] -  arr.of indexes of HRichHitIPU objects

    Arrais aRichIndTable and aRichIPUIndTable are sorted by matching quality
    and can keep up to 3 ring indexes.

 Quality MDC SHOWER matching:
   Xs,Ys - shower hit position in coordinate system of shower module
   dXs,dYs - hit position errors (== HShowerHit::getSigmaX(), getSigmaY())
   Xm,Ym - mdc segment cross point with shower module in coordinate system
           of corresponding shower module
   showerSigmaXOffset & showerSigmaYOffset - from HMetaMatchPar cont.
   showerSigmaXMdc & showerSigmaYMdc - from HMetaMatchPar cont.
   qualityShower =
     sqrt[((Xs - Xm - showerSigmaXOffset)/sqrt(dXs^2 + showerSigmaXMdc^2))^2 +
          ((Ys - Ym - showerSigmaYOffset)/sqrt(dYs^2 + showerSigmaYMdc^2))^2]

 Tof:
   Xt,Yt - toh hit (or tof cluster position in coordinate system of tof module
   Xm,Ym - mdc segment cross point with tof module in coordinate system
           of corresponding tof module
   tofSigmaXOffset, tofSigmaYOffset - from HMetaMatchPar cont.
   tofSigmaX, tofSigmaY - from HMetaMatchPar cont.
   qualityTof = sqrt[ ((Xt - Xm - tofSigmaXOffset)/tofSigmaX)^2 +
                      ((Yt - Ym - tofSigmaYOffset)/tofSigmaY)^2 ]


Function Members (Methods)

public:
HMetaMatch()
HMetaMatch(const HMetaMatch&)
HMetaMatch(HMetaMatch* fMetaMatch, Short_t ind)
HMetaMatch(Short_t sec, Short_t tkInd, Short_t ind)
virtual~HMetaMatch()
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_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
Short_tgetARichInd(const Short_t id) const
Short_tgetARichIPUInd(const Short_t id) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Float_tgetdxMeta()
Float_tgetdyMeta()
Short_tgetFirstCandForMeta() const
Short_tgetFirstMMForSameMeta() const
Short_tgetFirstMMForSameTrCnd() const
virtual const char*TObject::GetIconName() const
Short_tgetIndMMForTofClst() const
Short_tgetKick123Ind() const
Short_tgetKickInd() const
voidgetMdcSegCross(Float_t& x, Float_t& y)
Short_tgetMetaHitInd() const
virtual const char*TObject::GetName() const
Short_tgetNCandForIPU() const
Short_tgetNCandForMeta() const
Short_tgetNCandForRich() const
Short_tgetNextCandForMeta() const
Short_tgetNextMMForSameMeta() const
Short_tgetNextMMForSameTrCnd() const
Short_tgetNextMMForTofHit() const
Short_tgetNumMMForSameMeta() const
Short_tgetNumMMForSameTrCnd() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tgetQualitySHOWER()
Float_tgetQualityTOF()
Short_tgetRtInd() const
Short_tgetRungeKuttaInd() const
Char_tgetSector() const
Short_tgetShowerHitInd() const
Short_tgetSplineInd() const
Int_tgetSystem() const
virtual const char*TObject::GetTitle() const
Char_tgetTofClusterSize() const
Short_tgetTofHitInd() const
Short_tgetTrkCandInd() const
virtual UInt_tTObject::GetUniqueID() const
Float_tgetXSegCross() const
Float_tgetYSegCross() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidincrNumMMForSameTrkCnd()
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_tisKick123Accepted() const
Bool_tisKickAccepted() const
Bool_tTObject::IsOnHeap() const
Bool_tisOverlap() const
Bool_tisRtAccepted() const
Bool_tisRungeKuttaAccepted() const
virtual Bool_tTObject::IsSortable() const
Bool_tisSplineAccepted() 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)
HMetaMatch&operator=(HMetaMatch& met)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
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 = "")
voidsetARichInd(Short_t id, Short_t richind)
voidsetARichIPUInd(Short_t id, Short_t richind)
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)
voidsetdxMeta(Float_t DXMETA)
voidsetdyMeta(Float_t DYMETA)
voidsetFirstCandForMeta(Short_t firstmeta)
voidsetFirstMMForSameMeta(Short_t ind)
voidsetFirstMMForSameTrCnd(Short_t firstmeta)
voidsetIndMMForTofClst(Short_t ind)
voidsetKick123Accept()
voidsetKick123Ind(Short_t kicktr)
voidsetKickAccept()
voidsetKickInd(Short_t kicktr)
voidsetMdcSegCross(Float_t x, Float_t y)
voidsetMetaHitInd(Short_t shower, Short_t tof)
voidsetNCandForIPU(Short_t nrich)
voidsetNCandForMeta(Short_t nmeta)
voidsetNCandForRich(Short_t nrich)
voidsetNextCandForMeta(Short_t nextmeta)
voidsetNextMMForSameMeta(Short_t ind)
voidsetNextMMForSameTrCnd(Short_t nextmeta)
voidsetNextMMForTofHit(Short_t ind)
voidsetNumMMForSameMeta(Short_t n)
voidsetNumMMForSameTrCnd(Short_t nmeta)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetQualitySHOWER(Float_t QUALITYSHOWER)
voidsetQualityTOF(Float_t QUALITYTOF)
voidsetRtAccept()
voidsetRtInd(Short_t rtind)
voidsetRungeKuttaAccept()
voidsetRungeKuttaInd(Short_t rktr)
voidsetSector(Char_t sec)
voidsetShowerHitInd(Short_t shower)
voidsetSplineAccept()
voidsetSplineInd(Short_t splind)
voidsetTofClusterSize(Char_t clsz)
voidsetTofHitInd(Short_t tof)
voidsetTrkCandInd(Short_t trkind)
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
voidunsetKick123Accept()
voidunsetKickAccept()
voidunsetRtAccept()
voidunsetRungeKuttaAccept()
voidunsetSplineAccept()
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()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
Int_taRichIPUIndTable[3]arr.of indexes of HRichHitIPU objects
Int_taRichIndTable[3]arr.of indexes of HRichHit objects
Float_tdxMetaDeviation in X-coordinate in META between hit and segment
Float_tdyMetaDeviation in X-coordinate in META between hit and segment
Short_tfirstCandForMetaindex of the first MetaMatch obj. for the same HTrkCand in this chain
Short_tfirstMMForSameMetaindex of the first MetaMatch obj. for the same meta hit in this chain
Char_tflagUser flags bit array (8 flags, one bit / flag)
Short_tindMMForTofClstindex of MetaMatch obj. with tofTofClusterSize>1
Short_tkick123Indindex of HKickTrack123B in catKickTrack123B
Short_tkickIndindex of HKickTrackB in catKickTrackB
Short_tnCandForMetanumber of MetaMatch obj. for the same HTrkCand
Short_tnRichIPUIdnumber of matched rings in aRichIPUIndTable[]
Short_tnRichIdnumber of matched rings in aRichIndTable[]
Short_tnextCandForMetaindex of next MetaMatch obj. for the same HTrkCand
Short_tnextMMForSameMetaindex of the next MetaMatch obj. for the same meta hit
Short_tnextMMForTofHitindex of MetaMatch obj. with next stripe(TofHit) from TofCluster
Short_tnumMMForSameMetanumber of MetaMatch obj. for the same meta hit
Float_tqualitySHOWERMDC SHOWER matching quality
Float_tqualityTOFMDC TOF matching quality
Short_trtIndindex of HRtMetaTrack object
Short_trungeKuttaIndindex of HRKTrackB in catRKTrackB
Char_tsectorsector number
Short_tshowerHitIndindex of HShowerHitTof object
Short_tsplineIndindex of HSplineTrack object
Char_ttofClusterSizetofClusterSize / tofHitInd
Short_ttofHitIndindex of HTofHit or HTofCluster object
Short_ttrkCandIndindex of HTrkCand object
Float_txSegCrx,y (z=0) - cross point of MdcSeg with meta
Float_tySegCrdetector (tof or shower) in module coor.sys.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMetaMatch()
HMetaMatch(Short_t sec, Short_t tkInd, Short_t ind)
HMetaMatch(HMetaMatch* fMetaMatch, Short_t ind)
 ind - index of this object
HMetaMatch& operator=(HMetaMatch& met)
void setSplineInd(Short_t splind)
void setRtInd(Short_t rtind)
void setKickInd(Short_t kicktr)
void setKick123Ind(Short_t kicktr)
void setRungeKuttaInd(Short_t rktr)
void print(void)
void Streamer(TBuffer& b)
 Stream an object of class HMetaMatch.
void incrNumMMForSameTrkCnd(void)
HMetaMatch()
 of this meta hit
~HMetaMatch()
{;}
void setTrkCandInd(Short_t trkind)
{trkCandInd=trkind;}
void setMetaHitInd(Short_t shower, Short_t tof)
void setShowerHitInd(Short_t shower)
{showerHitInd=shower;}
void setTofHitInd(Short_t tof)
{tofHitInd=tof;}
void setTofClusterSize(Char_t clsz)
{tofClusterSize=clsz;}
void setNCandForMeta(Short_t nmeta)
{nCandForMeta=nmeta;}
void setNextCandForMeta(Short_t nextmeta)
{nextCandForMeta=nextmeta;}
void setFirstCandForMeta(Short_t firstmeta)
{firstCandForMeta=firstmeta;}
void setNumMMForSameTrCnd(Short_t nmeta)
{nCandForMeta=nmeta;}
void setNextMMForSameTrCnd(Short_t nextmeta)
{nextCandForMeta=nextmeta;}
void setFirstMMForSameTrCnd(Short_t firstmeta)
{firstCandForMeta=firstmeta;}
void setQualityTOF(Float_t QUALITYTOF)
{qualityTOF=QUALITYTOF;}
void setQualitySHOWER(Float_t QUALITYSHOWER)
{qualitySHOWER=QUALITYSHOWER;}
void setdxMeta(Float_t DXMETA)
{dxMeta=DXMETA;}
void setdyMeta(Float_t DYMETA)
{dyMeta=DYMETA;}
void setMdcSegCross(Float_t x, Float_t y)
{xSegCr=x; ySegCr=y;}
void setSector(Char_t sec)
{sector=sec;}
void setNCandForRich(Short_t nrich)
{nRichId=nrich;}
void setNCandForIPU(Short_t nrich)
{nRichIPUId=nrich;}
void setARichInd(Short_t id, Short_t richind)
void setARichIPUInd(Short_t id, Short_t richind)
void setIndMMForTofClst(Short_t ind)
{indMMForTofClst=ind;}
void setNextMMForTofHit(Short_t ind)
{nextMMForTofHit=ind;}
void setNumMMForSameMeta(Short_t n)
{numMMForSameMeta=n;}
void setNextMMForSameMeta(Short_t ind)
{nextMMForSameMeta=ind;}
void setFirstMMForSameMeta(Short_t ind)
{firstMMForSameMeta=ind;}
Short_t getTrkCandInd(void)
{return trkCandInd;}
Short_t getNCandForMeta(void)
{return nCandForMeta;}
Short_t getFirstCandForMeta(void)
{return firstCandForMeta;}
Short_t getNextCandForMeta(void)
{return nextCandForMeta;}
Short_t getNumMMForSameTrCnd(void)
{return nCandForMeta;}
Short_t getFirstMMForSameTrCnd(void)
{return firstCandForMeta;}
Short_t getNextMMForSameTrCnd(void)
{return nextCandForMeta;}
Float_t getQualityTOF(void)
{return qualityTOF;}
Float_t getQualitySHOWER(void)
{return qualitySHOWER;}
Float_t getdxMeta(void)
{return dxMeta;}
Float_t getdyMeta(void)
{return dyMeta;}
Short_t getSplineInd(void)
{return splineInd;}
Short_t getRtInd(void)
{return rtInd;}
Short_t getKickInd(void)
{return kickInd;}
Short_t getKick123Ind(void)
{return kick123Ind;}
Short_t getRungeKuttaInd(void)
{return rungeKuttaInd;}
Char_t getSector(void)
{return sector;}
Bool_t isOverlap(void)
Short_t getMetaHitInd(void)
Int_t getSystem(void)
Short_t getShowerHitInd(void)
{return showerHitInd;}
Short_t getTofHitInd(void)
{return tofHitInd;}
Char_t getTofClusterSize(void)
{return tofClusterSize;}
void getMdcSegCross(Float_t& x, Float_t& y)
{x=xSegCr; y=ySegCr;}
Float_t getXSegCross(void)
{return xSegCr;}
Float_t getYSegCross(void)
{return ySegCr;}
Short_t getNCandForRich(void)
{return nRichId;}
Short_t getNCandForIPU(void)
{return nRichIPUId;}
Short_t getARichInd(const Short_t id) const
Short_t getARichIPUInd(const Short_t id) const
Short_t getIndMMForTofClst(void)
{return indMMForTofClst;}
Short_t getNextMMForTofHit(void)
{return nextMMForTofHit;}
Short_t getNumMMForSameMeta(void)
{return numMMForSameMeta;}
Short_t getNextMMForSameMeta(void)
{return nextMMForSameMeta;}
Short_t getFirstMMForSameMeta(void)
{return firstMMForSameMeta;}
void setSplineAccept(void)
{flag |= 1;}
void setRtAccept(void)
{flag |= 2;}
void setKickAccept(void)
{flag |= 4;}
void setKick123Accept(void)
{flag |= 8;}
void setRungeKuttaAccept(void)
{flag |= 16;}
void unsetSplineAccept(void)
{flag &= ~1;}
void unsetRtAccept(void)
{flag &= ~2;}
void unsetKickAccept(void)
{flag &= ~4;}
void unsetKick123Accept(void)
{flag &= ~8;}
void unsetRungeKuttaAccept(void)
{flag &= ~16;}
Bool_t isSplineAccepted(void)
{return (flag&1) ? kTRUE:kFALSE;}
Bool_t isRtAccepted(void)
{return (flag&2) ? kTRUE:kFALSE;}
Bool_t isKickAccepted(void)
{return (flag&4) ? kTRUE:kFALSE;}
Bool_t isKick123Accepted(void)
{return (flag&8) ? kTRUE:kFALSE;}
Bool_t isRungeKuttaAccepted(void)
{return (flag&16) ? kTRUE:kFALSE;}

Last change: Sat May 22 13:04:38 2010
Last generated: 2010-05-22 13:04

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.