Skip to content
Andreas Neiser edited this page Jul 10, 2017 · 1 revision

Ant-info

Prints infos about a experiment data file. Things like header infos, first event ID, and the corresponding Setup. Example:

$ Ant-info CBTaggTAPS_6056.dat.xz 
2017-03-31 14:24:52,038 [INFO ] ExpConfig.cc:49 : Auto-detected setup with name Setup_2014_10_EPT_Prod
2017-03-31 14:24:52,050 [INFO ] UnpackerAcqu.cc:29 : Successfully opened data/CBTaggTAPS_6056.dat.xz
2017-03-31 14:24:52,050 [INFO ] Ant-info.cc:33 : Found setup: Setup_2014_10_EPT_Prod
TID=('2014-10-14T12:39:49Z',0x00000000)
TUnpackerMessage Level=Info Msg='Acqu Mk2 header successfully unpacked'
TUnpackerMessage Level=Info Msg='Acqu Header Info: Time='2014-10-14T12:39:49Z' Description='EPT production, 2014-10' RunNote='Please enter a comment (and hit return)' OutFile='scratch/CBTaggTAPS_6056.dat' RunNumber=6056 RecordLength=32768 nModules=218 '
TUnpackerMessage Level=Warn Msg='Record length in header 0x8000 does not match true file record length 0x50000'

Ant-rawdump

Converts Acqu input files into ROOT TTree files. You need to specify an "ADC number range" with -a. For example

Ant-rawdump -i CBTaggTAPS_12485.dat.xz -o CBTaggTAPS_12485.dat.xz.AcquRawADC.root -a '300-424;212-219'
Clone this wiki locally