#include "hstartlookup.h"

HStartLookup


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

class HStartLookup : public HParSet

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

    public:
HStartLookup(const char* name = "StartLookup", const char* title = "Lookup table for Start unpacker", const char* context = "StartLookupProduction", Int_t numTdc = 1, Int_t numChan = 32) HStartLookup(const HStartLookup&) ~HStartLookup() static TClass* Class() virtual void clear() Int_t getSize() HStartLookupTdc* getTdc(Int_t crate, Int_t slot) virtual Bool_t init(HParIo* input, Int_t* set) virtual TClass* IsA() const HStartLookup& operator=(const HStartLookup&) HStartLookupTdc& operator[](Int_t i) void printParam() void putAsciiHeader(TString&) void readline(const char*, Int_t*) void setAddress(Int_t, Int_t, Int_t, Int_t, Int_t) void setAddress(Int_t, Int_t, Int_t, Int_t, Int_t, char) 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)

Data Members


    protected:
TObjArray* array array of pointers of type HStartLookupTdc Int_t nTdc number of TDCs

Class Description

 HStartLookup

 Container class for mapping Crate/Tdc/TdcChannel to Module/Strip
   needed by the START unpacker



HStartLookup(const char* name, const char* title, const char* context, Int_t numTdc, Int_t numChan) : HParSet(name,title,context)
 Constructor creates an array of pointers of type HStartLookupTdc.

~HStartLookup()
 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()
 clears the container

void printParam()
 prints the calibration parameters

void setAddress(Int_t crate, Int_t slot,Int_t channel, Int_t module, Int_t strip)
 Fills the objects of type HStartLookupTdc.
 Adds a new objects, if necessary (different crate and/or slot).

void setAddress(Int_t crate, Int_t slot,Int_t channel, Int_t module, Int_t strip,char cType)
 Fills the objects of type HStartLookupTdc.
 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 HStartParAsciiFileIo

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



Inline Functions


        HStartLookupTdc* getTdc(Int_t crate, Int_t slot)
        HStartLookupTdc& 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)
            HStartLookup HStartLookup(const HStartLookup&)
           HStartLookup& operator=(const HStartLookup&)


Last update: Fri Jan 26 12:34:45 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.