Introduction The CVS package geometry_management contains the D0 framework package geometry_management, which is used to manage the initialization and run dependence of the D0 detector geometry. This package implements the framework hook RunInit.In order to use the geometry_management package, users must force the loading of the bare object RegisterGeometryManagement when creating executables. (Within the CTEST interface, this is done by including RegisterGeometryManagement in the file OBJECTS). They then need to include a reference to geometry_management in the list of packages specified in the main framework rcp file. Finally, they must also specify the corresponding geometry_management.rcp file within the main framework rcp file. A default geometry_management.rcp file is contained in the package subdirectory /rcp.
Users of the geometry_management package should also refer to documentation contained in the following CVS packages:
- framework - D0 Framework
- d0_geometry - The D0 geometry tree
- silicon_geometry - SMT geometry
- cft_geometry - CFT geometry
- calorimeter_geometry - CAL geometry
- cps_geometry - CPS geometry
- fps_geometry - FPS geometry
- muon_geometry - MUON geometry
- geometry_system - The underlying geometry system
To use the geometry_management package within d0reco, an rcp must be supplied to the geometry management system. The rcp controls the geometry_management behaviour (the default file exists in the rcp directory of this package). This rcp must contain the following entries:
- PackageName - (string) "geometry_management"
- GeometryType - (string) Must match one of:
- "InMemory": instantiate default geometry in memory
- "Read": read one (complete) tree from a d0Stream
- TestForNull - (bool) True means do not call XGeometerMessenger if the geometry tree does not contain an XBaseGeometry.
Additional parameters are required, but the list of required additional parameters depends on the value of
GeometryType above. The following table gives the required parameters for each possible value ofGeometryType .
- If GeometryType = "InMemory"
- BaseGeometry - (RCP) RCP defining BaseGeometry (see d0_geometry package) for details
- ChannelGeometry - (RCP) RCP defining ChannelGeometry (see d0_geometry package) for details
- MaterialGeometry - (RCP) RCP defining MaterialGeometry (see d0_geometry package) for details
- If GeometryType = "Read"
- GeometryFileName - (string) The name of the d0Stream readable file containing the instantiated geometry tree.
generated by doc++