<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?>
<!-- 
  # NeXus - Neutron and X-ray Common Data Format
  # 
  # Copyright (C) 2008-2020 NeXus International Advisory Committee (NIAC)
  # 
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 3 of the License, or (at your option) any later version. 
  # 
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  # Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this library; if not, write to the Free Software
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  #
  # For further information, see http://www.nexusformat.org 
-->
<definition type="group" name="NXseparator" category="contributed" extends="NXobject"
  xmlns="http://definition.nexusformat.org/nxdl/3.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd"
  >
  <doc>definition for an electrostatic separator.</doc>
  <field name="description" type="NX_CHAR">
    <doc>extended description of the separator.</doc>
  </field>
  <field name="beamline_distance" type="NX_FLOAT" units="NX_LENGTH" minOccurs="0" maxOccurs="1">
    <doc>define position of beamline element relative to production target</doc>
  </field>
  <field name="set_Bfield_current" type="NX_FLOAT" units="NX_CURRENT" minOccurs="0" maxOccurs="1">
    <doc>current set on magnet supply.</doc>
  </field>
  <group name="read_Bfield_current" type="NXlog" minOccurs="0" maxOccurs="1">
    <doc>current read from magnet supply.</doc>
    <field name="value" units="NX_CURRENT"/>
  </group>
  <group name="read_Bfield_voltage" type="NXlog" minOccurs="0" maxOccurs="1">
    <doc>voltage read from magnet supply.</doc>
    <field name="value" units="NX_VOLTAGE"/>
  </group>
  <field name="set_Efield_voltage" type="NX_FLOAT" units="NX_VOLTAGE" minOccurs="0" maxOccurs="1">
    <doc>current set on HT supply.</doc>
  </field>
  <group name="read_Efield_current" type="NXlog" minOccurs="0" maxOccurs="1">
    <doc>current read from HT supply.</doc>
    <field name="value" units="NX_CURRENT"/>
  </group>
  <group name="read_Efield_voltage" type="NXlog" minOccurs="0" maxOccurs="1">
    <doc>voltage read from HT supply.</doc>
    <field name="value" units="NX_VOLTAGE"/>
  </group>
</definition>
