musredit 1.0.0
Loading...
Searching...
No Matches
PMsr2DataParam Struct Reference

Parameter structure for msr2data tool integration. More...

#include <musredit.h>

Public Attributes

QString runList
 Space-separated list of run numbers for batch processing (msr2data usage 3).
 
QString runListFileName
 Path to a file containing run numbers, one per line (msr2data usage 4).
 
QString msrFileExtension
 Optional extension appended to msr filenames (e.g., "_h13" for "0100_h13.msr").
 
int templateRunNo
 Run number of the template msr file to use as base for new files.
 
QString paramList
 Comma-separated list of parameter names/numbers to export to db-file.
 
QString dbOutputFileName
 Output filename for the generated TRIUMF-style database file.
 
bool writeDbHeader
 If true, include header in db-file output (opposite of msr2data's noheader flag).
 
bool ignoreDataHeaderInfo
 If true, skip summary info extraction from data headers (msr2data nosummary flag).
 
bool keepMinuit2Output
 If true, preserve MINUIT2.OUTPUT/MINUIT2.root files (msr2data -k flag).
 
bool writeColumnData
 If true, write column-formatted ASCII instead of db-file (msr2data data option).
 
bool recreateDbFile
 If true, overwrite existing db-file; if false, append to it.
 
bool chainFit
 If true, use previous run's fit result as template for next run (chain fitting mode).
 
bool openFilesAfterFitting
 If true, automatically open fitted msr-files in musredit after completion.
 
bool titleFromDataFile
 If true, extract msr-file title from the data file (msr2data -t flag).
 
bool estimateN0
 If true, estimate N0 parameter for single histogram fits.
 
bool yamlOut
 If true, write MINUIT2 output to <msr-file>.yaml format.
 
bool perRunBlockChisq
 If true, include per-run-block chi-square values in msr-file output.
 
bool createMsrFileOnly
 If true, only generate msr-files without performing fits (msr2data msr-<template>).
 
bool fitOnly
 If true, only perform fits using existing msr-files (msr2data fit option).
 
bool global
 If true, enable global fitting mode (msr2data global option).
 
bool globalPlus
 If true, enable global+ fitting mode with enhanced constraints (msr2data global+ option).
 

Detailed Description

Parameter structure for msr2data tool integration.

This structure holds all the configuration parameters needed to invoke the msr2data tool from within musredit. The msr2data tool is used to:

  • Generate msr files from templates for multiple runs
  • Perform batch fitting operations
  • Export fit parameters to database (db) files or column-formatted ASCII files

For a detailed description of these parameters, see the msr2data documentation (msr2data --help) and the online musrfit user manual.

See also
https://lmu.web.psi.ch/musrfit/user/html/user-manual.html#msr2data msr2data documentation

Definition at line 73 of file musredit.h.

Member Data Documentation

◆ chainFit

bool PMsr2DataParam::chainFit

If true, use previous run's fit result as template for next run (chain fitting mode).

Definition at line 85 of file musredit.h.

◆ createMsrFileOnly

bool PMsr2DataParam::createMsrFileOnly

If true, only generate msr-files without performing fits (msr2data msr-<template>).

Definition at line 91 of file musredit.h.

◆ dbOutputFileName

QString PMsr2DataParam::dbOutputFileName

Output filename for the generated TRIUMF-style database file.

Definition at line 79 of file musredit.h.

◆ estimateN0

bool PMsr2DataParam::estimateN0

If true, estimate N0 parameter for single histogram fits.

Definition at line 88 of file musredit.h.

◆ fitOnly

bool PMsr2DataParam::fitOnly

If true, only perform fits using existing msr-files (msr2data fit option).

Definition at line 92 of file musredit.h.

◆ global

bool PMsr2DataParam::global

If true, enable global fitting mode (msr2data global option).

Definition at line 93 of file musredit.h.

◆ globalPlus

bool PMsr2DataParam::globalPlus

If true, enable global+ fitting mode with enhanced constraints (msr2data global+ option).

Definition at line 94 of file musredit.h.

◆ ignoreDataHeaderInfo

bool PMsr2DataParam::ignoreDataHeaderInfo

If true, skip summary info extraction from data headers (msr2data nosummary flag).

Definition at line 81 of file musredit.h.

◆ keepMinuit2Output

bool PMsr2DataParam::keepMinuit2Output

If true, preserve MINUIT2.OUTPUT/MINUIT2.root files (msr2data -k flag).

Definition at line 82 of file musredit.h.

◆ msrFileExtension

QString PMsr2DataParam::msrFileExtension

Optional extension appended to msr filenames (e.g., "_h13" for "0100_h13.msr").

Definition at line 76 of file musredit.h.

◆ openFilesAfterFitting

bool PMsr2DataParam::openFilesAfterFitting

If true, automatically open fitted msr-files in musredit after completion.

Definition at line 86 of file musredit.h.

◆ paramList

QString PMsr2DataParam::paramList

Comma-separated list of parameter names/numbers to export to db-file.

Definition at line 78 of file musredit.h.

◆ perRunBlockChisq

bool PMsr2DataParam::perRunBlockChisq

If true, include per-run-block chi-square values in msr-file output.

Definition at line 90 of file musredit.h.

◆ recreateDbFile

bool PMsr2DataParam::recreateDbFile

If true, overwrite existing db-file; if false, append to it.

Definition at line 84 of file musredit.h.

◆ runList

QString PMsr2DataParam::runList

Space-separated list of run numbers for batch processing (msr2data usage 3).

Definition at line 74 of file musredit.h.

◆ runListFileName

QString PMsr2DataParam::runListFileName

Path to a file containing run numbers, one per line (msr2data usage 4).

Definition at line 75 of file musredit.h.

◆ templateRunNo

int PMsr2DataParam::templateRunNo

Run number of the template msr file to use as base for new files.

Definition at line 77 of file musredit.h.

◆ titleFromDataFile

bool PMsr2DataParam::titleFromDataFile

If true, extract msr-file title from the data file (msr2data -t flag).

Definition at line 87 of file musredit.h.

◆ writeColumnData

bool PMsr2DataParam::writeColumnData

If true, write column-formatted ASCII instead of db-file (msr2data data option).

Definition at line 83 of file musredit.h.

◆ writeDbHeader

bool PMsr2DataParam::writeDbHeader

If true, include header in db-file output (opposite of msr2data's noheader flag).

Definition at line 80 of file musredit.h.

◆ yamlOut

bool PMsr2DataParam::yamlOut

If true, write MINUIT2 output to <msr-file>.yaml format.

Definition at line 89 of file musredit.h.


The documentation for this struct was generated from the following file: