[Halld-offline] ccdb instructions

Shepherd, Matthew mashephe at indiana.edu
Mon Dec 8 12:36:48 EST 2014


Beni,

Thanks!

(I looked at the Wiki and the doc DB, but didn't think to use
the help in the application itself!)

Matt

> On Dec 8, 2014, at 12:27 PM, Beni Zihlmann <zihlmann at jlab.org> wrote:
> 
> Hi Matt,
> 
> type : "ccdb help add"
> and you get:
> 
> [zihlmann at ifarm1101 timing]$ ccdb help add
> Add data constants according given type table
>    add <type table path>  -v <variation>  -r <run_min>-<run_max>  file_to_import
> 
> Required parameters:
>    <type table path> - must be /absolute/path/ in command line mode
>                        might be also relative/path in interactive mode
> 
>    <variation> - variation name
> 
>    <run_min>-<run_max> - run range.
>        if one inputs '<run_min>-' this means <run_min>-<infinit run>
>        if one inputs '-<run_max>' this means <0>-<run_max>
>        if one omits runrange at all. The data will be put as
> 
>   file_to_import - file to import. It should be ccdb file format (see documentation or file format section)
>                    if file format is column of names and column of values add --name-value flag
> 
> Additional flags:
> 
>          --name-value  - indicates that the input file is in name-value format (column of names and column of values)
>    -n or --no-comments - do not add all "#..." comments that is found in file to ccdb database
>          --c-comments  - for files that contains '//' - C style comments. The add replaces simply // to #.
> 
> 




More information about the Halld-offline mailing list