BM1D/include/BM1DProcess.hh

37 lines
939 B
C++
Raw Normal View History

2017-10-30 09:41:11 +01:00
#ifndef BM1DProcess_h
#define BM1DProcess_h 1
#include <iostream>
#include <string>
#include <fstream>
#include <cmath>
#include "TRandom.h"
2017-11-03 15:45:39 +01:00
#include "TF1.h"
#include "BM1DRandomGenerator.hh"
2017-10-30 09:41:11 +01:00
class BM1DProcess {
public:
2017-10-31 12:29:46 +01:00
BM1DProcess();
2017-10-30 09:41:11 +01:00
~BM1DProcess();
2017-10-31 12:29:46 +01:00
void Run(int nSteps, int nRuns, double p0, double p1);
void Run(int nSteps, int nRuns, double p0, double mu, double sigma);
void Run(int nSteps, int nRuns, double p0, double x1, double x2, double mu1, double sigma1, double mu2, double sigma2);
2017-11-03 15:45:39 +01:00
void Run(int nRuns, int nSteps, double p0, double x1, double x2, double mu1, double sigma1, double mu2, double sigma2, double j_mu1, double j_sigma1, double rat);
2017-10-30 09:41:11 +01:00
std::vector<Double_t> GetT(){return t;}
std::vector<Double_t> GetX(){return x;}
private:
TRandom* randomGenerator;
2017-10-31 12:29:46 +01:00
TRandom* randomGeneratorGauss;
2017-11-03 15:45:39 +01:00
//TF1* jump;
2017-10-30 09:41:11 +01:00
Double_t rand1;
std::vector<Double_t> t;
std::vector<Double_t> x;
};
#endif