musrfit 1.10.0
Data File Format Identifiers

Constants identifying μSR data file formats for the any2many converter. More...

Macros

#define A2M_UNDEFINED   0
 Undefined or unknown format (used for error indication)
 
#define A2M_ROOT   1
 Generic ROOT file (minimal structure, basic histograms only)
 
#define A2M_MUSR_ROOT   2
 MusrRoot format (PSI-specific ROOT with complete metadata and run info)
 
#define A2M_MUSR_ROOT_DIR   3
 MusrRoot with directory structure (organized by run number, year, etc.)
 
#define A2M_PSIBIN   4
 PSI binary format (legacy PSI format, platform-specific byte ordering)
 
#define A2M_PSIMDU   5
 PSI MDU ASCII format (ASCII variant of PSI format with metadata)
 
#define A2M_MUD   6
 TRIUMF MUD (Muon Data) format (TRIUMF's standard binary format)
 
#define A2M_NEXUS   7
 NeXus HDF5 format (ISIS, JPARC standard - self-describing, hierarchical)
 
#define A2M_WKM   8
 WKM format (older PSI format, deprecated but still supported for legacy data)
 
#define A2M_ASCII   9
 Generic ASCII format (two-column time-value data for non-μSR applications)
 

Detailed Description

Constants identifying μSR data file formats for the any2many converter.

These constants are used to specify input and output formats when converting between different μSR data file formats. Each format has specific characteristics:

Macro Definition Documentation

◆ A2M_ASCII

#define A2M_ASCII   9

Generic ASCII format (two-column time-value data for non-μSR applications)

Definition at line 75 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList().

◆ A2M_MUD

#define A2M_MUD   6

TRIUMF MUD (Muon Data) format (TRIUMF's standard binary format)

Definition at line 69 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_MUSR_ROOT

#define A2M_MUSR_ROOT   2

MusrRoot format (PSI-specific ROOT with complete metadata and run info)

Definition at line 61 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), PRunDataHandler::WriteData(), and PRunDataHandler::WriteMusrRootFile().

◆ A2M_MUSR_ROOT_DIR

#define A2M_MUSR_ROOT_DIR   3

MusrRoot with directory structure (organized by run number, year, etc.)

Definition at line 63 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_NEXUS

#define A2M_NEXUS   7

NeXus HDF5 format (ISIS, JPARC standard - self-describing, hierarchical)

Definition at line 71 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_PSIBIN

#define A2M_PSIBIN   4

PSI binary format (legacy PSI format, platform-specific byte ordering)

Definition at line 65 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_PSIMDU

#define A2M_PSIMDU   5

PSI MDU ASCII format (ASCII variant of PSI format with metadata)

Definition at line 67 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_ROOT

#define A2M_ROOT   1

Generic ROOT file (minimal structure, basic histograms only)

Definition at line 59 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList().

◆ A2M_UNDEFINED

#define A2M_UNDEFINED   0

Undefined or unknown format (used for error indication)

Definition at line 57 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList(), and PRunDataHandler::WriteData().

◆ A2M_WKM

#define A2M_WKM   8

WKM format (older PSI format, deprecated but still supported for legacy data)

Definition at line 73 of file PRunDataHandler.h.

Referenced by PRunDataHandler::ReadWriteFilesList().