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

class HMdcCluster: public TObject

_HADES_CLASS_DESCRIPTION

 HMdcCluster

 Temporary cluster information for cluster finder


Function Members (Methods)

public:
HMdcCluster()
HMdcCluster(const HMdcCluster&)
virtual~HMdcCluster()
voidTObject::AbstractMethod(const char* method) const
voidaddBin(Int_t nx, Int_t ny, UChar_t wt)
voidaddClus(HMdcCluster& clst2)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidcalcClusParam()
voidcalcXY()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidclearBinStat()
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)
UChar_t&fakeFlagS()
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidfillClus(HMdcClus* clus, Int_t nLst, Bool_t fillTrList)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HMdcCluster*getClusMerg() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
UChar_tgetFakeFlag() const
Char_tgetFlag() const
virtual const char*TObject::GetIconName() const
Char_tgetIOSeg() const
HMdcList12GroupCells&getLCells1()
HMdcList12GroupCells&getLCells2()
Int_tgetMinWt() const
HMdcCluster*getMod1Clus()
HMdcCluster*getMod2Clus()
HMdcCluster*getModCluster(Int_t im)
virtual const char*TObject::GetName() const
Int_tgetNBins() const
Int_tgetNUniqueAndRWiresSeg1(HMdcSecListCells* pListCells, Int_t& nRWires)
Int_tgetNUniqueWiresSeg1(HMdcSecListCells* pListCells)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UChar_tgetRealFlag() const
Int_tgetRealLevel() const
Char_tgetSegment() const
Bool_tgetStatus() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tgetX() const
Float_tgetY() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidincFlag()
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
voidinit(Char_t sec, Char_t seg, Float_t x, Float_t y, Float_t sx, Float_t sy)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tisClusterAmpEq(Int_t amp) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tisModClusNotTheSame(HMdcCluster& cls2)
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)
HMdcCluster&operator=(const HMdcCluster&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
UChar_t&realFlagS()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidresetFakeFlagSeg1(Bool_t fake, HMdcSecListCells* pListCells)
voidresetRealFlagSeg1(Bool_t real, HMdcSecListCells* pListCells)
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)
voidsetClusMerg(HMdcCluster* cl)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetFakeFlag(UChar_t fl)
voidsetFakeFlagAndStatus(UChar_t fl)
voidsetFlag(Char_t fl)
voidsetMod1Clus(HMdcCluster* cl)
voidsetMod1ClusSkipMerg(HMdcCluster* clusM1)
voidsetMod2Clus(HMdcCluster* cl)
voidsetMod2ClusSkipMerg(HMdcCluster* clusM2)
voidsetModCluster(Int_t im, HMdcCluster* cl)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetStatus(Bool_t st)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidsumClus(HMdcCluster& clst1, HMdcCluster& clst2)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Int_ttestForInc34CFnd(HMdcCluster& cl2)
Int_ttestForInclude(HMdcCluster& cl2)
Bool_ttestNLayersSeg1()
Bool_ttestNLayersSeg2()
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:
voidcorrectContent(Int_t iXf, Int_t iYf)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
Float_talpha
HMdcCluster*clusMergclusMerg=0 if status=kTRUE else -merged cluster
HMdcCluster*clusMod1mod.1 cluster address
HMdcCluster*clusMod2mod.2 cluster address
Float_terrXposition errors
Float_terrY
UChar_tfakeFlagflag of fake suppression code
Char_tflagfor combined clusters, >0 - cluster saved
Int_tiXFirst
Int_tiYFirst
HMdcList12GroupCellslCells1
HMdcList12GroupCellslCells2
Int_tmeanXvar. for calculation of cluster shape
Int_tmeanXWtposition of cluster (calc. with weights)
Int_tmeanXX-/-
Int_tmeanXXWtX dispersion
Int_tmeanY-/-
Int_tmeanYWt-/-
Int_tmeanYX-/-
Int_tmeanYY-/-
Int_tmeanYYWtY dispersion
Int_tminWtminimal value of Wt
Int_tnBinsnum. of bins in cluster
Int_tnLayers1number of layers in lCells1
Int_tnLayers2number of layers in lCells2
Short_tnMergedClusNumber of merged clusters
Int_tnumCells1number of cells in lCells1
Int_tnumCells2number of cells in lCells2
UChar_trealFlagflag of fake suppression code
Char_tsector
Char_tsegment=0-lCells1 is used; =1-lCells2; -1 - lCells1&2
Float_tsigma1cluster shape
Float_tsigma2
Bool_tstatus=kFALSE - removed by merging
Int_tsumWtsum weights of bins
Float_txcluster position
Float_tx0x of the first bin
Float_txStbin size
Float_ty
Float_ty0y of the first bin
Float_tyStbin size

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void init(Char_t sec, Char_t seg, Float_t x, Float_t y, Float_t sx, Float_t sy)
void clearBinStat(void)
void setModCluster(Int_t im, HMdcCluster* cl)
void addClus(HMdcCluster& clst2)
 seg!=0 and seg!=1 - inner and outer segments
void correctContent(Int_t iXf, Int_t iYf)
void calcXY(void)
void sumClus(HMdcCluster& clst1, HMdcCluster& clst2)
void calcClusParam(void)
void fillClus(HMdcClus* clus, Int_t nLst, Bool_t fillTrList)
void print(void)
 Debug print:
Int_t testForInclude(HMdcCluster& cl2)
 For HMdcLookUpTb !
 Function test are wires from one cluster fully included in another cluster.
 Index of "this" obj. in array must be < index cl2 !!!
 ??? return kTRUE 0,1,2, or 3if "cl2" is included to "this" (STOP LOOP)
 ??? return kFALSE cl2 is not included to "this" or "this" is included to "cl2"
Int_t testForInc34CFnd(HMdcCluster& cl2)
 For HMdc34ClFinder !
 Function test are wires from one cluster fully included in another cluster.
 Index of "this" obj. in array must be < index cl2 !!!
 return kTRUE if "cl2" is included to "this" (STOP LOOP)
 return kFALSE cl2 is not included to "this" or "this" is included to "cl2"
void setMod1ClusSkipMerg(HMdcCluster* clusM1)
void setMod2ClusSkipMerg(HMdcCluster* clusM2)
Bool_t isModClusNotTheSame(HMdcCluster& cls2)
Bool_t testNLayersSeg1(void)
Bool_t testNLayersSeg2(void)
Int_t getNUniqueWiresSeg1(HMdcSecListCells* pListCells)
Int_t getNUniqueAndRWiresSeg1(HMdcSecListCells* pListCells, Int_t& nRWires)
void resetFakeFlagSeg1(Bool_t fake, HMdcSecListCells* pListCells)
void resetRealFlagSeg1(Bool_t real, HMdcSecListCells* pListCells)
void addBin(Int_t nx, Int_t ny, UChar_t wt)
Bool_t isClusterAmpEq(Int_t amp) const
 For ghosts removing in inner segment
HMdcCluster(const HMdcCluster& )
{}
~HMdcCluster(void)
{}
Char_t getSegment(void)
{return segment;}
HMdcCluster* getModCluster(Int_t im)
HMdcCluster * getMod1Clus(void)
{return clusMod1;}
HMdcCluster * getMod2Clus(void)
{return clusMod2;}
Char_t getIOSeg(void)
{return segment;}
Int_t getNBins(void)
{return nBins;}
void setMod1Clus(HMdcCluster* cl)
{clusMod1=cl;}
void setMod2Clus(HMdcCluster* cl)
{clusMod2=cl;}
HMdcCluster * getClusMerg(void)
{return clusMerg;}
void setClusMerg(HMdcCluster* cl)
{clusMerg=cl;}
void incFlag(void)
{flag++;}
HMdcList12GroupCells& getLCells1(void)
{return lCells1;}
HMdcList12GroupCells& getLCells2(void)
{return lCells2;}
Bool_t getStatus(void)
{return status;}
void setStatus(Bool_t st)
{status = st;}
Char_t getFlag(void)
{return flag;}
void setFlag(Char_t fl)
{flag=fl;}
Float_t getX(void)
{return x;}
Float_t getY(void)
{return y;}
Int_t getMinWt(void)
{return minWt;}
Int_t getRealLevel(void)
{return minWt;}
void setFakeFlag(UChar_t fl)
{fakeFlag = fl;}
void setFakeFlagAndStatus(UChar_t fl)
UChar_t getFakeFlag(void)
{return fakeFlag;}
UChar_t & fakeFlagS(void)
{return fakeFlag;}
UChar_t getRealFlag(void)
{return realFlag;}
UChar_t & realFlagS(void)
{return realFlag;}