BM1D/include/BM1DProcess.hh

37 lines
1.2 KiB
C++
Raw Permalink 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();
void Run(const int & nRuns, const int & nSteps, const double & p0, const double & p1);
void Run(const int & nRuns, const int & nSteps, const double & p0, const double & mu, const double & sigma);
void Run(const int & nRuns, const int & nSteps, const double & p0, const double & x1, const double & x2, const double & mu1, const double & sigma1, const double &mu2, const double & sigma2);
void Run(const int & nRuns, const int & nSteps, const double & p0, const double & x1, const double & x2, const double & mu1, const double & sigma1, const double &mu2, const double & sigma2, const double & j_mu1, const double & j_sigma1, const double & rat);
2017-11-03 15:45:39 +01:00
const std::vector<Double_t> & GetT(){return t;}
const std::vector<Double_t> & GetX(){return x;}
2017-10-30 09:41:11 +01:00
private:
TRandom3* randomGenerator;
TRandom3* 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