Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The conditions database is designed to allow a running analysis or reconstruction module to access information about the run "conditions". In our current environment, conditions include the entire detector description.

The org.lcsim conditions framework is designed to be very flexible, both in use and in implementation. Our current implementation looks up conditions based on the detector name.

Tip
titleWhen to use the Conditions Frameworkversus Drivers

The conditions framework should be used for information that is associated with one or more detectors.
It should not be used for detector-independent settings on analysis algorithms, as this would force end
users to create or locate a properties file for that algorithm. Instead, algorithm settings should use
"getter" and "setter" methods on a Driver, e.g. getX() and setX() methods. This will allow these settings to
be easily set from user code . It will also allow these settings to be used with JavaBeans.

...

and from lcsim xml files.

Conditions Formats

The recommended format for storing conditions information is in a zip file. The conditions database includes facilities for downloading zip files from the web and caching them, so no web connection is required when running analysis or reconstruction jobs, as long as the required conditions have been previously accessed.

...