musrfit 1.9.9
PRunNameTemplate Struct Reference

#include <PMusr.h>

Public Attributes

TString instrument {""}
 Instrument identifier (e.g., "GPS", "LEM", "DOLLY")
 
TString runNameTemplate {""}
 File path template with placeholders (r=run, y=year)
 

Detailed Description

Run name template for automatic file path construction.

This structure associates an instrument identifier with a file naming template, enabling automatic construction of data file paths from run numbers. Templates use placeholders that are replaced with actual run numbers and years.

Example: For instrument "GPS" with template "/data/gps/%y/%r.root", run 2425 in year 2023 becomes "/data/gps/2023/2425.root".

Definition at line 1432 of file PMusr.h.

Member Data Documentation

◆ instrument

TString PRunNameTemplate::instrument {""}

Instrument identifier (e.g., "GPS", "LEM", "DOLLY")

Definition at line 1433 of file PMusr.h.

Referenced by PStartupHandler::OnCharacters().

◆ runNameTemplate

TString PRunNameTemplate::runNameTemplate {""}

File path template with placeholders (r=run, y=year)

Definition at line 1434 of file PMusr.h.

Referenced by PStartupHandler::OnCharacters().


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