GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CAL_DB / V0-2-3

Constituent: acd_db_pedestals_create     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

acd_import_full.h File Reference

Defines the objects that are useful whether one is processing gains or pedestals. The STYLE, however, must be FULL. More...

This graph shows which files directly or indirectly include this file:


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.

Detailed Description

Defines the objects that are useful whether one is processing gains or pedestals. The STYLE, however, must be FULL.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: acd_import_full.h,v 1.1 2006/07/13 17:01:37 russell Exp $

Define Documentation

#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)   \
      }
Defines the all symbolic names for the specified cable.

Parameters:
_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.

Parameters:
_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)  \
      }
Defines all of one data type (peds, gains) for the entire LAT.

Parameters:
_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.

Parameters:
_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
The manufactored symbol is of the form <type>_CBL<cable>_CHN<channel>_RNG<range>. For example PED_CBL17_CHN12_RNG0, for


Generated on Wed Dec 5 03:14:58 2007 by  doxygen 1.4.4