#include "hrpclookup.h"

HRpcLookup


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

class HRpcLookup : public HParSet

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

    public:
HRpcLookup(const char* name = "RpcLookup", const char* title = "Lookup table for Rpc unpacker", const char* context = "Nov05 Test run", Int_t numChannels = 1) HRpcLookup(const HRpcLookup&) ~HRpcLookup() static TClass* Class() virtual void clear() void fill(Int_t, Int_t, Char_t) HRpcLookupChan* getChannel(Int_t c) Int_t getSize() virtual Bool_t init(HParIo*, Int_t*) virtual TClass* IsA() const HRpcLookup& operator=(const HRpcLookup&) HRpcLookupChan& 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*) Bool_t writeline(char*, Int_t)

Data Members


    protected:
TObjArray* array array of pointers of type HRpcLookupChan Int_t maxChannel actual maximum index of channels Int_t nChannels maximum number of channels in a board

Class Description


HRpcLookup(const char* name,const char* title, const char* context,Int_t nChan) : HParSet(name,title,context)
 The constructor creates an array of pointers of type HRpcLookupChan
 The container name is set to "RpcLookup".

~HRpcLookup()
 destructor

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

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

void clear()
 clears the container

void printParam()
 prints the lookup table

void fill(Int_t channel, Int_t cell, Char_t side)
 Expands the array, if necessary, creates the objects of type HRpcLookupChan,
 and then calls the fill function.

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 HRpcParAsciiFileIo

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



Inline Functions


        HRpcLookupChan& operator[](Int_t i)
        HRpcLookupChan* getChannel(Int_t c)
                  Int_t getSize()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             HRpcLookup HRpcLookup(const HRpcLookup&)
            HRpcLookup& operator=(const HRpcLookup&)


Last update: Fri Jan 26 12:30:39 2007


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.