DAQTree plugin
DAQTree is a standard JANA plugin that can be used to output information about standard DAQ objects to root trees.
Usage
Once everything is set up (as on the gluon cluster), it can be run using the following command:
hd_root -PPLUGINS=DAQ,DAQTree codafile.coda -o outputfile.root
The -PPLUGINS=DAQ is required to generate the low level DAQ object which are then saved to the tree.
The -PHDDM:ENABLE=0 switch is required to stop the analyzer from wasting time trying to interpret the file as a HDDM file. Later developments to the HDDM parser have made this unnecessary.
Data Types
The currently supported object types are:
Df125PulseIntegral DF1TDCHit DF1TDCTriggerTime Df250WindowRawData Df250PulseRawData Df250PulseIntegral Df250PulseTime Df250TriggerTime
The object types that will be supported in future are:
Df125PulseIntegral Df125PulseTime Df125TriggerTime DF1TDCHit DF1TDCTriggerTime Df250PulseIntegral Df250PulseRawData Df250PulseTime Df250StreamingRawData Df250TriggerTime Df250WindowRawData Df250WindowSum
Notes
DAQTree is currently not compiled or installed by default because it depends on the DAQ plugin. The DAQ plugin is not currently compiled by default since it depends on evio, which is not typically necessary for standard simulation reconstruction. This may change. First compile and install sim-recon, the the DAQ plugin and then the DAQTree plugin.
See the Doxygen entry for this plugin for a look into the internal structure.