Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmHDUUtils.h

Go to the documentation of this file.
00001 #ifndef PM_HDU_UTILS_H
00002 #define PM_HDU_UTILS_H
00003 
00004 #include "pmFPA.h"
00005 #include "pmHDU.h"
00006 
00007 // Get the lowest HDU in the hierarchy, as supplied
00008 pmHDU *pmHDUGetLowest(const pmFPA *fpa, // The FPA
00009                       const pmChip *chip, // The chip, or NULL
00010                       const pmCell *cell // The cell, or NULL
00011                      );
00012 
00013 // Get the highest HDU in the hierarchy, as supplied
00014 pmHDU *pmHDUGetHighest(const pmFPA *fpa, // The FPA
00015                        const pmChip *chip, // The chip, or NULL
00016                        const pmCell *cell // The cell, or NULL
00017                       );
00018 
00019 // Find the HDU in the FPA hierarchy
00020 pmHDU *pmHDUFromFPA(const pmFPA *fpa    // FPA for which to find HDU
00021                    );
00022 pmHDU *pmHDUFromChip(const pmChip *chip // Chip for which to find HDU
00023                     );
00024 pmHDU *pmHDUFromCell(const pmCell *cell // Cell for which to find HDU
00025                     );
00026 pmHDU *pmHDUFromReadout(const pmReadout *readout // Readout for which to find HDU
00027                        );
00028 
00029 // Print details about an HDU
00030 void pmHDUPrint(FILE *fd,               // File descriptor to which to print
00031                 const pmHDU *hdu,       // HDU to print
00032                 int level,              // Level at which to print
00033                 bool header             // Print header?
00034                );
00035 
00036 #endif

Generated on Mon Jul 3 14:24:27 2006 for Pan-STARRS Module Library by  doxygen 1.4.4