|
| 1 | +.\" Manpage for AliceHLT components. |
| 2 | +.TH AliceO2 1 "19 May 2017" "1.0" "AliceHLT components man page" |
| 3 | + |
| 4 | +.SH DESCRIPTION |
| 5 | +ALICE HLT components are part of AliRoot and can be plugged into the |
| 6 | +O2 system via the AliceHLTWrapperDevice. The wrapper device takes the |
| 7 | +shared library name and component id as parameters to instantiate the |
| 8 | +component instance. |
| 9 | + |
| 10 | +.SH SELECTED COMPONENTS |
| 11 | +.B libAliHLTUtil.so |
| 12 | + FilePublisher |
| 13 | + FileWriter |
| 14 | + ROOTFilePublisher |
| 15 | + ROOTFileWriter |
| 16 | + |
| 17 | +.SH COMPONENT OPTIONS |
| 18 | +.SS FilePublisher |
| 19 | +.TP 2 |
| 20 | +.B -datafile |
| 21 | +.I filename |
| 22 | + data file to be published |
| 23 | +.TP 2 |
| 24 | +.B -datafilelist |
| 25 | +.I configfile |
| 26 | + read arguments from a configfile |
| 27 | +.TP 2 |
| 28 | +.B -datatype |
| 29 | +.I datatype dataorigin |
| 30 | + data type ID and origin, e.g. -datatype 'CLUSTERS' 'TPC ' |
| 31 | +.TP 2 |
| 32 | +.B -dataspec |
| 33 | +.I specification |
| 34 | + data specification treated as decimal number or hex number if prepended by '0x' |
| 35 | +.TP |
| 36 | +.B -open_files_at_start (optional) |
| 37 | +Opens all files during component initialisation rather than as needed during event processing. Note: this feature may result in the system running out of file handles if a large number of files was specified. |
| 38 | +.TP |
| 39 | +.B -nextevent (optional) |
| 40 | +indicate subsequent files to be published by the next event |
| 41 | + |
| 42 | +.SS FileWriter |
| 43 | +.TP |
| 44 | +.B -datafile |
| 45 | +.I filename |
| 46 | + file name base |
| 47 | +.TP |
| 48 | +.B -directory |
| 49 | +.I directory |
| 50 | + target directory |
| 51 | +.TP |
| 52 | +.B -subdir[=pattern] |
| 53 | + create sub dir for each event, the format pattern can contain printfspecifiers to print the event no into the dir name, default is'event%%03lu' (-subdir w/o additional pattern). The format specifyer%%lu is automatically added if missing in the pattern. Please note thelong int type of the event id, the idfmt string is reset since the subdircontains the id |
| 54 | +.TP |
| 55 | +.B -idfmt[=pattern] |
| 56 | + format specifier for the event id in the file name, default: on, default pattern: '_0x%%08x' |
| 57 | +.TP |
| 58 | +.B -specfmt[=pattern] |
| 59 | +format specifier for the data specification in the file name default: off, default pattern: '_0x%%08x' |
| 60 | +.TP |
| 61 | +.B -blocknofmt[=pattern] |
| 62 | +format specifier for the block no in the file name default: on, default pattern: '_0x%%02x' |
| 63 | +.TP |
| 64 | +.B -skip-datatype |
| 65 | + do not consider data type when building the file name. |
| 66 | +.TP |
| 67 | +.B -enumerate |
| 68 | +don't use the event number but an event counter beginning from 0 |
| 69 | +.TP |
| 70 | +.B -concatenate-blocks |
| 71 | + concatenate all blocks of one event into one file, this skips the block no, and the block data type in the file name |
| 72 | +.TP |
| 73 | +.B -concatenate-events |
| 74 | + concatenate all events into one file, this skips the event no, the block no, and the block data type in the file name. Currently, this implies the -concatenate-blocks option. |
| 75 | +.TP |
| 76 | +.B -publisher-conf |
| 77 | +.I filename |
| 78 | + write configuration file for FilePublisher component (AliHLTFilePublisher) one line per file: -datatype id origin -datafile filename events separated by -nextevent |
| 79 | +.TP |
| 80 | +.B -write-all-events |
| 81 | + by default, the file writer ignores all steering events like thethe SOR/EOR events, with this option, all events will be consideredthe beginning. |
| 82 | +.TP |
| 83 | +.B -write-all-blocks |
| 84 | + by default, the file writer ignores all blocks of origin {PRIV} (::kAliHLTDataOriginPrivate), with this option, all blocks willbe written. For SOR/EOR events, a short string will be added in the beginning. |
| 85 | +.TP |
| 86 | +.B -write-all |
| 87 | + combines both -write-all-events and -write-all-blocks |
| 88 | +.TP |
| 89 | +.B -burst-buffer <size> |
| 90 | + size of burst buffer, blocks are written to buffer until it is filled and written in one burst (though to different files according to conf). Note: burst write is currently only supported for mode -concatenate-events AND -concatenate-blocks (both enabled). |
| 91 | +.TP |
| 92 | +.B -datatype |
| 93 | +.I id origin |
| 94 | + data block selection by AliHLTBlockDataCollection |
| 95 | +.TP |
| 96 | +.B -origin |
| 97 | +.I origin |
| 98 | + data block selection by AliHLTBlockDataCollection |
| 99 | +.TP |
| 100 | +.B -typeid |
| 101 | +.I id |
| 102 | + data block selection by AliHLTBlockDataCollection |
| 103 | +.TP |
| 104 | +.B -dataspec |
| 105 | +.I specification |
| 106 | + data block selection by AliHLTBlockDataCollection |
| 107 | + |
| 108 | +.SS ROOTFilePublisher |
| 109 | +Special implementation of the |
| 110 | +.I FilePublisher |
| 111 | +component. |
| 112 | +.P |
| 113 | +Additional options: |
| 114 | +.TP |
| 115 | +.B -objectname |
| 116 | +.I objectname |
| 117 | +Name of the object in the root file to be fetched. This is set for all events/files. If not given, all objects are fetched. |
| 118 | + |
| 119 | +.SS ROOTFileWriter |
| 120 | +Special implementation of the |
| 121 | +.I FileWriter |
| 122 | +component. |
| 123 | +.P |
| 124 | +Additional options: |
| 125 | +.TP |
| 126 | +.B -overwrite |
| 127 | +write objects with the TObject::kOverwrite flag and avoid multiple keys in the file |
| 128 | + |
| 129 | + |
| 130 | +.SH AUTHOR |
| 131 | +Matthias.Richter@scieq.net |
| 132 | +All questions and suggestions welcome |
| 133 | + |
| 134 | +.SH "SEE ALSO" |
| 135 | +AliceHLTWrapperDevice(1) |
| 136 | + |
| 137 | +.SH BUGS |
| 138 | + |
0 commit comments