musrfit
1.9.2
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <memory>
#include <TApplication.h>
#include <TSAXParser.h>
#include <TROOT.h>
#include <TSystem.h>
#include "PMusr.h"
#include "PStartupHandler.h"
#include "PMsrHandler.h"
#include "PRunDataHandler.h"
#include "PMusrT0.h"
Go to the source code of this file.
Functions | |
void | musrt0_syntax () |
Bool_t | musrt0_item (TApplication &app, PMsrHandler *msrHandler, PMusrT0Data &data, UInt_t idx, Int_t timeout) |
Int_t | musrt0_getMaxBin (const PDoubleVector *data) |
Int_t | main (Int_t argc, Char_t *argv[]) |
Int_t main | ( | Int_t | argc, |
Char_t * | argv[] | ||
) |
The musrt0 program is used to set graphically t0's, data- and background-ranges. For a detailed description/usage of the program, please see musrt0 online help
return:
argc | number of input arguments |
argv | list of input arguments |
Definition at line 176 of file musrt0.cpp.
References PMusrT0Data::InitData(), MSR_FITTYPE_ASYM, MSR_FITTYPE_ASYM_RRF, MSR_FITTYPE_BNMR, MSR_FITTYPE_MU_MINUS, MSR_FITTYPE_NON_MUSR, MSR_FITTYPE_SINGLE_HISTO, MSR_FITTYPE_SINGLE_HISTO_RRF, musrt0_getMaxBin(), musrt0_item(), musrt0_syntax(), parseXmlFile(), PMUSR_MSR_FILE_NOT_FOUND, PMUSR_MSR_SYNTAX_ERROR, PMUSR_SUCCESS, PMUSR_WRONG_STARTUP_SYNTAX, PMUSRT0_BACKWARD, PMUSRT0_FORWARD, PMUSRT0_GET_DATA_AND_BKG_RANGE, PMUSRT0_GET_T0, PMUSRT0_GET_T0_DATA_AND_BKG_RANGE, PMusrT0Data::SetAddRunIdx(), PMusrT0Data::SetAddT0Bin(), PMusrT0Data::SetCmdTag(), PMusrT0Data::SetDetectorTag(), PMusrT0Data::SetHistoNo(), PMusrT0Data::SetHistoNoIdx(), PMusrT0Data::SetRawRunData(), PMusrT0Data::SetRunNo(), PMusrT0Data::SetSingleHisto(), PMusrT0Data::SetT0Bin(), PMusrT0Data::SetT0BinData(), startup_path_name, status, and timeout.
Int_t musrt0_getMaxBin | ( | const PDoubleVector * | data | ) |
Bool_t musrt0_item | ( | TApplication & | app, |
PMsrHandler * | msrHandler, | ||
PMusrT0Data & | data, | ||
UInt_t | idx, | ||
Int_t | timeout | ||
) |
This routine sets up a raw single histogram canvas to graphically enter t0, data- and background-range (depending on some given input flags).
return:
app | main root application handler |
msrHandler | msr-file handler |
data | musrT0 data set handler |
idx | index to filter out the proper msr-file run |
Definition at line 96 of file musrt0.cpp.
References PMusrT0Data::GetCmdTag(), PMUSRT0_GET_DATA_AND_BKG_RANGE, PMUSRT0_GET_T0, and timeout.
Referenced by main().
void musrt0_syntax | ( | ) |
Sends the usage description to the standard output.
Definition at line 60 of file musrt0.cpp.
Referenced by main().