Changes between Version 16 and Version 17 of DatabaseBasedAnalysis/table2sql


Ignore:
Timestamp:
09/02/18 14:51:31 (7 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/table2sql

    v16 v17  
    5050}}}
    5151
    52 In these three examples, the first one would read from a tree ''Events'' and write to table ''Events''. The second case would read from a tree ''MyTree'' and write to a table ''MyTree'' and the third case would read from a tree ''MyTree'' and write to a table ''MyTable''.
     52In these three examples, the first one would read from a tree ''Events'' and write to table ''Events''. The second case would read from a tree ''!MyTree'' and write to a table ''!MyTree'' and the third case would read from a tree ''!MyTree'' and write to a table ''!MyTable''.
    5353
    5454=== Column Names ===
     
    5656The name of each column to which data is filled from a leave is obtained from the leaves' names. The leave names can be checked using `--print-leaves`. A `--print-branches` exists for convenience to print only the high-level branches.
    5757
    58 If the leaf with the basic data type is called ''MTime.fTime.fMilliSec', the column would be called ''MTime.fTime.fMilliSec'' as well.
     58If the leaf with the basic data type is called ''MTime.fTime.fMilliSec'', the column would be called ''MTime.fTime.fMilliSec'' as well.
    5959
    6060Both, root leaves and FITS-extension can contain fixes sized arrays of basic data types. If the array is called ARR and has 3 fields, the SQL columns will be called ARR[0], ARR[1] and ARR[2]. All modifier options working on columns always alter all corresponding columns at once.
     
    9090--ignore=ThetaSq\..*
    9191}}}
    92 will skip all leaves which name contains with 'ThetaSq.'. This option can be given more than once.
     92will skip all leaves which name contains with '!ThetaSq.'. This option can be given more than once.
    9393
    9494The corresponding C++ call is `boost::regex_match(leafname, regex)` for `--ignore regex`.