#include "hmdcgeomstruct.h"

HMdcGeomStruct


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

class HMdcGeomStruct : public HParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HMdcGeomStruct

    public:
HMdcGeomStruct(const char* name = "MdcGeomStruct", const char* title = "Mdc parameters for geometry structure", const char* context, Int_t n = 6) HMdcGeomStruct(const HMdcGeomStruct&) ~HMdcGeomStruct() static TClass* Class() virtual void clear() void getMaxIndices(TArrayI*) Int_t getSize() virtual Bool_t init(HParIo* input, Int_t* set) virtual TClass* IsA() const HMdcGeomStruct& operator=(const HMdcGeomStruct&) HMdcGeomSecStru& operator[](Int_t i) void printParam() void putAsciiHeader(TString&) void readline(const char*, Int_t*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t write(HParIo* output) Bool_t writeline(char*, Int_t, Int_t, Int_t)

Data Members


    protected:
TObjArray* array pointer array containing HMdcGeomSecStru objects

Class Description

 HMdcGeomStruct

 Container class for parameters decribing the geometrical
 tree of an Mdc (sectors,modules,layers with the number of
 cells in each layer.
 This information is needed to create the data tree and to
 create the parameter containers for the Mdc.



HMdcGeomStruct(const char* name,const char* title, const char* context,Int_t n) : HParSet(name,title,context)
 constructor creates an array of pointers of type HMdcGeomSecStru

~HMdcGeomStruct()
 destructor

Bool_t init(HParIo* inp,Int_t* set)
 initializes the container from an input

Int_t write(HParIo* output)
 writes the container to an output

void readline(const char *buf, Int_t *set)
 decodes one line read from ascii file I/O

void putAsciiHeader(TString& header)
 puts the ascii header to the string used in HMdcParAsciiFileIo

Bool_t writeline(char *buf, Int_t sec, Int_t mod, Int_t lay)
 writes one line to the buffer used by ascii file I/O

void clear()
 clears the container

void printParam()
 prints the number of the cells

void getMaxIndices(TArrayI* ind)
 return the maximum indices of the sectors, modules, layers,
 cells in the actual setup

void Streamer(TBuffer &R__b)
 Stream an object of class HMdcGeomStruct.



Inline Functions


        HMdcGeomSecStru& operator[](Int_t i)
                   Int_t getSize()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void StreamerNVirtual(TBuffer& b)
          HMdcGeomStruct HMdcGeomStruct(const HMdcGeomStruct&)
         HMdcGeomStruct& operator=(const HMdcGeomStruct&)


Last update: 17/01/2002 by I. Koenig


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.