KaliVeda
Toolkit for HIC analysis
KVRandomizor.h
1 
4 #ifndef __KVRandomizor_H
5 #define __KVRandomizor_H
6 
7 #include "TNamed.h"
8 #include <vector>
9 class TRandom3;
10 class TH1;
11 
19 class KVRandomizor : public TNamed {
20 
21 protected:
25 
28  std::vector<Double_t> fMin;
29  std::vector<Double_t> fMax;
30 
34 
35 public:
36  KVRandomizor(Int_t ndim);
38 
39  void SetExtrema(Double_t, Double_t vmin = 0);
40  void SetRange(Double_t* min, Double_t* max);
41  std::vector<Double_t> GetPosition();
43  virtual Double_t ComputeValue(Double_t* pos);
44 
46 
47  TH1* FillHisto(Int_t ntimes = 1000);
48  TH1* Test(Int_t ntimes = 1000);
49  virtual ~KVRandomizor();
50 
51  ClassDef(KVRandomizor, 1) //Test of generic class to perform sample on fonctions
52 };
53 
54 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Test of generic class to perform sample on functions.
Definition: KVRandomizor.h:19
virtual Double_t ComputeValue(Double_t *pos)
KVRandomizor(Int_t ndim)
std::vector< Double_t > fMax
Definition: KVRandomizor.h:29
TH1 * Test(Int_t ntimes=1000)
Double_t fVmin
Definition: KVRandomizor.h:27
virtual ~KVRandomizor()
Destructor.
TH1 * FillHisto2D(Int_t)
void SetRange(Double_t *min, Double_t *max)
Bool_t TestValue(Double_t)
TH1 * FillHisto(Int_t ntimes=1000)
std::vector< Double_t > fMin
Definition: KVRandomizor.h:28
Double_t fVmax
Definition: KVRandomizor.h:26
TH1 * FillHisto3D(Int_t)
TH1 * FillHisto1D(Int_t)
void SetExtrema(Double_t, Double_t vmin=0)
KVRandomizor(const char* name, const char* title);.
std::vector< Double_t > GetPosition()