Commit eeaeafe6060c00a9e958de9bc33da468f3291436

Authored by Benjamin Renard
1 parent 6bc2dd6b
Exists in juice_jdc and in 1 other branch amdadev

Add BEPI/ENA&MSA/mercury1 parameters

PARAM_DEF/ena_mercury1_channel.xml 0 โ†’ 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="ena_mercury1_channel_##channel##">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:ena:mercury1">
  10 + <baseParam name="channel_##channel##">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="ena_mercury1_channel_##channel##">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="linear"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
PARAM_DEF/ena_mercury1_total.xml 0 โ†’ 100644
... ... @@ -0,0 +1,53 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="ena_mercury1_total">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:ena:mercury1">
  10 + <baseParam name="channel_0">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + <baseParam name="channel_1">
  14 + <clb name="Energy"/>
  15 + </baseParam>
  16 + <baseParam name="channel_2">
  17 + <clb name="Energy"/>
  18 + </baseParam>
  19 + <baseParam name="channel_3">
  20 + <clb name="Energy"/>
  21 + </baseParam>
  22 + <baseParam name="channel_4">
  23 + <clb name="Energy"/>
  24 + </baseParam>
  25 + <baseParam name="channel_5">
  26 + <clb name="Energy"/>
  27 + </baseParam>
  28 + <baseParam name="channel_6">
  29 + <clb name="Energy"/>
  30 + </baseParam>
  31 + </vi>
  32 + </get>
  33 + <process>$bepi_ena_mercury1_channel_0+$bepi_ena_mercury1_channel_1+$bepi_ena_mercury1_channel_2+$bepi_ena_mercury1_channel_3+$bepi_ena_mercury1_channel_4+$bepi_ena_mercury1_channel_5+$bepi_ena_mercury1_channel_6</process>
  34 + <output>
  35 + <plot>
  36 + <timePlot>
  37 + <params>
  38 + <param id="ena_mercury1_total">
  39 + <spectro yAxis="y-left"/>
  40 + </param>
  41 + </params>
  42 + <axes>
  43 + <yAxis>
  44 + <digitalAxis id="y-left" scale="logarithmic"/>
  45 + </yAxis>
  46 + <zAxis>
  47 + <colorAxis scale="linear"/>
  48 + </zAxis>
  49 + </axes>
  50 + </timePlot>
  51 + </plot>
  52 + </output>
  53 +</param>
... ...
PARAM_DEF/msa_mercury1_alpha.xml 0 โ†’ 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="msa_mercury1_alpha">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:msa:mercury1">
  10 + <baseParam name="M2L_alpha">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="msa_mercury1_alpha">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="logarithmic"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
PARAM_DEF/msa_mercury1_heavy.xml 0 โ†’ 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="msa_mercury1_heavy">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:msa:mercury1">
  10 + <baseParam name="M3L_heavies">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="msa_mercury1_heavy">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="logarithmic"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
PARAM_DEF/msa_mercury1_protons.xml 0 โ†’ 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="msa_mercury1_protons">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:msa:mercury1">
  10 + <baseParam name="M1L_protons">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="msa_mercury1_protons">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="logarithmic"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
PARAM_DEF/msa_mercury1_total.xml 0 โ†’ 100644
... ... @@ -0,0 +1,35 @@
  1 +<?xml version="1.0"?>
  2 +<param xml:id="msa_mercury1_total">
  3 + <info>
  4 + <table>
  5 + <centerAutoTable dim="0" name="Energy" centerName="Energy" units="eV" log="true"/>
  6 + </table>
  7 + </info>
  8 + <get>
  9 + <vi name="bepi:msa:mercury1">
  10 + <baseParam name="ML_total">
  11 + <clb name="Energy"/>
  12 + </baseParam>
  13 + </vi>
  14 + </get>
  15 + <process/>
  16 + <output>
  17 + <plot>
  18 + <timePlot>
  19 + <params>
  20 + <param id="msa_mercury1_total">
  21 + <spectro yAxis="y-left"/>
  22 + </param>
  23 + </params>
  24 + <axes>
  25 + <yAxis>
  26 + <digitalAxis id="y-left" scale="logarithmic"/>
  27 + </yAxis>
  28 + <zAxis>
  29 + <colorAxis scale="logarithmic"/>
  30 + </zAxis>
  31 + </axes>
  32 + </timePlot>
  33 + </plot>
  34 + </output>
  35 +</param>
... ...
PARAM_INFO_PREDEFINED/info_ena_mercury1_channel.xml 0 โ†’ 100644
... ... @@ -0,0 +1,26 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<paraminfo id="ena_mercury1_channel">
  3 + <dimensions dim_1="8" dim_2="1"/>
  4 + <components>
  5 + <component index_1="0" name="cnts[0]"/>
  6 + <component index_1="1" name="cnts[1]"/>
  7 + <component index_1="2" name="cnts[2]"/>
  8 + <component index_1="3" name="cnts[3]"/>
  9 + <component index_1="4" name="cnts[4]"/>
  10 + <component index_1="5" name="cnts[5]"/>
  11 + <component index_1="6" name="cnts[6]"/>
  12 + <component index_1="7" name="cnts[7]"/>
  13 + </components>
  14 + <tables>
  15 + <table relatedDim="dim_1" name="Energy" units="eV">
  16 + <channel min="14.1421" max="28.2843"/>
  17 + <channel min="28.2843" max="56.5685"/>
  18 + <channel min="56.5685" max="113.137"/>
  19 + <channel min="113.137" max="226.274"/>
  20 + <channel min="226.274" max="452.548"/>
  21 + <channel min="452.548" max="905.097"/>
  22 + <channel min="905.097" max="1810.19"/>
  23 + <channel min="1810.19" max="3620.39"/>
  24 + </table>
  25 + </tables>
  26 +</paraminfo>
... ...
PARAM_INFO_PREDEFINED/info_ena_mercury1_total.xml 0 โ†’ 100644
... ... @@ -0,0 +1,26 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<paraminfo id="ena_mercury1_total">
  3 + <dimensions dim_1="8" dim_2="1"/>
  4 + <components>
  5 + <component index_1="0" name="cnts[0]"/>
  6 + <component index_1="1" name="cnts[1]"/>
  7 + <component index_1="2" name="cnts[2]"/>
  8 + <component index_1="3" name="cnts[3]"/>
  9 + <component index_1="4" name="cnts[4]"/>
  10 + <component index_1="5" name="cnts[5]"/>
  11 + <component index_1="6" name="cnts[6]"/>
  12 + <component index_1="7" name="cnts[7]"/>
  13 + </components>
  14 + <tables>
  15 + <table relatedDim="dim_1" name="Energy" units="eV">
  16 + <channel min="14.1421" max="28.2843"/>
  17 + <channel min="28.2843" max="56.5685"/>
  18 + <channel min="56.5685" max="113.137"/>
  19 + <channel min="113.137" max="226.274"/>
  20 + <channel min="226.274" max="452.548"/>
  21 + <channel min="452.548" max="905.097"/>
  22 + <channel min="905.097" max="1810.19"/>
  23 + <channel min="1810.19" max="3620.39"/>
  24 + </table>
  25 + </tables>
  26 +</paraminfo>
... ...
ParamTemplateList.xml
... ... @@ -1843,6 +1843,19 @@
1843 1843 </argument>
1844 1844 </arguments>
1845 1845 </paramTemplate>
  1846 + <paramTemplate paramId="ena_mercury1_channel" fileName="ena_mercury1_channel_##channel##">
  1847 + <arguments>
  1848 + <argument key="channel" name="Channel" type="list" default="0">
  1849 + <item key="0" name="Channel 0"/>
  1850 + <item key="1" name="Channel 1"/>
  1851 + <item key="2" name="Channel 2"/>
  1852 + <item key="3" name="Channel 3"/>
  1853 + <item key="4" name="Channel 4"/>
  1854 + <item key="5" name="Channel 5"/>
  1855 + <item key="6" name="Channel 6"/>
  1856 + </argument>
  1857 + </arguments>
  1858 + </paramTemplate>
1846 1859 <paramTemplate paramId="maglib_mlt" fileName="maglib_mlt_##MAGOUT##_##ORBIT##">
1847 1860 <arguments>
1848 1861 <argument key="MAGOUT" name="External field" type="list" subtype="int" default="1">
... ... @@ -2989,7 +3002,7 @@
2989 3002 </arguments>
2990 3003 </paramTemplate>
2991 3004  
2992   - <paramTemplate paramId="mia_earth_3dcm1_elev" fileName="mia_earth_3dcm1_elev_##min##_##max##">
  3005 + <paramTemplate paramId="mia_earth_3dcm1_elev" fileName="mia_earth_3dcm1_elev_##min##_##max##">
2993 3006 <arguments>
2994 3007 <argument key="min" name="Elev Min" type="generated-list" minkey="0" maxkey="16" subtype="int" nametpl="Elev. ##key##" default="0"/>
2995 3008 <argument key="max" name="Elev Max" type="generated-list" minkey="0" maxkey="16" subtype="int" nametpl="Elev. ##key##" default="16"/>
... ...