#include "htofinolookup.h"

HTofinoLookup


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

class HTofinoLookup : public HTofinoParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HTofinoParSet
<-
HTofinoLookup

    public:
HTofinoLookup(const char* name = "TofinoLookup", const char* title = "Lookup table for Tofino unpacker", const char* context, Int_t numDConv = 2, Int_t numChan = 32) HTofinoLookup(const HTofinoLookup&) ~HTofinoLookup() static TClass* Class() virtual void clear() HTofinoLookupDConv* getDConv(Int_t crate, Int_t slot) Int_t getSize() virtual TClass* IsA() const HTofinoLookup& operator=(const HTofinoLookup&) HTofinoLookupDConv& operator[](Int_t i) void printParam() void putAsciiHeader(TString&) void readline(const char*, Int_t*) void setAddress(Int_t, Int_t, Char_t, Int_t, Int_t, Int_t, Int_t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t writeline(char*, Int_t, Int_t)

Data Members


    protected:
TObjArray* array array of pointers of type HTofinoLookupDConv Int_t nDConv number of TDC/ADCs

Class Description

 HTofinoLookup

 Container class for mapping Crate/TdcAdc/Channel to Module/Paddle
   needed by the TOFINO unpacker



HTofinoLookup(const char* name,const char* title, const char* context, Int_t numDConv, Int_t numChan) : HTofinoParSet(name,title,context)
 constructor creates an array of pointers of type HTofinoLookupDConv

~HTofinoLookup()
 destructor

void clear()
 clears the container

void printParam()
 prints the calibration parameters

void setAddress(Int_t crate, Int_t slot, Char_t dcType, Int_t channel, Int_t sector, Int_t module, Int_t cell)
 Fills the objects of type HTofinoLookupDConv.
 Adds a new objects, if necessary (different crate and/or 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 HTofinoParAsciiFileIo

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



Inline Functions


        HTofinoLookupDConv* getDConv(Int_t crate, Int_t slot)
        HTofinoLookupDConv& operator[](Int_t i)
                      Int_t getSize()
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
              HTofinoLookup HTofinoLookup(const HTofinoLookup&)
             HTofinoLookup& operator=(const HTofinoLookup&)


Last update: 14/12/2001 by Ilse 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.