Initialization function
The implementation of the detector map is based on a global variable,
hidden in the library. Proper initialization is needed
before any access to it.
Two functions can be used (alternatively):
- dmap_load()
- See the dmap module.
- dmap_new()
-
This function initializes the detector map,
sets the board types according to the GeoVme informations
and sets all the channel to empty.
Should be called before any other function in the library!
- Syntax:
- int dmap_new(void);
- Returns:
- DMAP_ERROR_OK in case of success