musrfit  1.9.2
musrt0.cpp File Reference
#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"
Include dependency graph for musrt0.cpp:

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[])
 

Function Documentation

◆ main()

Int_t main ( Int_t  argc,
Char_t *  argv[] 
)

◆ musrt0_getMaxBin()

Int_t musrt0_getMaxBin ( const PDoubleVector data)
Parameters
data

Definition at line 144 of file musrt0.cpp.

Referenced by main().

◆ musrt0_item()

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:

  • true, if everthing went smooth
  • false, otherwise
Parameters
appmain root application handler
msrHandlermsr-file handler
datamusrT0 data set handler
idxindex 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().

◆ musrt0_syntax()

void musrt0_syntax ( )

Sends the usage description to the standard output.

Definition at line 60 of file musrt0.cpp.

Referenced by main().