Sgutil: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* ''sginit()'' - must be called once at initialization stage; creates differencial shift table and fills lookup tables
* ''sginit()'' - must be called once at initialization stage; creates differencial shift table and fills lookup tables


* ''sgtrigger()'' - works for specified sector; return 0 if sector does not have required track information, otherwise returns the number of superlayers with segments
* ''sgtrigger()'' - works for specified sector; return 0 if sector does not have required track information, otherwise returns the number of superlayers with segments; calls function ''RemoveNoise()'' from '''SGUTIL'''

Revision as of 10:20, 4 May 2010

SGLIB/SGUTIL package contains Dave Haddle's noise reduction software with segment finding extensions. It resides in $CODA/src/codatt/sgutil.c and is called from $CLON/src/cmon/prlib/sglib.c.

SGLIB contains following functions:

  • sginit() - must be called once at initialization stage; creates differencial shift table and fills lookup tables
  • sgtrigger() - works for specified sector; return 0 if sector does not have required track information, otherwise returns the number of superlayers with segments; calls function RemoveNoise() from SGUTIL