|
NSCL DDAS
12.1-001
Support for XIA DDAS at FRIB
|
<genesis:rawdata >. /usr/opt/daq/12.1-xiaapi4/daqsetup.bash <genesis:rawdata >$DAQBIN/ddasdumper -s file:///scratch/chester/rawdata/run-1234-00.evt -f run-1234-00.root ddasdumper main caught a C++ exception: Unable to dump a data format item... likely you've specified the wrong --nscldaq-format
"ddasdumper doesn't work for run-1234-00.evt, please help."
"I have a data file run-1234-00.evt which was recorded using NSCLDAQ version 11.3-034. I am trying to convert the file to ROOT format using the ddasdumper from NSCLDAQ version 12.1-xiaapi4. No output ROOT file is produced, and I see the following message:
$DAQBIN/ddasdumper -s file:///scratch/chester/rawdata/run-1234-00.evt -f run-1234-00.root ddasdumper main caught a C++ exception: Unable to dump a data format item... likely you've specified the wrong –nscldaq-format
<genesis:rawdata >$DAQBIN/ddasdumper -h
Usage: ddasdumper [OPTION]...
Write NSCLDAQ PHYSICS_EVENT data obtained using DDAS to a ROOT TTree and
perform a formatted dump of selected data items.
-h, --help Print help and exit
-V, --version Print version and exit
-s, --source=STRING Data source URL. Note that only file and streaming
data sources
-f, --fileout=STRING Path of output file
-c, --count=INT Number of items to dump before exiting. If no count
value is provided, all items are dumped
-k, --skip=INT Number of items to skip before dumping
-e, --exclude=STRING List of item types to exclude from the dump
(default=`')
-w, --scaler-width=INT Scaler counter width in bits (default=`32')
-F, --nscldaq-format=ENUM NSCLDAQ format version (possible values="12",
"11", "10" default=`12')
--nscldaq-format option expects one of 10, 11, and 12, corresponding to the major version of the NSCLDAQ code used to take the data.<genesis:rawdata >$DAQBIN/ddasdumper -s file:///scratch/chester/rawdata/run-1234-00.evt -f run-1234-00.root --nscldaq-format=11 Ring items formatted for: 11.0 Mon May 16 17:39:43 2022 : Run State change : Begin Run at 0 seconds into the run Body Header: Timestamp: 18446744073709551615 SourceID: 0 Barrier Type: 1 Title : Run Number: 283 Glom is building events Event building coincidence window is: 10000 timestamp ticks TimestampPolicy : last ...