class HMdcList12GroupCells: public TObject

_HADES_CLASS_DESCRIPTION


  HMdcList12GroupCells - list groups of cells in 12 layers (2 mdc)
                         It's base class for HMdcClus

  HMdcList24GroupCells - list groups of cells in 24 layers (4 mdc)


Function Members (Methods)

public:
HMdcList12GroupCells()
HMdcList12GroupCells(const HMdcList12GroupCells&)
virtual~HMdcList12GroupCells()
voidTObject::AbstractMethod(const char* method) const
Int_tadd(HMdcList12GroupCells* lst)
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
Int_tcompare(const HMdcList12GroupCells* lst, Int_t l1 = -1, Int_t l2 = -1, HMdcList12GroupCells* lstIdent = 0) const
Int_tcompareAndUnset(const HMdcList12GroupCells* lst, HMdcList12GroupCells* lstIdent, Int_t modi = -1)
virtual voidTObject::Copy(TObject& object) const
voidcopyData(const UChar_t* a, const Int_t* fc)
virtual voidTObject::Delete(Option_t* option = "")MENU
voiddelTime(Int_t lay, Int_t cell, UChar_t time)
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
static Bool_tfindOverlap(Int_t& c1, Int_t& c2)
Int_tget4FirstCells(Int_t lay, Int_t* list) const
Int_tgetActiveModule() const
const UChar_t*getArr() const
Int_tgetCell(Int_t lay, Int_t idx) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const Int_t*getFirstCell() const
Int_tgetFirstCell(Int_t lay) const
virtual const char*TObject::GetIconName() const
Int_tgetLastCell(Int_t lay) const
UChar_tgetListLayers(Int_t imod = -1) const
Int_tgetMaxNCellsPerLay() const
virtual const char*TObject::GetName() const
Int_tgetNCells() const
Int_tgetNCells(Int_t lay, Int_t layEnd = -1) const
Int_tgetNDrTimes() const
Int_tgetNDrTimes(Int_t lay) const
Int_tgetNDrTimes(Int_t lay1, Int_t lay2) const
Int_tgetNDrTimesMod(Int_t m) const
Bool_tgetNext(Int_t lay, Int_t& cell) const
Bool_tgetNextCell(Int_t& lay, Int_t& cell) const
Int_tgetNLayers() const
Int_tgetNLayers(Int_t imod) const
Int_tgetNLayersMod(Int_t mod) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UChar_tgetTime(Int_t lay, Int_t cell) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() 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_tisIncluded(const HMdcList12GroupCells& lst, Int_t l1 = 0, Int_t l2 = 11) const
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
Int_tnext(Int_t lay, Int_t prCell) const
Int_tnext(Int_t lay, Int_t prCell, UChar_t& tm) const
Int_tnIdentDrTimes(const HMdcList12GroupCells* lst, Int_t l1 = 0, Int_t l2 = 11) 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)
HMdcList12GroupCells&operator=(const HMdcList12GroupCells& lst)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
Int_tprevious(Int_t lay, Int_t prCell) const
voidprint() const
voidprint(Int_t lay) const
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)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
Int_tsetTime(Int_t lay, Int_t cell, UChar_t time)
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
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:
UChar_t*cellAddr(Int_t lay, Int_t cell)
const UChar_t*cellAddrC(Int_t lay, Int_t cell) const
Bool_tisLayOk(Int_t l) const
UChar_t*layAddr(Int_t lay)
const UChar_t*layAddrC(Int_t lay) const
voidsetInBounds(Int_t& l1, Int_t& l2) const
voidshiftLeft(Int_t lay)

Data Members

public:
enum { laySz
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
UChar_tarr[144]144= 12bytes * 12layers
Int_tfirstCell[12]firstCell[layer] - first cell in layer

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Int_t compare(const HMdcList12GroupCells* lst, Int_t l1 = -1, Int_t l2 = -1, HMdcList12GroupCells* lstIdent = 0) const
 return the num. of layers which have one or more the same cells
 if lstIdent!=0 list of identical wires will be stored in lstIdent
Bool_t findOverlap(Int_t& c1, Int_t& c2)
 c1 and c2 - first cells in the same layers of two lists of cells
 return kTRUE if overlap exist
Int_t compareAndUnset(const HMdcList12GroupCells* lst, HMdcList12GroupCells* lstIdent, Int_t modi = -1)
 return the num. of identical drift times
 lstIdent - list of identical drift times will be stored in lstIdent
 Idendical drift times will be unseted in "this" obect.
Int_t nIdentDrTimes(const HMdcList12GroupCells* lst, Int_t l1 = 0, Int_t l2 = 11) const
 return the num. of identical drift times (cells now)
Int_t getMaxNCellsPerLay(void)
Int_t add(HMdcList12GroupCells* lst)
 return: 0 - ok.!;  n>0 - num.cells excl.from cl.
Bool_t isIncluded(const HMdcList12GroupCells& lst, Int_t l1 = 0, Int_t l2 = 11) const
 return kTRUE if all cells in "this" is included in "lst"
Int_t getActiveModule(void)
return 0, 1 or -2 (-2 - two modules have fired wires)
void print(Int_t lay) const
void print(Int_t lay) const
void copyData(const UChar_t* a, const Int_t* fc)
void clear(void)
Bool_t isLayOk(Int_t l) const
Int_t setTime(Int_t lay, Int_t cell, UChar_t time)
 return: 0 - ok.!;  n>0 - num.cells excl.from cl.
void delTime(Int_t lay, Int_t cell, UChar_t time)
void shiftLeft(Int_t lay)
Int_t getNCells(Int_t lay, Int_t layEnd = -1) const
Int_t getNCells(void)
Int_t getNDrTimes(Int_t lay) const
Int_t getNDrTimes(Int_t lay) const
Int_t getNDrTimes(Int_t lay1, Int_t lay2) const
Int_t getCell(Int_t lay, Int_t idx) const
 return: -1 - idx <0 or >num.cells
Int_t getFirstCell(Int_t lay) const
 return: -1 - num.cells=0
Int_t get4FirstCells(Int_t lay, Int_t* list) const
 return: first cell (frCell) or -1 (num.cells=0)
 fill list[0]-time of frCell, time frCell+1, ..., time frCell+3
Int_t getNLayers(Int_t imod) const
Int_t getNLayers(Int_t imod) const
UChar_t getListLayers(Int_t imod = -1) const
 imod - module number in segment (0 or 1)
 imod== -1 - List_imod0|List_imod1
 return 6 bits, one bit per layer
Int_t getNLayersMod(Int_t mod) const
Int_t getLastCell(Int_t lay) const
 return: -2 - num.cells=0
Int_t next(Int_t lay, Int_t prCell) const
Int_t next(Int_t lay, Int_t prCell, UChar_t& tm) const
 return newxt cell and drift time indexis ( 1 - time1 in HMdcCal1,
 2 - time2 in HMdcCal2 and 3 for time1+time2
Bool_t getNext(Int_t lay, Int_t& cell) const
Bool_t getNextCell(Int_t& lay, Int_t& cell) const
Int_t previous(Int_t lay, Int_t prCell) const
UChar_t getTime(Int_t lay, Int_t cell) const
void setInBounds(Int_t& l1, Int_t& l2) const
HMdcList12GroupCells(const HMdcList12GroupCells& )
{clear();}
~HMdcList12GroupCells(void)
{}
Int_t getNDrTimesMod(Int_t m) const
{return getNDrTimes(m*6,m*6+5);}
Int_t getFirstCell(Int_t lay) const
const UChar_t* getArr(void)
 Next functions NOT for user:
{return arr;}
UChar_t* layAddr(Int_t lay)
{return arr+lay*laySz;}
UChar_t* cellAddr(Int_t lay, Int_t cell)
const UChar_t* layAddrC(Int_t lay) const
{return arr+lay*laySz;}
const UChar_t* cellAddrC(Int_t lay, Int_t cell) const

Last change: Sat May 22 13:02:35 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.