8 #ifndef GET_LOOKUP_TABLE_HH
9 #define GET_LOOKUP_TABLE_HH
70 virtual int InitTables ( u_int nch, u_int nx, u_int ny );
83 virtual u_int
GetSize ( )
const;
84 virtual int GetPad ( u_int nch )
const;
85 virtual int GetCoBo ( u_int nch )
const;
86 virtual int GetAsAd ( u_int nch )
const;
87 virtual int GetAGet ( u_int nch )
const;
89 virtual int GetIpx ( u_int nch )
const;
90 virtual int GetIpy ( u_int nch )
const;
92 virtual int GetChannel ( u_int ix, u_int iy )
const;
96 virtual void DumpTable (
const string & fname,
bool head =
true )
const;
97 virtual void DumpTable ( FILE * fp,
bool head =
true )
const;
99 virtual void DumpXY (
const string & fname,
bool head =
true )
const;
100 virtual void DumpXY ( FILE * fp,
bool head =
true )
const;
102 virtual int Read (
const string & fname,
bool rpad =
true,
bool invxy =
false );
103 virtual int Read ( FILE * fp,
bool rpad =
true,
bool invxy =
false );
int * chan_xy
Array identifying channel from ix and iy indexes.
Definition: GETLookupTable.hh:54
virtual u_int GetNpadX() const
Definition: GETLookupTable.icc:75
u_int size
Number of GET channels.
Definition: GETLookupTable.hh:40
virtual int GetAGet(u_int nch) const
Definition: GETLookupTable.icc:43
int * cobo
CoBo identifier.
Definition: GETLookupTable.hh:47
u_int npad_x
Number of pads along X.
Definition: GETLookupTable.hh:43
virtual ~GETLookupTable()
Definition: GETLookupTable.cpp:52
virtual void DumpTable(const string &fname, bool head=true) const
Definition: GETLookupTable.cpp:379
int * ipy
Pad Y number.
Definition: GETLookupTable.hh:52
virtual int GetCoBo(u_int nch) const
Definition: GETLookupTable.icc:31
virtual u_int GetSize() const
Definition: GETLookupTable.icc:13
ClassDef(GETLookupTable, 0)
virtual int GetIpy(u_int nch) const
Definition: GETLookupTable.icc:61
u_int pads_number
Number of pads.
Definition: GETLookupTable.hh:41
virtual bool IsTableSet() const
Definition: GETLookupTable.icc:17
int * channel
AGet channel identifier.
Definition: GETLookupTable.hh:50
int * ipx
Pad X number.
Definition: GETLookupTable.hh:51
virtual int SetHVpad64Table(GETSystem &get, u_int ny)
Definition: GETLookupTable.cpp:286
virtual int GetIpx(u_int nch) const
Definition: GETLookupTable.icc:55
virtual int GetPad(u_int nch) const
Definition: GETLookupTable.icc:25
int * aget
AGet identifier.
Definition: GETLookupTable.hh:49
virtual int InitTables(u_int nch, u_int nx, u_int ny)
Definition: GETLookupTable.cpp:107
virtual int Read(const string &fname, bool rpad=true, bool invxy=false)
Definition: GETLookupTable.cpp:477
virtual void DumpXY(const string &fname, bool head=true) const
Definition: GETLookupTable.cpp:423
virtual u_int GetNpadY() const
Definition: GETLookupTable.icc:79
virtual void EraseTables()
Definition: GETLookupTable.cpp:68
Definition: GETLookupTable.hh:32
int * pad
Pad identifier (effective signal channel)
Definition: GETLookupTable.hh:46
virtual int GetChannel(u_int nch) const
Definition: GETLookupTable.icc:49
virtual int GetAsAd(u_int nch) const
Definition: GETLookupTable.icc:37
GETLookupTable(u_int nch=0, u_int nx=0, u_int ny=0)
Definition: GETLookupTable.cpp:22
bool defined
Whether the table data has been set.
Definition: GETLookupTable.hh:56
virtual int SetDefaultTable(GETSystem &get, u_int nx, u_int ny)
Definition: GETLookupTable.cpp:209
int * asad
AsAd identifier.
Definition: GETLookupTable.hh:48
Definition: GETSystem.hh:126
u_int npad_y
Number of pads along Y.
Definition: GETLookupTable.hh:44