PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
#include <iostream>
#include <algorithm>
#include "ChannelEvent.hpp"
#include "HelperFunctions.hpp"
#include "XiaData.hpp"
#include "scope.hpp"
#include "TSystem.h"
#include "TStyle.h"
#include "TMath.h"
#include "TGraph.h"
#include "TH2F.h"
#include "TAxis.h"
#include "TFile.h"
#include "TF1.h"
#include "TLine.h"
#include "TProfile.h"
#include "TPaveStats.h"
Go to the source code of this file.
Macros | |
#define | PROG_NAME "Scope" |
#define | ADC_TIME_STEP 4 |
#define | SLEEP_WAIT 1E4 |
Functions | |
double | PaulauskasFitFunc (double *x, double *p) |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
double PaulauskasFitFunc | ( | double * | x, |
double * | p | ||
) |
The Paulauskas function is described in NIM A 737 (22), with a slight adaptation. We use a step function such that f(x < phase) = baseline. In addition, we also we formulate gamma such that the gamma in the paper is gamma_prime = 1 / pow(gamma, 0.25).
The parameters are: p[0] = baseline p[1] = amplitude p[2] = phase p[3] = beta p[4] = gamma
[in] | x | X value. |
[in] | p | Paramater values. |
Definition at line 56 of file scope.cpp.