ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » (UNKNOWN) » HRichHit

class HRichHit: public TObject


 $Id: $

*-- Author  : Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
*-- Revised : Martin Jurkovic <martin.jurkovic@ph.tum.de> 2010

_HADES_CLASS_DESCRIPTION


  HRichHit

  Hit candidate container


Function Members (Methods)

public:
HRichHit()
HRichHit(const HRichHit& source)
HRichHit(Int_t x, Int_t y, Int_t q, Int_t fp, Int_t lab)
virtual~HRichHit()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Int_tcalcAddress()
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
voiddumpToStdout()
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_tgetAddress()
Float_tgetCentroid()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tgetEventNr()
virtual const char*TObject::GetIconName() const
voidgetLabXYZ(Float_t* px, Float_t* py, Float_t* pz)
Float_tgetMeanPhi()
Float_tgetMeanTheta()
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
Float_tgetPadX()
Float_tgetPadY()
Float_tgetPhi()
Float_tgetRadius()
Bool_tgetRejFake()
Double_tgetRich700CircleCenterX()
Double_tgetRich700CircleCenterY()
Double_tgetRich700CircleChi2()
Double_tgetRich700CircleRadius()
Int_tgetRich700NofRichCals()
Int_tgetRingAlgorithmIndex()
Int_tgetRingAmplitude()
Int_tgetRingCenterX()
Int_tgetRingCenterY()
Float_tgetRingClusterLMax4()
Float_tgetRingClusterLMax8()
Int_tgetRingClusterNr()
Float_tgetRingClusterSize()
Int_tgetRingHouTra()
Int_tgetRingLocalMax4()
Int_tgetRingLocalMax8()
Int_tgetRingMaxClusterSize()
Int_tgetRingMaxClusterSum()
Int_tgetRingMaxThrClusterSize()
Int_tgetRingPadNr()
Int_tgetRingPatMat()
Int_tgetRingQuality()
Int_tgetSector()
Bool_tgetTestAsym()
Bool_tgetTestBord()
Bool_tgetTestCharge()
Bool_tgetTestDens()
Bool_tgetTestDyna()
Bool_tgetTestRati()
Float_tgetTheta()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
voidgetXY(Float_t* px, Float_t* py)
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
voidinitCalIds()
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_tisNewRich()
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)
HRichHit&operator=(const HRichHit& source)
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)
voidReset()
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)
voidsetCentroid(Float_t centro)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetEventNr(Int_t lNr)
voidsetLabXYZ(Float_t px, Float_t py, Float_t pz)
voidsetMeanPhi(const Float_t phi)
voidsetMeanTheta(const Float_t th)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetPadX(const Float_t padx)
voidsetPadY(const Float_t pady)
voidsetPhi(const Float_t phi)
voidsetRadius(Float_t rad)
voidsetRejFake(Bool_t val)
voidsetRich700CircleCenterX(Double_t val)
voidsetRich700CircleCenterY(Double_t val)
voidsetRich700CircleChi2(Double_t val)
voidsetRich700CircleRadius(Double_t val)
voidsetRich700NofRichCals(Int_t val)
voidsetRingAlgorithmIndex(Short_t algoindex)
voidsetRingAmplitude(Short_t ampl)
voidsetRingCenterX(Int_t x)
voidsetRingCenterY(Int_t y)
voidsetRingClusterLMax4(Float_t clusterLMax4)
voidsetRingClusterLMax8(Float_t clusterLMax8)
voidsetRingClusterNr(Short_t clusternr)
voidsetRingClusterSize(Float_t clustersize)
voidsetRingHouTra(Int_t houtra)
voidsetRingLocalMax4(Short_t locmax4)
voidsetRingLocalMax8(Short_t locmax8)
voidsetRingMaxClusterSize(Int_t fmaxclussize)
voidsetRingMaxClusterSum(Int_t fmaxclussum)
voidsetRingMaxThrClusterSize(Int_t fmaxthrclussize)
voidsetRingPadNr(Short_t padnr)
voidsetRingPatMat(Int_t patmat)
voidsetRingQuality(Int_t qual)
voidsetSector(Int_t s)
voidsetTestAsym(Bool_t val)
voidsetTestBord(Bool_t val)
voidsetTestCharge(Bool_t val)
voidsetTestDens(Bool_t val)
voidsetTestDyna(Bool_t val)
voidsetTestRati(Bool_t val)
voidsetTheta(const Float_t th)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetXY(Float_t px, Float_t py)
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()

Data Members

public:
Int_tfAddressaddress of a pad - centre of a ring
Float_tfBorderFactor1 if ring inside, less than 1 if partially outside
Float_tfLabXx ring position in LAB
Float_tfLabYy ring position in LAB
Float_tfLabZz ring position in LAB
Int_tfMaxClusterSizelocal maximum cluster size
Int_tfMaxClusterSumintegrated amplitude of a local maximum cluster
Int_tfMaxThrClusterSizelocal maximum cluster size above threshold
Float_tfMeanPhiphi (weighted mean of local max cluster)
Float_tfMeanThetatheta (weighted mean of local max cluster)
Float_tfPadXx coordinate of a ring in pad units (with pad fraction, mean)
Float_tfPadYy coordinate of a ring in pad units (with pad fraction, mean)
Float_tfPhiphi angle of presumable lepton emitted from a target (in deg)
Bool_tfRejFaketest of the ring quality of those candidates that are near a candidate with very high quality. Those candidates could be fakes, the flag is 0 if the ring is rejected.
UShort_tfRich700CalIds[30]store cal ids assigned to ring
Double_tfRich700CircleCenterX
Double_tfRich700CircleCenterY
Double_tfRich700CircleChi2
Double_tfRich700CircleRadius
Int_tfRich700NofRichCals
Float_tfRingCentroidring centroid calculated during assymetry test
Float_tfRingClusterLMax4mean cluster size with 4-connected local maximum
Float_tfRingClusterLMax8mean cluster size with 8-connected local maximum
Float_tfRingClusterSizemean custer size in a ring
Float_tfRingRadiusring radius (harmonical mean)
Bool_tfTestAsymasymmetry test, only for rings inside the frame
Bool_tfTestBordborder amplitude decrease test
Bool_tfTestChargering charge test.
Bool_tfTestDensdensity test
Bool_tfTestDynadynamical amplitude test
Bool_tfTestRatiratio of fired pads in and outside a ring test
Int_tfTestsfTestDens+10*fTestBord+100*fTestDyna+1000*fTestRati+10000*fTestAsym + fTestCharge*100000 + fRejFake*1000000;
Float_tfThetatheta angle of presumable lepton emitted from a target (in deg)
Float_tfXx coordinate of a ring in cm (weighted mean of local max cluster) on padplane
Float_tfYy coordinate of a ring in cm (weighted mean of local max cluster) on padplane
Int_tiRingAlgorithmIndexindex describing algorithm, odd - PM, even - HT
Int_tiRingAmplitudeintegrated charge (charge of all pads) in a ring
Int_tiRingClusterNrnumber of clusters in a ring
Int_tiRingFreeParam! pad label number
Int_tiRingHouTramaximum amplitude of Hough Transform (HT)
Int_tiRingImage[256]! used internally to calculate clusters
static Int_tiRingImageSize! this must be == iRingMaskSize
Int_tiRingLocalMax4number of 4-connected local maxima in a ring
Int_tiRingLocalMax8number of 8-connected local maxima in a ring
Int_tiRingMaxLabel! local maximum label number
Int_tiRingPadNrnumber of fired pads in a ring
Int_tiRingPatMatmaximum amplitude of Pattern Matrix (PM)
Int_tiRingQuality! this is iRingPatMat or iRingHouTra
Int_tiRingXx coordinate of a ring in pad units , RICH700 : PMT index x
Int_tiRingYy coordinate of a ring in pad units , RICH700 : PMT index y
Int_tlEventNrevent number
Int_tnSectorsector number, 0-5, 0 is the uppermost

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HRichHit()
HRichHit(Int_t x, Int_t y, Int_t q, Int_t fp, Int_t lab)
~HRichHit()
{}
HRichHit(const HRichHit& source)
HRichHit& operator=(const HRichHit& source)
void initCalIds()
void Reset()
Int_t calcAddress()
void dumpToStdout()
void Streamer(TBuffer& )
 Stream an object of class HRichHit.
Int_t getSector(void)
{ return nSector; }
Int_t getAddress()
{ return (fAddress > 0) ? fAddress : calcAddress(); }
Int_t getEventNr()
{ return lEventNr; }
void getXY(Float_t* px, Float_t* py)
{ *px = fX; *py = fY; }
void getLabXYZ(Float_t* px, Float_t* py, Float_t* pz)
{ *px = fLabX; *py = fLabY; *pz = fLabZ; }
Float_t getTheta()
{ return fTheta; }
Float_t getPhi()
{ return fPhi; }
Int_t getRingCenterX()
{ return iRingX; }
Int_t getRingCenterY()
{ return iRingY; }
Double_t getRich700CircleCenterX()
NEW RICH700
Double_t getRich700CircleCenterY()
Double_t getRich700CircleRadius()
Double_t getRich700CircleChi2()
{ return fRich700CircleChi2; }
Int_t getRich700NofRichCals()
Float_t getPadY()
{ return fPadY; }
Float_t getPadX()
{ return fPadX; }
Bool_t getTestRati()
{ return fTestRati; }
Bool_t getTestAsym()
{ return fTestAsym; }
Bool_t getTestCharge()
{ return fTestCharge;}
Float_t getMeanTheta()
{ return fMeanTheta; }
Float_t getMeanPhi()
{ return fMeanPhi; }
Bool_t getTestDens()
{ return fTestDens; }
Bool_t getTestBord()
{ return fTestBord; }
Bool_t getTestDyna()
{ return fTestDyna; }
Bool_t getRejFake()
{ return fRejFake; }
Int_t getRingQuality()
{ return iRingQuality; }
Int_t getRingPatMat()
{ return iRingPatMat; }
Int_t getRingHouTra()
{ return iRingHouTra; }
Int_t getRingAmplitude()
{ return (Int_t) iRingAmplitude; }
Int_t getRingPadNr()
{ return (Int_t) iRingPadNr; }
Int_t getRingLocalMax4()
{ return (Int_t) iRingLocalMax4; }
Int_t getRingLocalMax8()
{ return (Int_t) iRingLocalMax8; }
Int_t getRingClusterNr()
{ return (Int_t) iRingClusterNr; }
Int_t getRingAlgorithmIndex()
Float_t getRingClusterSize()
{ return fRingClusterSize; }
Float_t getRingClusterLMax4()
{ return fRingClusterLMax4; }
Float_t getRingClusterLMax8()
{ return fRingClusterLMax8; }
Int_t getRingMaxClusterSize()
{ return fMaxClusterSize; }
Int_t getRingMaxClusterSum()
{ return fMaxClusterSum; }
Int_t getRingMaxThrClusterSize()
{ return fMaxThrClusterSize; }
Float_t getCentroid()
{ return fRingCentroid; }
Float_t getRadius()
{ return fRingRadius; }
void setSector(Int_t s)
COMMON
{ nSector = s; }
void setEventNr(Int_t lNr)
{ lEventNr = lNr; }
void setTheta(const Float_t th)
{ fTheta = th; }
void setPhi(const Float_t phi)
{ fPhi = phi; }
void setXY(Float_t px, Float_t py)
{ fX = px; fY = py; }
void setLabXYZ(Float_t px, Float_t py, Float_t pz)
{ fLabX = px; fLabY = py; fLabZ = pz; }
void setRingCenterX(Int_t x)
{ iRingX = x; }
void setRingCenterY(Int_t y)
{ iRingY = y; }
void setRich700CircleCenterX(Double_t val)
NEW RICH700
void setRich700CircleCenterY(Double_t val)
void setRich700CircleRadius(Double_t val)
void setRich700CircleChi2(Double_t val)
void setRich700NofRichCals(Int_t val)
void setPadY(const Float_t pady)
OLD RICH
{ fPadY = pady; }
void setPadX(const Float_t padx)
{ fPadX = padx; }
void setMeanTheta(const Float_t th)
{ fMeanTheta = th; }
void setMeanPhi(const Float_t phi)
{ fMeanPhi = phi; }
void setTestDens(Bool_t val)
{ fTestDens = val; }
void setTestBord(Bool_t val)
{ fTestBord = val; }
void setTestDyna(Bool_t val)
{ fTestDyna = val; }
void setTestRati(Bool_t val)
{ fTestRati = val; }
void setTestAsym(Bool_t val)
{ fTestAsym = val; }
void setTestCharge(Bool_t val)
{ fTestCharge = val; }
void setRejFake(Bool_t val)
{ fRejFake = val; }
void setRingQuality(Int_t qual)
{ iRingQuality = qual; }
void setRingPatMat(Int_t patmat)
{ iRingPatMat = patmat; }
void setRingHouTra(Int_t houtra)
{ iRingHouTra = houtra; }
void setRingAmplitude(Short_t ampl)
{ iRingAmplitude = ampl; }
void setRingPadNr(Short_t padnr)
{ iRingPadNr = padnr; }
void setRingLocalMax4(Short_t locmax4)
{ iRingLocalMax4 = locmax4; }
void setRingLocalMax8(Short_t locmax8)
{ iRingLocalMax8 = locmax8; }
void setRingClusterNr(Short_t clusternr)
{ iRingClusterNr = clusternr; }
void setRingAlgorithmIndex(Short_t algoindex)
{ iRingAlgorithmIndex = algoindex; }
void setRingClusterSize(Float_t clustersize)
{ fRingClusterSize = clustersize; }
void setRingClusterLMax4(Float_t clusterLMax4)
{ fRingClusterLMax4 = clusterLMax4; }
void setRingClusterLMax8(Float_t clusterLMax8)
{ fRingClusterLMax8 = clusterLMax8; }
void setRingMaxClusterSize(Int_t fmaxclussize)
{ fMaxClusterSize = fmaxclussize; }
void setRingMaxClusterSum(Int_t fmaxclussum)
{ fMaxClusterSum = fmaxclussum; }
void setRingMaxThrClusterSize(Int_t fmaxthrclussize)
{ fMaxThrClusterSize = fmaxthrclussize; }
void setCentroid(Float_t centro)
{ fRingCentroid = centro; }
void setRadius(Float_t rad)
{ fRingRadius = rad; }
Bool_t isNewRich()
{ return fRich700NofRichCals == 0 ? kFALSE: kTRUE; }