#include "hmdclistgroupcells.h"

HMdcList12GroupCells


class description - source file - inheritance tree (.pdf)

class HMdcList12GroupCells : public TObject

Inheritance Chart:
TObject
<-
HMdcList12GroupCells
<-
HMdcClus
<-
HMdcClusSim
    private:
void setInBounds(Int_t& l1, Int_t& l2) const public:
HMdcList12GroupCells() HMdcList12GroupCells(const HMdcList12GroupCells&) ~HMdcList12GroupCells() Int_t add(HMdcList12GroupCells* lst) static TClass* Class() void clear() Int_t compare(HMdcList12GroupCells* lst, Int_t l1 = -1, Int_t l2 = -1) const void delTime(Int_t lay, Int_t cell, UChar_t time) Int_t get4FirstCells(Int_t lay, Int_t* list) const Int_t getCell(Int_t lay, Int_t idx) const Int_t getFirstCell(Int_t lay) const Int_t getLastCell(Int_t lay) const Int_t getMaxNCellsPerLay() const Int_t getNCells(Int_t lay, Int_t layEnd = -1) const Int_t getNCells() const Int_t getNDrTimes() const Int_t getNDrTimes(Int_t lay) const Int_t getNDrTimes(Int_t lay1, Int_t lay2) const Int_t getNDrTimesMod(Int_t m) const Bool_t getNext(Int_t lay, Int_t& cell) const Bool_t getNextCell(Int_t& lay, Int_t& cell) const Int_t getNLayers() const Int_t getNLayersMod(Int_t mod) const UChar_t getTime(Int_t lay, Int_t cell) const virtual TClass* IsA() const Bool_t isIncluded(HMdcList12GroupCells& lst, Int_t l1 = 0, Int_t l2 = 11) const Int_t next(Int_t lay, Int_t prCell) const Int_t nIdentDrTimes(HMdcList12GroupCells* lst, Int_t l1 = 0, Int_t l2 = 11) const HMdcList12GroupCells& operator=(const HMdcList12GroupCells& v) Int_t previous(Int_t lay, Int_t prCell) const void print() const void print(Int_t lay) const Int_t setTime(Int_t lay, Int_t cell, UChar_t time) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
UChar_t arr[144] 144= 12bytes * 12layers Int_t firstCell[12] firstCell[layer] - first cell in layer public:
static const enum HMdcList12GroupCells:: laySz

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)



Int_t compare(HMdcList12GroupCells* lst, Int_t l1, Int_t l2) const
 return the num. of layers which have one or more identical cells

Int_t nIdentDrTimes(HMdcList12GroupCells* lst, Int_t l1, Int_t l2) const
 return the num. of identical drift times (cells now)

Int_t getMaxNCellsPerLay(void) const

Int_t add(HMdcList12GroupCells* lst)
 return: 0 - ok.!;  n>0 - num.cells excl.from cl.

Bool_t isIncluded(HMdcList12GroupCells& lst, Int_t l1, Int_t l2) const
 return kTRUE if all cells in "this" is included in "lst"

void print(void) const

void print(Int_t lay) const



Inline Functions


                         void ~HMdcList12GroupCells()
         HMdcList12GroupCells HMdcList12GroupCells()
        HMdcList12GroupCells& operator=(const HMdcList12GroupCells& v)
                         void clear()
                        Int_t setTime(Int_t lay, Int_t cell, UChar_t time)
                         void delTime(Int_t lay, Int_t cell, UChar_t time)
                        Int_t getNCells(Int_t lay, Int_t layEnd = -1) const
                        Int_t getNCells() const
                        Int_t getNDrTimes() const
                        Int_t getNDrTimes(Int_t lay) const
                        Int_t getNDrTimes(Int_t lay1, Int_t lay2) const
                        Int_t getNDrTimesMod(Int_t m) const
                        Int_t getNLayers() const
                        Int_t getNLayersMod(Int_t mod) const
                        Int_t getCell(Int_t lay, Int_t idx) const
                        Int_t getFirstCell(Int_t lay) const
                        Int_t getLastCell(Int_t lay) const
                        Int_t get4FirstCells(Int_t lay, Int_t* list) const
                        Int_t next(Int_t lay, Int_t prCell) const
                       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
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
         HMdcList12GroupCells HMdcList12GroupCells(const HMdcList12GroupCells&)


Author: V. Pechenov
Last update: 25/06/2004 by V.Pechenov


ROOT page - Class index - Class Hierarchy - Top of the page

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.