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

TdaqOneSixNotes

Issues that have cropped up moving to tdaq-01-06-00.

Getting things to compile

The main thing we've run into are changes in the auto generated files. Both OKS by genconfig and IS by is_generator(?).

For genconfig, you now need to define TDAQ_PACKAGE_NAME so it can print some warning messages about deprecated methods.

For the IS stuff, arrays are now generated as std::vectors, which means anything that accesses these has to change.

In java, IS now uses enums, don't behave like ints. If you want an int you can do .ordinal() afterwards. This is done a couple of times in sctGUI. One could be removed, but the other is serialising to file.

Running igui (or various observations on OKS schema)

Unfortunately we can no longer use several Computer objects to be aliases of the same host.

While fixing host names, a question. Should SctDcsSegmentController? run on Host, or would ddc_station be better?

Handling of PATH and LD_LIBRARY_PATH variables has changed. But config_server runs OK without changes?

OKS more strict, have to include schemas used in each file.

The Parition OKS name and the "name" attribute must be identical, don't know if this was the case previously.

You can define a RunTagList?. This is presumably for things like whether the detector's in X1X, what threshold settings are used, etc. If so, should be useful, but need to work out where to read it from.

ROOTSYS is now defined in the base config.

A possible bug in the setup is that it looks for Resources and Applications in the Partition object as well as the Segments. This gives a "Severe" error but seems harmless.

Things Dave had to do to run tdaq-01-06 with combined-test database files

At /daqsoft/combined

<attr name="Parameters" type="string">"-k ReadoutApplication? -v anything2 -c RCDTtcviConfig?"</attr>

to

<attr name="Parameters" type="string">"-k ReadoutApplication? -v anything2 -c ROSDBConfig"</attr>

Changes for TDAQ-01-06-01

lcg stuff is explicitly set to use afs in /daqsoft/tdaq-release/tdaq-01-06-01/installed/share/bin/setup_vars.sh

and /daqsoft/tdaq-release/tdaq-01-06-01/installed/share/data/DAQRelease/sw/tdaq-common-external-repository.data.xml

Set them all to /daqsoft/lcg manually!!