#ifndef BM1DProcess_h #define BM1DProcess_h 1 #include #include #include #include #include "TRandom.h" class BM1DProcess { public: BM1DProcess(Int_t n); //n is the number of steps ~BM1DProcess(); void SetP0(Double_t p0_new){p0 = p0_new;} void SetP1(Double_t p1_new){p1 = p1_new;} void Init(); void Run(); std::vector GetT(){return t;} std::vector GetX(){return x;} private: Int_t nSteps; Double_t p0,p1,p2,p3,p4; TRandom* randomGenerator; Double_t rand1; std::vector t; std::vector x; }; #endif