class HMdcCellGroup: public TObject

_HADES_CLASS_DESCRIPTION

 HMdcCellGroup, HMdcCellGroup6, HMdcCellGroup12

 	This class and it's derived classes provide a mechanism to
 know with cells contributed to a particular hit or segment and
 how. They store therefore, a list of cells in different layers allowing
also to select one of the two possible signals in a given cell.

       HMdcCellGroup is never instantiated directly, but HMdcCellGroup6 or
HMdcCellGroup12 are used, where the number in the class name indicates
how many layers are available at maximum.

The info provided by this class is retrieved with the
following functions

 * Int_t getNCells(Int_t layer)
	Returns the number of cells in layer "layer" which contributed
	to the hit.

 * Int_t getCell(Int_t layer,Int_t idx)
      For idx=0 returns the cell number of the first fired cell
      For idx=1 returns the cell number of the second fired cell
	.... (maximum idx=3)

 * Int_t HMdcHit::getSignId(Int_t layer,Int_t idx)
	Returns signal id (time/distance) in cell designed by
	idx (same criterium as before).

 * Int_t setSignId(Int_t layer,Int_t cell, Int_t t1,t2=0,t3=0,t4=0)
	Sets the signal ids and base cell number for layer "layer"
	Input:
	  layer --> Number of layer to set
	  cell  --> Number of the first cell fired in this layer
	  t1 - t4 --> SignalId for cells: "cell"+0, "cell"+1 ... "cell"+4
	              Possible values are:
	                0 --> This cell has not fired
	                1 --> First signal (time/distance) was used
	                2 --> Second signal (time/distance) was used

Function Members (Methods)

public:
HMdcCellGroup(const HMdcCellGroup&)
virtual~HMdcCellGroup()
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
Int_tgetCell(Int_t layer, Int_t idx)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
Int_tgetNCells(Int_t layer)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tgetSignId(Int_t layer, Int_t idx)
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_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()
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)
HMdcCellGroup&operator=(const HMdcCellGroup&)
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)
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)
voidsetSignId(Int_t layer, Int_t cell, Int_t t1, Int_t t2 = 0, Int_t t3 = 0, Int_t t4 = 0)
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:
HMdcCellGroup(UShort_t* layerBuffer)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidinitLookups()
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:
static UChar_tcellPosLookUp[4][256]!
static Bool_tlookUpsInitialized!
static UChar_tnCellsLookUp[256]!
UShort_t*pLayer!pointer to layer information.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void initLookups(void)
Initializes lookup tables
Int_t getNCells(Int_t layer)
Inlines
Int_t getCell(Int_t layer, Int_t idx)
Int_t getSignId(Int_t layer, Int_t idx)
Returns 1 for time1 and 2 for time2 in cell basecell+idx; starting with
idx=0
void setSignId(Int_t layer, Int_t cell, Int_t t1, Int_t t2 = 0, Int_t t3 = 0, Int_t t4 = 0)
Sets the signal ids and base cell number for layer "layer"
Input:
  layer --> Number of layer to set
  cell  --> Number of the first cell fired in this layer
  t1 - t4 --> SignalId for cells: "cell"+0, "cell"+1 ... "cell"+4
              Possible values are:
                0 --> This cell has not fired
                1 --> First signal (time/distance) was used
                2 --> Second signal (time/distance) was used
HMdcCellGroup(UShort_t *layerBuffer)
~HMdcCellGroup(void)
{ }

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

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.