#include "hhodolookup.h"

HHodoLookup


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

class HHodoLookup : public HParSet

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

    public:
HHodoLookup(const char* name = "HodoLookup", const char* title = "Lookup table for Hodoscopes unpacker", const char* context = "HodoLookupProduction", Int_t nCrates = 1, Int_t nSlots = 1) HHodoLookup(const HHodoLookup&) ~HHodoLookup() static TClass* Class() virtual void clear() void fill(Int_t, Int_t, Int_t, Int_t, Int_t) Int_t getSize() HHodoLookupSlot* getSlot(Int_t c, Int_t s) virtual Bool_t init(HParIo*, Int_t*) virtual TClass* IsA() const HHodoLookup& operator=(const HHodoLookup&) HHodoLookupCrate& 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, Int_t, Int_t)

Data Members


    protected:
TObjArray* array array of pointers of type HHodoLookupCrate Int_t maxCrate actual maximum index of crates

Class Description


  HHodoLookup

  Parameter container for mapping Crate/Slot/Channel to Module/Fiber
  needed by the unpacker for the Pion Hodoscopes



HHodoLookup(const char* name,const char* title, const char* context, Int_t nCrates, Int_t nSlots) : HParSet(name,title,context)
 The constructor creates an array of pointers of type HHodoLookupCrate of size nSlots
 The container name is set to "HodoLookup".

~HHodoLookup(void)
 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 clear(void)
 clears the container

void printParam(void)
 prints the lookup table

void fill(Int_t crate, Int_t slot, Int_t channel, Int_t module, Int_t fiber)
 Expands the array, if necessary, creates the objects of type HHodoLookupCrate,
 and then calls the fill function of the objects with index slot.

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 HHodoParAsciiFileIo

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



Inline Functions


        HHodoLookupCrate& operator[](Int_t i)
         HHodoLookupSlot* getSlot(Int_t c, Int_t s)
                    Int_t getSize()
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
              HHodoLookup HHodoLookup(const HHodoLookup&)
             HHodoLookup& operator=(const HHodoLookup&)


Last update: Fri Jan 26 11:56:02 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.