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

SctDaqHowto

Some of what follows is wrapped up in scripts like "start" but the principle that underlies such scripts goes like this:

[localhost]$
[localhost]$ ipc_server &
[localhost]$

Now create for yourself a IpcRefFile

[localhost]$
[localhost]$ ipc_ls
initial
[localhost]$

[localhost]$
[localhost]$ ipc_server -p SCT &
3/6/04 18:16:47 :: ipc_server for partition "SCT" has been started.
[localhost]$

[localhost]$
[localhost]$ ipc_ls
initial
partitions:
SCT
[localhost]$

[localhost]$
[localhost]$ ipc_ls -p SCT
SCT
[localhost]$

[localhost]$
[localhost]$ mrs_server -p SCT &
[localhost]$

[localhost]$
[localhost]$ mrs_receiver -p SCT
messages appear here when they arrive ...

[localhost]$
[localhost]$ is_server -p SCT -n EventData &
[localhost]$

[localhost]$
[localhost]$ FittingService &
[localhost]$

[localhost]$
[localhost]$ TestSubmit?
Created hists
Created scan
Created module config
Created RawScanResult
[localhost]$

[localhost]$
[localhost]$ is_ls -p SCT &
Partition "SCT" contains 1 IS server(s):
Server "EventData" contains 3 object(s):
EventData.SctData::RawScanResult.173.0.20220040200007 <1/7/04 14:19:18> <SctData::RawScanResult>
EventData.SctData::RawScanResult.173.0.20220380200003 <1/7/04 14:20:31> <SctData::RawScanResult>
EventData.SctData::RawScanResult.1000.100.TestSubmit? <1/7/04 14:13:00> <SctData::RawScanResult>
[localhost]$

[localhost]$
[localhost]$ FilePublisher? ~gallop/working3/SctApi/RawHistogram?_blah.bin
AnalysisService scanResultCallback on EventData.SctData::RawScanResult.173.0.20220380200003
This is call number 3 to this worker. Working on 173.0.20220380200003 Q = 0
[localhost]$

[localhost]$
[localhost]$ $SCT_DAQ_ROOT/FittingService/test/FittingServiceTest?
FittingService test:
... looking in partition ...SCT ... getting a handle ...Got Handle... :Status is:Fitter Strategy=NagFitStrategy? Fit Options=Russel Using analytic fits=0
Workers=1, (Busy=0), Fits Done=5, Errors=1, Scans Done=1
Last scan: 173.0.20220380200003
Timing. I/O time: 0.19 Scan time: 0.15 Approx average time/scan/thread: 0.34
strategy is: NagFitStrategy?
options are: Russel
5 fits done with 1 errors
[localhost]$

[localhost]$
[localhost]$ is_server -p SCT -n FittedData? &
[localhost]$