#include "htrblookup.h"

HTrbLookup


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

class HTrbLookup : public HParSet

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

    public:
HTrbLookup(const char* name = "TrbLookup", const char* title = "Lookup table for TRB unpacker", const char* context = "TrbLookupProduction", Int_t minSubeventId = 800, Int_t nBoards = 100) HTrbLookup(const HTrbLookup&) ~HTrbLookup() static TClass* Class() virtual void clear() Bool_t fill(Int_t, Int_t, Char_t, Int_t, Int_t, Int_t, Char_t) Int_t getArrayOffset() HTrbLookupBoard* getBoard(Int_t subeventId) Int_t getSize() virtual Bool_t init(HParIo* input, Int_t* set) virtual TClass* IsA() const HTrbLookup& operator=(const HTrbLookup&) HTrbLookupBoard* operator[](Int_t i) void printParam() void putAsciiHeader(TString&) Bool_t readline(const char*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t write(HParIo* output) void write(fstream&)

Data Members


    protected:
TObjArray* array array of pointers of type HTrbLookupBoard Int_t arrayOffset offset to calculate the index

Class Description

 HStartLookup

 Lookup table for TRB unpacker to map the TRB address
     subevent id (800..899), channel (0..127)
 to the detector address
     detector, sector, module, cell side.



HTrbLookup(const char* name, const char* title, const char* context, Int_t minSubeventId, Int_t nBoards) : HParSet(name,title,context)
 constructor creates an empty array of size nBoards

~HTrbLookup()
 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()
 deletes all HTrbLookupBoard objects from the array and resets the input versions

void printParam()
 prints the lookup table

Bool_t fill(Int_t id,Int_t chan,Char_t det, Int_t sec,Int_t mod,Int_t cell,Char_t side)
 creates the HTrbLookupBoard objects, if not existing, and fills the channel

Bool_t readline(const char *buf)
 decodes one line read from ASCII file I/O and fills the channel

void putAsciiHeader(TString& header)
 puts the ASCII header to the string used in HSpecParAsciiFileIo

void write(fstream& fout)
 writes the information of all non-zero HTrbLookupBoard objects to the ASCII file



Inline Functions


        HTrbLookupBoard* getBoard(Int_t subeventId)
        HTrbLookupBoard* operator[](Int_t i)
                   Int_t getSize()
                   Int_t getArrayOffset()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
              HTrbLookup HTrbLookup(const HTrbLookup&)
             HTrbLookup& operator=(const HTrbLookup&)


Last update: Mon Feb 5 16:53:56 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.