Changes between Version 8 and Version 9 of DatabaseBasedAnalysis/rootifysql


Ignore:
Timestamp:
08/05/18 18:27:12 (6 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/rootifysql

    v8 v9  
    210210}}}
    211211
     212=== Some general root file options ===
     213
     214The output file name can be changed with {{{--out}}} and the tree name with {{{--tree}}}.
     215
     216{{{
     217fact@ihp-pc45:~/FACT++/build> rootifysql -f --query="SELECT 1" --out newfile.root --tree MyTree
     218[...]
     219Opening file 'newfile.root' [compression=1]...
     220Writing data to tree 'MyTree'
     221[...]
     222}}}
     223
     224To update en existing file use {{{--update}}}.
     225
     226{{{
     227fact@ihp-pc45:~/FACT++/build> rootifysql --update --query="SELECT 1" --out newfile.root --tree MyNewTree
     228[...]
     229Opening file 'newfile.root' [compression=1]...
     230Writing data to tree 'MyTree'
     231[...]
     232}}}
     233
     234Note that this will always create a new tree in an existing file. You can not update an existing tree.
     235
     236The compression can be changed with {{{-c}}} (short for {{{--compression}}})
     237
     238{{{
     239fact@ihp-pc45:~/FACT++/build> rootifysql --update --query="SELECT 1"
     240[...]
     241Opening file 'rootifysql.root' [compression=9]...
     242[...]
     243}}}
     244
     245
     246
    212247=== Changing the branch name ===
    213248