Overview | Releases | Download | Docs | Links | Help | RecentChanges

FittingService

Important Note

Since Release4? of the software FittingService needs arguments. These are supplied in config/databases/SctApplications?.data.xml
[SctRodDaq]$ FittingService -help
  -name <name>                   : name for this fitting service
  -nworkers <nworkers>           : number of worker threads
  -strategy  <strategy name>     : set fit stragety to e.g. RootFitStrategy or NagFitStrategy
  -options  <options>            : set fit options e.g. NQR
  -analytic (switch)             : switch on analytic fitting algorithm
  -recover (switch)              : try to do auto-fitting of all unfitted data
  -input <server name>           : add IS server from which to receive data (can be used many times)
  -output <server name>          : set IS server to write output data to
  -help                          : print this help message

The FittingService retrieves RawScanResult data from the IS servers and attempts to fit a function to it. Most of the analogue scans involve changing some approximately-continuous variable on the front-end ASICS, e.g. the StrobeDelay, or the Threshold?.

Different variable may require different functions to be fitted, or to be fitted over different ranges. The way in which to fit a particular variable is encapuslated in the FitAlgorithm? class.

If [NAG] is enabled then this fitting can occur much more rapidly, otherwise the default method is [ROOT]. The NAG libraries can be downloaded for free from the licenced version CERN [Anaphe] pages. The type of fitter is set in the FitStrategy?.

The result of the fitting is a FitScanResult?, which is published back into the OnlineSoftware information service, IS.

Problems in fitting may result in ModuleDefects? being produced.

On a technical level, the FittingService uses our SctService implimentation of the ObserverWorker? pattern.


FittingServiceFunnies