CMON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
it will create subdirectory ''Maps_40000-1000000'' and complain. Do | it will create subdirectory ''Maps_40000-1000000'' and complain. Do | ||
create_map Maps_40000-1000000/TAG_CALIB.map | |||
and run same command again. | and run same command again. |
Revision as of 00:03, 27 October 2007
CMON is CLAS Online Data Monitoring program. It does real time event reconstruction using old 'sda' program rewritten to C and modified for multithreaded environment.
Calibration Constants
Calibration constants are stored in offline database. It can be accessed at this link.
Currently calibration constants must be extracted from offline database and stored in a form of files to be used by CMON. It is done using following procedure:
caldb_show_constants_run.pl s=TAG_CALIB ss=tag_t i=ci r=40000 > /home/boiarino/z123
To white it back remove two first lines and type (DO NOT DO THAT!!!):
caldb_write_and_link.pl s=TAG_CALIB ss=tag_t i=ci min=40000 max=50000 ci="test1" f=/home/boiarino/z123
To extract information from database to maps, goto $CLON_PARMS/cmon/Maps and run
db2clonmap.pl system=TAG_CALIB runMin=40000 runMax=1000000
it will create subdirectory Maps_40000-1000000 and complain. Do
create_map Maps_40000-1000000/TAG_CALIB.map
and run same command again.