[Gemc_software] parameters factory
Maurizio Ungaro
ungaro at jlab.org
Thu Apr 12 11:14:34 EDT 2012
Dear all,
A new factory has been introduced: "parameters". This factory stores the geometry parameters and make them available to the reconstruction routines.
This factory currently supports MYSQL, and it will be extended to support CCDB and CLARA geometry services (as plugins).
Inside each hit process routine, parameters can now be accessed with the "gpars" map, using the detector name and parameter name.
For example:
gpars["BST/nregions"] is equal to 4
I encourage the detector groups to collect their parameters as described here:
https://gemc.jlab.org/gemc/Documentation/Entries/2012/2/9_Geometry_Parameters.html
This will allow to get rid of all the hardcoded numbers in the hit process routines.
In the end, one will be able to chose at command line which parameter factory to chose (MYSQL, CCDB or CLARA).
Best,
Mauri
More information about the Gemc_software
mailing list