musrWiz: add FLAME, VMS and GPD to the PSI instrument definitions (Qt6 and Qt5).
Build and Deploy Documentation / build-and-deploy (push) Successful in 20s

Detector groupings are based on https://www.psi.ch/en/smus, the musrfit
tutorials (FLAME) and doc/examples (GPD).

NOTE: the FLAME, VMS and GPD entries still need to be verified, in
particular the run name templates, fgb_offset/lgb/asym_bkg_range, the
relative phases, and the GPD up/down histogram numbers.
This commit is contained in:
suter_a committed 2026-11-11 19:24:55 +01:00
1 parent a46d0ed1b7
commit e397ae88df
2 files changed
+224

No files matched your search

@@ -163,4 +163,116 @@
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="0.5"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ F L A M E +++++++++++++++++++++++++++++++++++++++++++ -->
<!-- histogram numbers (see musrfit-docu, tutorial 4): 1=F, 2=B, 3=R, 4=L, -->
<!-- 5=R_F, 6=R_B, 7=L_F, 8=L_B. Main field (up to 3.5T) along the beam (z), -->
<!-- vector field Bx (vertical, +-200G) used for wTF. Phases are starting values only. -->
<instrument name="FLAME">
<run_name_template>dYYYY/tdc/root/deltat_tdc_flame_YYYY_NNNN</run_name_template>
<beamline>PIM3</beamline>
<data_file_format>MUSR-ROOT</data_file_format>
<tf name="Bx">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="F" rel_phase="180.0" forward="1 5 7"/>
<logic_detector name="B" rel_phase="0.0" forward="2 6 8"/>
<logic_detector name="R" rel_phase="270.0" forward="3"/>
<logic_detector name="L" rel_phase="90.0" forward="4"/>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
<logic_asym_detector name="LR" rel_phase="90.0" forward="4" backward="3" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
</zf>
<lf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ V M S (upgraded Dolly) +++++++++++++++++++++++++++++++ -->
<!-- grouping from https://www.psi.ch/en/smus/vms: 1=B, 2=F, 3+4+5=L, 6+7+8=R. -->
<!-- WEU (0-0.8T) / WEUL (0-50mT) along the beam, WEV (0-15mT) perpendicular. -->
<!-- TODO: run name template, fgb_offset, lgb and asym_bkg_range still to be verified -->
<!-- (currently FLAME-like MusrRoot values). Phases are starting values only. -->
<instrument name="VMS">
<run_name_template>dYYYY/tdc/root/deltat_tdc_vms_YYYY_NNNN</run_name_template>
<beamline>PIE1</beamline>
<data_file_format>MUSR-ROOT</data_file_format>
<tf name="WEU">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="L" rel_phase="0.0" forward="3 4 5"/>
<logic_detector name="R" rel_phase="180.0" forward="6 7 8"/>
<logic_asym_detector name="LR" rel_phase="0.0" forward="3 4 5" backward="6 7 8" alpha="1.0"/>
</tf>
<tf name="WEV">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="F" rel_phase="180.0" forward="2"/>
<logic_detector name="B" rel_phase="0.0" forward="1"/>
<logic_detector name="R" rel_phase="270.0" forward="6 7 8"/>
<logic_detector name="L" rel_phase="90.0" forward="3 4 5"/>
<logic_asym_detector name="BF" rel_phase="0.0" forward="1" backward="2" alpha="1.0"/>
<logic_asym_detector name="LR" rel_phase="90.0" forward="3 4 5" backward="6 7 8" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</zf>
<lf name="WEU">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ G P D +++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- 1=B, 2=F (from doc/examples/test-asy-PSI-BIN.msr). Main field 0-0.66T, coils -->
<!-- rotatable, i.e. parallel (LF) or perpendicular (TF) to the muon spin. -->
<!-- TODO: up/down histogram numbers unknown, hence not yet defined. -->
<instrument name="GPD">
<run_name_template>dYYYY/tdc/deltat_tdc_gpd_NNNN</run_name_template>
<beamline>MUE1</beamline>
<data_file_format>PSI-BIN</data_file_format>
<tf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_detector name="B" rel_phase="0.0" forward="1"/>
<logic_detector name="F" rel_phase="180.0" forward="2"/>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</zf>
<lf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</lf>
</instrument>
</instrument_def_psi>
@@ -163,4 +163,116 @@
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="0.5"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ F L A M E +++++++++++++++++++++++++++++++++++++++++++ -->
<!-- histogram numbers (see musrfit-docu, tutorial 4): 1=F, 2=B, 3=R, 4=L, -->
<!-- 5=R_F, 6=R_B, 7=L_F, 8=L_B. Main field (up to 3.5T) along the beam (z), -->
<!-- vector field Bx (vertical, +-200G) used for wTF. Phases are starting values only. -->
<instrument name="FLAME">
<run_name_template>dYYYY/tdc/root/deltat_tdc_flame_YYYY_NNNN</run_name_template>
<beamline>PIM3</beamline>
<data_file_format>MUSR-ROOT</data_file_format>
<tf name="Bx">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="F" rel_phase="180.0" forward="1 5 7"/>
<logic_detector name="B" rel_phase="0.0" forward="2 6 8"/>
<logic_detector name="R" rel_phase="270.0" forward="3"/>
<logic_detector name="L" rel_phase="90.0" forward="4"/>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
<logic_asym_detector name="LR" rel_phase="90.0" forward="4" backward="3" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
</zf>
<lf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="BF" rel_phase="0.0" forward="2 6 8" backward="1 5 7" alpha="1.0"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ V M S (upgraded Dolly) +++++++++++++++++++++++++++++++ -->
<!-- grouping from https://www.psi.ch/en/smus/vms: 1=B, 2=F, 3+4+5=L, 6+7+8=R. -->
<!-- WEU (0-0.8T) / WEUL (0-50mT) along the beam, WEV (0-15mT) perpendicular. -->
<!-- TODO: run name template, fgb_offset, lgb and asym_bkg_range still to be verified -->
<!-- (currently FLAME-like MusrRoot values). Phases are starting values only. -->
<instrument name="VMS">
<run_name_template>dYYYY/tdc/root/deltat_tdc_vms_YYYY_NNNN</run_name_template>
<beamline>PIE1</beamline>
<data_file_format>MUSR-ROOT</data_file_format>
<tf name="WEU">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="L" rel_phase="0.0" forward="3 4 5"/>
<logic_detector name="R" rel_phase="180.0" forward="6 7 8"/>
<logic_asym_detector name="LR" rel_phase="0.0" forward="3 4 5" backward="6 7 8" alpha="1.0"/>
</tf>
<tf name="WEV">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_detector name="F" rel_phase="180.0" forward="2"/>
<logic_detector name="B" rel_phase="0.0" forward="1"/>
<logic_detector name="R" rel_phase="270.0" forward="6 7 8"/>
<logic_detector name="L" rel_phase="90.0" forward="3 4 5"/>
<logic_asym_detector name="BF" rel_phase="0.0" forward="1" backward="2" alpha="1.0"/>
<logic_asym_detector name="LR" rel_phase="90.0" forward="3 4 5" backward="6 7 8" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</zf>
<lf name="WEU">
<no_of_detectors>8</no_of_detectors>
<fgb_offset>30</fgb_offset>
<lgb>100000</lgb>
<asym_bkg_range>100 1300</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</lf>
</instrument>
<!-- +++++++++++++++++++++++++++ G P D +++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- 1=B, 2=F (from doc/examples/test-asy-PSI-BIN.msr). Main field 0-0.66T, coils -->
<!-- rotatable, i.e. parallel (LF) or perpendicular (TF) to the muon spin. -->
<!-- TODO: up/down histogram numbers unknown, hence not yet defined. -->
<instrument name="GPD">
<run_name_template>dYYYY/tdc/deltat_tdc_gpd_NNNN</run_name_template>
<beamline>MUE1</beamline>
<data_file_format>PSI-BIN</data_file_format>
<tf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_detector name="B" rel_phase="0.0" forward="1"/>
<logic_detector name="F" rel_phase="180.0" forward="2"/>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</tf>
<zf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</zf>
<lf>
<no_of_detectors>2</no_of_detectors>
<fgb_offset>5</fgb_offset>
<lgb>7990</lgb>
<asym_bkg_range>60 150</asym_bkg_range>
<logic_asym_detector name="FB" rel_phase="0.0" forward="2" backward="1" alpha="1.0"/>
</lf>
</instrument>
</instrument_def_psi>