|
musrfit 1.10.0
|
Class for handling μSR asymmetry fits in the Rotating Reference Frame (RRF). More...
#include <PRunAsymmetryRRF.h>


Public Member Functions | |
| PRunAsymmetryRRF () | |
| Default constructor. | |
| PRunAsymmetryRRF (PMsrHandler *msrInfo, PRunDataHandler *rawData, UInt_t runNo, EPMusrHandleTag tag, Bool_t theoAsData) | |
| Main constructor for RRF asymmetry fitting. | |
| virtual | ~PRunAsymmetryRRF () |
| Destructor. | |
| virtual Double_t | CalcChiSquare (const std::vector< Double_t > &par) |
| Calculates chi-square for the RRF asymmetry fit. | |
| virtual Double_t | CalcChiSquareExpected (const std::vector< Double_t > &par) |
| Calculates expected chi-square (for statistical analysis). | |
| virtual Double_t | CalcMaxLikelihood (const std::vector< Double_t > &par) |
| Calculates maximum likelihood estimator. | |
| virtual void | CalcTheory () |
| Calculates theoretical RRF asymmetry function. | |
| virtual UInt_t | GetNoOfFitBins () |
| Returns the number of bins used in the fit. | |
| virtual void | SetFitRangeBin (const TString fitRange) |
| Sets the fit range in bins (can be changed dynamically via COMMAND block). | |
| virtual Int_t | GetStartTimeBin () |
| Returns the first bin used in the fit. | |
| virtual Int_t | GetEndTimeBin () |
| Returns the last bin used in the fit. | |
| virtual void | CalcNoOfFitBins () |
| Calculates the number of bins to be fitted. | |
Public Member Functions inherited from PRunBase | |
| PRunBase () | |
| Default constructor. | |
| PRunBase (PMsrHandler *msrInfo, PRunDataHandler *rawData, UInt_t runNo, EPMusrHandleTag tag) | |
| Constructor initializing run from MSR file and raw data. | |
| virtual | ~PRunBase () |
| Virtual destructor. | |
| virtual void | SetFitRange (PDoublePairVector fitRange) |
| Sets the fit time range for this run. | |
| virtual UInt_t | GetRunNo () |
| Returns the run number (0-based index in MSR file). | |
| virtual PRunData * | GetData () |
| Returns pointer to processed data container. | |
| virtual void | CleanUp () |
| Cleans up internal data structures. | |
| virtual Bool_t | IsValid () |
| Returns validity status of this run object. | |
Protected Member Functions | |
| virtual Bool_t | PrepareData () |
| Prepares all data for RRF fitting or viewing. | |
| virtual Bool_t | PrepareFitData () |
| Prepares RRF data specifically for fitting. | |
| virtual Bool_t | PrepareViewData (PRawRunData *runData, UInt_t histoNo[2]) |
| Prepares RRF data for viewing/plotting. | |
Protected Member Functions inherited from PRunBase | |
| virtual void | DeadTimeCorrection (std::vector< PDoubleVector > &histos, PUIntVector &histoNo) |
| carry out dead time correction | |
| virtual void | CalculateKaiserFilterCoeff (Double_t wc, Double_t A, Double_t dw) |
| Calculates Kaiser window FIR filter coefficients for RRF smoothing. | |
| virtual void | FilterTheo () |
| Applies Kaiser FIR filter to theory values for RRF fits. | |
Private Member Functions | |
| Bool_t | SubtractFixBkg () |
| Subtracts fixed background from histograms. | |
| Bool_t | SubtractEstimatedBkg () |
| Estimates and subtracts background from histograms. | |
| virtual Bool_t | GetProperT0 (PRawRunData *runData, PMsrGlobalBlock *globalBlock, PUIntVector &forwardHisto, PUIntVector &backwardHistoNo) |
| Retrieves proper t0 values for all histograms. | |
| virtual Bool_t | GetProperDataRange (PRawRunData *runData, UInt_t histoNo[2]) |
| Retrieves proper data range for histograms. | |
| virtual void | GetProperFitRange (PMsrGlobalBlock *globalBlock) |
| Determines the proper fit range from global block. | |
Private Attributes | |
| UInt_t | fAlphaBetaTag |
| Tag indicating α/β configuration: 1=both unity, 2=α free/β unity, 3=α unity/β free, 4=both free. | |
| UInt_t | fNoOfFitBins |
| Number of bins included in the fit after RRF packing. | |
| Int_t | fRRFPacking |
| RRF packing factor from GLOBAL block (required for RRF analysis) | |
| Bool_t | fTheoAsData |
| If true, theory calculated only at data points; if false, extra points for nicer Fourier transforms. | |
| PDoubleVector | fForward |
| Forward detector histogram data. | |
| PDoubleVector | fForwardErr |
| Forward detector histogram errors. | |
| PDoubleVector | fBackward |
| Backward detector histogram data. | |
| PDoubleVector | fBackwardErr |
| Backward detector histogram errors. | |
| Int_t | fGoodBins [4] |
| Good bin boundaries: [0]=forward first, [1]=forward last, [2]=backward first, [3]=backward last. | |
| Int_t | fStartTimeBin |
| First bin index for fitting (after RRF transformation) | |
| Int_t | fEndTimeBin |
| Last bin index for fitting (after RRF transformation) | |
Additional Inherited Members | |
Protected Attributes inherited from PRunBase | |
| Bool_t | fValid |
| Flag indicating if run object initialized successfully; false if any error occurred. | |
| EPMusrHandleTag | fHandleTag |
| Operation mode: kFit (fitting), kView (display only), kEmpty (uninitialized) | |
| Int_t | fRunNo |
| Run number (0-based index in MSR file RUN blocks) | |
| PMsrHandler * | fMsrInfo |
| Pointer to MSR file handler (owned externally, not deleted here) | |
| PMsrRunBlock * | fRunInfo |
| Pointer to this run's RUN block settings within fMsrInfo. | |
| PRunDataHandler * | fRawData |
| Pointer to raw data handler (owned externally, not deleted here) | |
| PRunData | fData |
| Processed data container: background-corrected, packed, with theory values. | |
| Double_t | fTimeResolution |
| Time resolution of raw histogram data in microseconds (μs), e.g., 0.01953125 μs for PSI GPS. | |
| PMetaData | fMetaData |
| Experimental metadata extracted from data file header (magnetic field, temperature, beam energy) | |
| PDoubleVector | fT0s |
| Time-zero bin values for all histograms in this run (forward, backward, etc.) | |
| std::vector< PDoubleVector > | fAddT0s |
| Time-zero bin values for additional runs to be added to main run. | |
| Double_t | fFitStartTime |
| Fit range start time in microseconds (μs) relative to t0. | |
| Double_t | fFitEndTime |
| Fit range end time in microseconds (μs) relative to t0. | |
| PDoubleVector | fFuncValues |
| Cached values of user-defined functions from FUNCTIONS block, evaluated at current parameters. | |
| std::unique_ptr< PTheory > | fTheory |
| Theory function evaluator (smart pointer, automatically deleted) | |
| PDoubleVector | fKaiserFilter |
| Kaiser window FIR filter coefficients for smoothing RRF theory curves. | |
Class for handling μSR asymmetry fits in the Rotating Reference Frame (RRF).
PRunAsymmetryRRF extends PRunBase to handle asymmetry fitting where data is transformed into a rotating reference frame. This technique is particularly useful for analyzing high-frequency oscillations in μSR spectra by mixing the signal with a reference frequency.
The RRF transformation:
![\[ A_{\rm RRF}(t) = A(t) \cdot 2\cos(\omega_{\rm RRF} t + \phi_{\rm RRF}) \]](form_12.png)
where:




Key features:
The RRF technique is essential for:
Definition at line 65 of file PRunAsymmetryRRF.h.
| PRunAsymmetryRRF::PRunAsymmetryRRF | ( | ) |
Default constructor.
Default constructor that initializes all member variables.
Sets all counters and indices to default/invalid values. This constructor creates an invalid instance that requires proper initialization via the main constructor.
Definition at line 61 of file PRunAsymmetryRRF.cpp.
References fGoodBins, fNoOfFitBins, fRRFPacking, fTheoAsData, and PRunBase::PRunBase().
| PRunAsymmetryRRF::PRunAsymmetryRRF | ( | PMsrHandler * | msrInfo, |
| PRunDataHandler * | rawData, | ||
| UInt_t | runNo, | ||
| EPMusrHandleTag | tag, | ||
| Bool_t | theoAsData ) |
Main constructor for RRF asymmetry fitting.
Main constructor that initializes RRF asymmetry fitting.
| msrInfo | Pointer to MSR file handler |
| rawData | Pointer to raw run data handler |
| runNo | Run number within the MSR file |
| tag | Operation mode (kFit for fitting, kView for viewing) |
| theoAsData | If true, calculate theory only at data points; if false, calculate additional points for Fourier |
Performs comprehensive initialization for rotating reference frame analysis:
The α/β tag determines the asymmetry calculation method:
RRF packing must be specified in the GLOBAL block (e.g., "rrf_packing 50"). This parameter controls the rebinning after RRF transformation and is essential for proper signal extraction in the rotating frame.
| msrInfo | Pointer to MSR file handler |
| rawData | Pointer to raw run data handler |
| runNo | Run number within the MSR file |
| tag | Operation mode (kFit or kView) |
| theoAsData | If true, calculate theory only at data points |
Definition at line 102 of file PRunAsymmetryRRF.cpp.
References fGoodBins, PRunBase::fMsrInfo, fRRFPacking, PRunBase::fRunInfo, fTheoAsData, PRunBase::fValid, PMsrHandler::GetMsrParamList(), if(), MSR_PARAM_FUN_OFFSET, and PRunBase::PRunBase().
|
virtual |
Destructor.
Destructor that cleans up histogram data.
Clears all four histogram vectors (forward/backward × data/errors) to free memory.
Definition at line 204 of file PRunAsymmetryRRF.cpp.
References fBackward, fBackwardErr, fForward, and fForwardErr.
|
virtual |
Calculates chi-square for the RRF asymmetry fit.
Calculates chi-square for RRF asymmetry fit.
| par | Parameter vector from MINUIT |
Computes χ² by comparing the measured RRF-transformed asymmetry with theory: χ² = Σ[(A_RRF,data - A_RRF,theory)²/σ²]
The RRF asymmetry has already been calculated in PrepareData() by applying the transformation: A_RRF(t) = A(t) · 2cos(ω_RRF·t + φ_RRF)
The theory function is similarly transformed and includes α/β corrections:
Supports OpenMP parallelization for faster calculation.
| par | Parameter vector from MINUIT minimizer |
Implements PRunBase.
Definition at line 235 of file PRunAsymmetryRRF.cpp.
References fAlphaBetaTag, PRunBase::fData, fEndTimeBin, PRunBase::fFuncValues, PRunBase::fMetaData, PRunBase::fMsrInfo, PRunBase::fRunInfo, fStartTimeBin, PRunBase::fTheory, and MSR_PARAM_FUN_OFFSET.
|
virtual |
Calculates expected chi-square (for statistical analysis).
Calculates expected chi-square value.
| par | Parameter vector from MINUIT |
This function is currently not implemented for RRF asymmetry fits because the expected chi-square calculation for RRF-transformed asymmetry data requires a complex statistical treatment. The RRF transformation introduces correlations between adjacent bins that complicate the expected value calculation.
| par | Parameter vector from MINUIT minimizer |
Implements PRunBase.
Definition at line 342 of file PRunAsymmetryRRF.cpp.
|
virtual |
Calculates maximum likelihood estimator.
Calculates maximum likelihood estimator for RRF asymmetry fit.
| par | Parameter vector from MINUIT |
Maximum likelihood estimation provides an alternative to χ² minimization and can be more appropriate for low-count data. However, the proper likelihood function for RRF-transformed μSR asymmetry data is complex and not yet implemented.
| par | Parameter vector from MINUIT minimizer |
Implements PRunBase.
Definition at line 362 of file PRunAsymmetryRRF.cpp.
|
virtual |
Calculates the number of bins to be fitted.
Calculates the number of bins included in the current RRF fit range.
Determines fNoOfFitBins based on the fit range and RRF-packed data availability.
Determines fStartTimeBin and fEndTimeBin from the fit time range (fFitStartTime, fFitEndTime) and RRF-transformed data time grid. Ensures that bin indices remain within valid bounds. The result is stored in fNoOfFitBins.
This calculation accounts for:
Definition at line 495 of file PRunAsymmetryRRF.cpp.
References PRunBase::fData, fEndTimeBin, PRunBase::fFitEndTime, PRunBase::fFitStartTime, fNoOfFitBins, and fStartTimeBin.
Referenced by GetNoOfFitBins(), PrepareFitData(), and PrepareViewData().
|
virtual |
Calculates theoretical RRF asymmetry function.
Calculates theoretical RRF asymmetry values for the current parameters.
Computes the theory values in the rotating reference frame based on current parameters and applies the RRF transformation.
Computes the expected RRF asymmetry A_RRF(t) for all data points based on the current parameter values and the user-defined theory function. The calculation depends on the α/β correction mode:
where f(t) is the raw theory function from the THEORY block.
Note: The RRF transformation is applied during data preparation (PrepareViewData), not here. This function calculates the standard asymmetry theory which is then transformed to the rotating frame during visualization.
The calculated values are stored in fData for plotting and comparison with measured RRF data.
Implements PRunBase.
Definition at line 534 of file PRunAsymmetryRRF.cpp.
References fAlphaBetaTag, PRunBase::fData, PRunBase::fFuncValues, PRunBase::fMetaData, PRunBase::fMsrInfo, PRunBase::fRunInfo, PRunBase::fTheory, and MSR_PARAM_FUN_OFFSET.
|
inlinevirtual |
Returns the last bin used in the fit.
Definition at line 135 of file PRunAsymmetryRRF.h.
References fEndTimeBin.
|
virtual |
Returns the number of bins used in the fit.
Returns the number of bins included in the RRF fit.
Calculates and returns the number of RRF-transformed data bins that fall within the current fit range. This value is used for determining degrees of freedom and is recalculated when the fit range changes (e.g., via COMMAND block).
Definition at line 381 of file PRunAsymmetryRRF.cpp.
References CalcNoOfFitBins(), and fNoOfFitBins.
|
privatevirtual |
Retrieves proper data range for histograms.
Determines the "good bins" range for data analysis from RUN block, GLOBAL block, or estimates (in priority order).
| runData | Pointer to raw run data |
| histoNo | Array of histogram numbers [0]=forward, [1]=backward |
Get the proper data range, i.e. first/last good bin (fgb/lgb).
| runData | raw run data needed to perform some crosschecks |
| histoNo | histogram number (within a run). histoNo[0]: forward histogram number, histNo[1]: backward histogram number |
return:
Definition at line 1625 of file PRunAsymmetryRRF.cpp.
References fBackward, fForward, fGoodBins, PRunBase::fMsrInfo, PRunBase::fRunInfo, PRunBase::fT0s, PRunBase::fTimeResolution, and PRawRunData::GetDataBin().
Referenced by PrepareData().
|
privatevirtual |
Determines the proper fit range from global block.
Extracts fit range settings from the GLOBAL block if not specified in the RUN block. The fit range defines the time window used for χ² minimization.
| globalBlock | Pointer to global MSR block containing default fit range |
Get the proper fit range. There are two possible fit range commands: fit <start> <end> given in (usec), or fit fgb+offset_0 lgb-offset_1 given in (bins), therefore it works the following way:
| globalBlock | pointer to the GLOBAL block information form the msr-file. |
Definition at line 1769 of file PRunAsymmetryRRF.cpp.
References PRunBase::fFitEndTime, PRunBase::fFitStartTime, fGoodBins, PRunBase::fRunInfo, PRunBase::fT0s, PRunBase::fTimeResolution, PMsrGlobalBlock::GetFitRange(), PMsrGlobalBlock::GetFitRangeOffset(), PMsrGlobalBlock::IsFitRangeInBin(), PMUSR_UNDEFINED, and PMsrGlobalBlock::SetFitRange().
Referenced by PrepareData().
|
privatevirtual |
Retrieves proper t0 values for all histograms.
Determines t0 (time zero) values for forward and backward histograms from RUN block, GLOBAL block, or data file (in priority order).
| runData | Pointer to raw run data containing histogram information |
| globalBlock | Pointer to global MSR block with default t0 values |
| forwardHisto | Vector of forward histogram indices |
| backwardHistoNo | Vector of backward histogram indices |
Get the proper t0 for the single histogram run.
| runData | pointer to the current RUN block entry from the msr-file |
| globalBlock | pointer to the GLOBLA block entry from the msr-file |
| forwardHistoNo | histogram number vector of forward; forwardHistoNo = msr-file forward + redGreen_offset - 1 |
| backwardHistoNo | histogram number vector of backwardward; backwardHistoNo = msr-file backward + redGreen_offset - 1 |
return:
Definition at line 1450 of file PRunAsymmetryRRF.cpp.
References PRunBase::fAddT0s, PRunBase::fRawData, PRunBase::fRunInfo, PRunBase::fT0s, PRawRunData::GetDataBin(), PMsrGlobalBlock::GetT0Bin(), PRawRunData::GetT0Bin(), PRawRunData::GetT0BinEstimated(), and PMsrGlobalBlock::GetT0BinSize().
Referenced by PrepareData().
|
inlinevirtual |
Returns the first bin used in the fit.
Definition at line 129 of file PRunAsymmetryRRF.h.
References fStartTimeBin.
|
protectedvirtual |
Prepares all data for RRF fitting or viewing.
Main data preparation routine for RRF asymmetry fitting and viewing.
Main data preparation routine that handles background subtraction, RRF packing, and asymmetry calculation from forward/backward histograms.
Performs comprehensive data preparation specifically for rotating reference frame analysis:
The standard asymmetry is calculated as:
![\[ A_i = \frac{f_i^{\rm c} - b_i^{\rm c}}{f_i^{\rm c} + b_i^{\rm c}} \]](form_61.png)
Error propagation (assuming Poisson statistics):
![\[ \Delta A_i = \pm\frac{2}{(f_i^{\rm c}+b_i^{\rm c})^2}\sqrt{
(b_i^{\rm c})^2 (\Delta f_i^{\rm c})^2 +
(f_i^{\rm c})^2 (\Delta b_i^{\rm c})^2} \]](form_62.png)
where 

The RRF transformation and packing are applied later in PrepareFitData() or PrepareViewData().
Implements PRunBase.
Definition at line 644 of file PRunAsymmetryRRF.cpp.
References PRunBase::DeadTimeCorrection(), PRunBase::fAddT0s, fBackward, fForward, PRunBase::fHandleTag, PRunBase::fMetaData, PRunBase::fMsrInfo, PRunBase::fRawData, PRunBase::fRunInfo, PRunBase::fT0s, PRunBase::fTimeResolution, PRunBase::fValid, PRawRunData::GetDataBin(), PRawRunData::GetEnergy(), PRawRunData::GetField(), PRawRunData::GetNoOfTemperatures(), GetProperDataRange(), GetProperFitRange(), GetProperT0(), PRawRunData::GetTemperature(), PRawRunData::GetTimeResolution(), PRawRunData::IsPresent(), kFit, kView, PMUSR_UNDEFINED, PrepareFitData(), PrepareViewData(), status, SubtractEstimatedBkg(), and SubtractFixBkg().
|
protectedvirtual |
Prepares RRF data specifically for fitting.
Processes pre-grouped data and calculates RRF asymmetry for fitting.
Processes data for fitting, including RRF transformation, packing, and asymmetry calculation with proper error propagation.
Takes forward/backward histograms (after grouping, addrun, and background correction) and performs the RRF transformation for fitting:


Error propagation for asymmetry:
![\[ \delta A_i = \frac{2}{(f_i^{\rm c}+b_i^{\rm c})^2}\sqrt{(b_i^{\rm c})^2 (\delta f_i^{\rm c})^2 + (f_i^{\rm c})^2 (\delta b_i^{\rm c})^2} \]](form_74.png)
RRF packing averages multiple bins to improve statistics after frequency mixing:

Definition at line 1060 of file PRunAsymmetryRRF.cpp.
References CalcNoOfFitBins(), fBackward, fBackwardErr, PRunBase::fData, fForward, fForwardErr, fGoodBins, PRunBase::fMsrInfo, fRRFPacking, PRunBase::fT0s, PRunBase::fTimeResolution, PMsrGlobalBlock::GetRRFFreq(), and PMsrGlobalBlock::GetRRFPhase().
Referenced by PrepareData().
|
protectedvirtual |
Prepares RRF data for viewing/plotting.
Prepares RRF asymmetry data for plotting and visualization.
| runData | Pointer to raw run data |
| histoNo | Array of histogram numbers [0]=forward, [1]=backward |
Similar to PrepareFitData but includes theory calculation and Kaiser FIR filtering for smooth visualization of RRF curves.
Processes pre-grouped data for display in plots with RRF transformation and special handling for visualization. Similar to PrepareFitData but includes theory calculation with Kaiser FIR filtering for smooth RRF curves.
Processing steps:



The RRF frequency and phase are read from the PLOT block settings.
| runData | Pointer to raw run data for validation and cross-checks |
| histoNo | Array of histogram indices: [0]=forward, [1]=backward |
Definition at line 1197 of file PRunAsymmetryRRF.cpp.
References CalcNoOfFitBins(), fAlphaBetaTag, fBackward, fBackwardErr, PRunBase::fData, fForward, fForwardErr, PRunBase::fFuncValues, fGoodBins, PRunBase::fMetaData, PRunBase::fMsrInfo, fRRFPacking, PRunBase::fRunInfo, PRunBase::fT0s, fTheoAsData, PRunBase::fTheory, PRunBase::fTimeResolution, PRawRunData::GetDataBin(), PMsrGlobalBlock::GetRRFFreq(), PMsrGlobalBlock::GetRRFPhase(), and MSR_PARAM_FUN_OFFSET.
Referenced by PrepareData().
|
virtual |
Sets the fit range in bins (can be changed dynamically via COMMAND block).
Dynamically changes the fit range in bin units for RRF data.
| fitRange | Fit range string specification |
Allows modification of the fit range at runtime, typically called from the COMMAND block. Supports bin-based fit ranges with optional offsets for fine-tuning.
Syntax formats:
Parameters:
Example: "FIT_RANGE 10+5 200-10" uses bins [15, 190] for fitting
Note: The bins refer to the RRF-packed data, not the original histograms.
| fitRange | String containing fit range specification |
Definition at line 415 of file PRunAsymmetryRRF.cpp.
References PRunBase::fFitEndTime, PRunBase::fFitStartTime, fGoodBins, PRunBase::fRunNo, PRunBase::fT0s, PRunBase::fTimeResolution, and PStringUtils::Split().
|
private |
Estimates and subtracts background from histograms.
Calculates background from a specified bin range (typically before t0) and subtracts it. The background range is adjusted to align with accelerator beam cycles when applicable.
Subtracts the background which is estimated from a given interval (typically before t0).
The background corrected histogramms are: 




![\[ \Delta f_i^{\rm c} = \pm \sqrt{ (\Delta f_i)^2 + (\Delta \mathrm{bkg})^2 } =
\pm \sqrt{f_i + (\Delta \mathrm{bkg})^2} \]](form_54.png)
The background error 
![\[ \Delta \mathrm{bkg} = \pm\frac{1}{N}\left[\sum_{i=0}^N (\Delta f_i)^2\right]^{1/2} =
\pm\frac{1}{N}\left[\sum_{i=0}^N f_i \right]^{1/2},\]](form_56.png)
where 
return:
Definition at line 936 of file PRunAsymmetryRRF.cpp.
References ACCEL_PERIOD_PSI, ACCEL_PERIOD_RAL, ACCEL_PERIOD_TRIUMF, fBackward, fBackwardErr, fForward, fForwardErr, PRunBase::fRunInfo, and PRunBase::fTimeResolution.
Referenced by PrepareData().
|
private |
Subtracts fixed background from histograms.
Subtracts user-specified fixed background values from forward and backward histograms. Background values are read from the MSR file (e.g., "backgr.fix 2 3" for forward/backward).
Error propagation:
![\[ \Delta f_i^{\rm c} = \pm\sqrt{(\Delta f_i)^2 + (\Delta \mathrm{bkg})^2} = \pm\sqrt{f_i + \mathrm{bkg}} \]](form_4.png)
Subtracts a fixed background from the raw data. The background is given in units of (1/bin); for the Asymmetry representation (1/ns) doesn't make too much sense. The error propagation is done the following way: it is assumed that the error of the background is Poisson like, i.e. 
Error propagation:
![\[ \Delta f_i^{\rm c} = \pm\left[ (\Delta f_i)^2 + (\Delta \mathrm{bkg})^2 \right]^{1/2} =
\pm\left[ f_i + \mathrm{bkg} \right]^{1/2}, \]](form_52.png)
where 


return:
Definition at line 892 of file PRunAsymmetryRRF.cpp.
References fBackward, fBackwardErr, fForward, fForwardErr, and PRunBase::fRunInfo.
Referenced by PrepareData().
|
private |
Tag indicating α/β configuration: 1=both unity, 2=α free/β unity, 3=α unity/β free, 4=both free.
Definition at line 175 of file PRunAsymmetryRRF.h.
Referenced by CalcChiSquare(), CalcTheory(), and PrepareViewData().
|
private |
Backward detector histogram data.
Definition at line 182 of file PRunAsymmetryRRF.h.
Referenced by GetProperDataRange(), PrepareData(), PrepareFitData(), PrepareViewData(), SubtractEstimatedBkg(), SubtractFixBkg(), and ~PRunAsymmetryRRF().
|
private |
Backward detector histogram errors.
Definition at line 183 of file PRunAsymmetryRRF.h.
Referenced by PrepareFitData(), PrepareViewData(), SubtractEstimatedBkg(), SubtractFixBkg(), and ~PRunAsymmetryRRF().
|
private |
Last bin index for fitting (after RRF transformation)
Definition at line 188 of file PRunAsymmetryRRF.h.
Referenced by CalcChiSquare(), CalcNoOfFitBins(), and GetEndTimeBin().
|
private |
Forward detector histogram data.
Definition at line 180 of file PRunAsymmetryRRF.h.
Referenced by GetProperDataRange(), PrepareData(), PrepareFitData(), PrepareViewData(), SubtractEstimatedBkg(), SubtractFixBkg(), and ~PRunAsymmetryRRF().
|
private |
Forward detector histogram errors.
Definition at line 181 of file PRunAsymmetryRRF.h.
Referenced by PrepareFitData(), PrepareViewData(), SubtractEstimatedBkg(), SubtractFixBkg(), and ~PRunAsymmetryRRF().
|
private |
Good bin boundaries: [0]=forward first, [1]=forward last, [2]=backward first, [3]=backward last.
Definition at line 185 of file PRunAsymmetryRRF.h.
Referenced by GetProperDataRange(), GetProperFitRange(), PrepareFitData(), PrepareViewData(), PRunAsymmetryRRF(), PRunAsymmetryRRF(), and SetFitRangeBin().
|
private |
Number of bins included in the fit after RRF packing.
Definition at line 176 of file PRunAsymmetryRRF.h.
Referenced by CalcNoOfFitBins(), GetNoOfFitBins(), and PRunAsymmetryRRF().
|
private |
RRF packing factor from GLOBAL block (required for RRF analysis)
Definition at line 177 of file PRunAsymmetryRRF.h.
Referenced by PrepareFitData(), PrepareViewData(), PRunAsymmetryRRF(), and PRunAsymmetryRRF().
|
private |
First bin index for fitting (after RRF transformation)
Definition at line 187 of file PRunAsymmetryRRF.h.
Referenced by CalcChiSquare(), CalcNoOfFitBins(), and GetStartTimeBin().
|
private |
If true, theory calculated only at data points; if false, extra points for nicer Fourier transforms.
Definition at line 178 of file PRunAsymmetryRRF.h.
Referenced by PrepareViewData(), PRunAsymmetryRRF(), and PRunAsymmetryRRF().