HWallLookup
class description - source file - inheritance tree (.pdf)
public:
HWallLookup(const char* name = "WallLookup", const char* title = "Lookup table for Forward Wall unpacker", const char* context = "WallLookupProduction", Int_t nCrates = 1, Int_t nSlots = 1)
HWallLookup(const HWallLookup&)
~HWallLookup()
static TClass* Class()
virtual void clear()
void fill(Int_t, Int_t, Char_t, Int_t, Int_t)
Int_t getSize()
HWallLookupSlot* getSlot(Int_t c, Int_t s)
virtual Bool_t init(HParIo*, Int_t*)
virtual TClass* IsA() const
HWallLookup& operator=(const HWallLookup&)
HWallLookupCrate& 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)
protected:
TObjArray* array array of pointers of type HWallLookupCrate
Int_t maxCrate actual maximum index of crates
HWallLookup
Container class for mapping Crate/TdcAdc/Channel to Cell
needed by the unpacker for the Forward Wall
HWallLookup(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 HWallLookupCrate of
size nSlots
The container name is set to "WallLookup".
~HWallLookup(void)
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(void)
clears the container
void printParam(void)
prints the lookup table
void fill(Int_t crate, Int_t slot, Char_t modType,
Int_t channel, Int_t cell)
Expands the array, if necessary, creates the objects of type HWallLookupCrate,
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 HWallParAsciiFileIo
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
HWallLookupCrate& operator[](Int_t i)
HWallLookupSlot* 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)
HWallLookup HWallLookup(const HWallLookup&)
HWallLookup& operator=(const HWallLookup&)
Last update: Fri Jan 26 12:38:21 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.