Versions Compared

Key

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

...

Guidelines for Creating Compatible Drivers

...

Drivers created for use in an LCSim XML file should follow these guidelines.

  • The class must be public.

...

  • It must have a public

...

  • constructor that takes no arguments.
  • The driver should not do

...

  • initialization in

...

  • the constructor but should use the detectorChanged() or startOfData() methods, instead.
  • The driver's set methods should always be of the form public void set

...

...

  • varName), in order to be accessible to the XML system.
  • The use of sub-drivers is discouraged due to these being inaccessible to the job manager, though it is still possible to use them.

Running a Specific LCSim Release

...