BxCppDev / Bayeux

Core Persistency, Geometry and Data Processing C++ Library for Particle and Nuclear Physics Experiments
GNU General Public License v3.0
4 stars 9 forks source link

Finish parsing implementation of id_selector in initialize method with datatools::properties #4

Closed goliviero closed 7 years ago

goliviero commented 7 years ago

On id_selector.cc in the method : void id_selector::initialize(const datatools::properties & config_) Only unique value for given address is parsed. It will be useful if addresses range and list are parsed too for selection rules with a datatools::properties configuration object

fmauger commented 7 years ago

Impacted class is: geomtools::id_selector

fmauger commented 7 years ago

New implementation supports the following additional syntax:

category           : string = "detector"  # Detection unit
address.row.set    : string = "{1}"       # Row #1
address.column.set : string = "[0;4]"     # Column from #0 to #4