GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CAL_DB / V0-2-4 > acd_db_pedestals_create / rhel6-64
Defines | |
#define | RNG(_w, _C, _c, _r) _w ## _CBL ## _C ## _CHN ##_c ## _RNG ## _r |
Defines the form of #define symbols for one range of a channel. | |
#define | CHN(_w, _C, _c) { RNG(_w, _C, _c, 0), RNG(_w, _C, _c, 1) } |
Defines the form of #define symbols for both ranges of one channel. | |
#define | CBL(_w, _C) |
Defines the all symbolic names for the specified cable. | |
#define | LAT(_w) |
Defines all of one data type (peds, gains) for the entire LAT. |
CVS $Id: acd_import_full.h,v 1.1 2006/07/13 17:01:37 russell Exp $
#define CBL | ( | _w, | |||
_C | ) |
Value:
{ CHN(_w, _C, 00), \ CHN(_w, _C, 01), \ CHN(_w, _C, 02), \ CHN(_w, _C, 03), \ CHN(_w, _C, 04), \ CHN(_w, _C, 05), \ CHN(_w, _C, 06), \ CHN(_w, _C, 07), \ CHN(_w, _C, 08), \ CHN(_w, _C, 09), \ CHN(_w, _C, 10), \ CHN(_w, _C, 11), \ CHN(_w, _C, 12), \ CHN(_w, _C, 13), \ CHN(_w, _C, 14), \ CHN(_w, _C, 15), \ CHN(_w, _C, 16), \ CHN(_w, _C, 17) \ }
_w | A prefix string, either PED or GAIN | |
_C | The cable number, specified as 2 decimal digits (00-12) |
#define CHN | ( | _w, | |||
_C, | |||||
_c | ) | { RNG(_w, _C, _c, 0), RNG(_w, _C, _c, 1) } |
Defines the form of #define symbols for both ranges of one channel.
_w | A prefix string, either PED or GAIN | |
_C | The cable number, specified as 2 decimal digits (00-12) | |
_c | The channel number, specified as 2 decimal digits (00-17) |
#define LAT | ( | _w | ) |
Value:
{ CBL(_w, 00), \ CBL(_w, 01), \ CBL(_w, 02), \ CBL(_w, 03), \ CBL(_w, 04), \ CBL(_w, 05), \ CBL(_w, 06), \ CBL(_w, 07), \ CBL(_w, 08), \ CBL(_w, 09), \ CBL(_w, 10), \ CBL(_w, 11) \ }
_w | A prefix string, either PED or GAIN |
#define RNG | ( | _w, | |||
_C, | |||||
_c, | |||||
_r | ) | _w ## _CBL ## _C ## _CHN ##_c ## _RNG ## _r |
Defines the form of #define symbols for one range of a channel.
_w | A prefix string, either PED or GAIN | |
_C | The cable number, specified as 2 decimal digits (00-12) | |
_c | The channel number, specified as 2 decimal digits (00-17) | |
_r | The range as a single digit, either 0 or 1 |