KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVRandomizorInd.cpp
Go to the documentation of this file.
1 //Created by KVClassFactory on Mon Jun 26 17:31:07 2017
2 //Author: Eric BONNET
3 
4 #include "KVRandomizorInd.h"
5 
7 
9 
10 
11 //-------------------------
13 //-------------------------
14 
17 
18 {
19  // Default constructor
20 }
21 
22 
23 //-------------------------
25 //-------------------------
26 
27 
30 {
31  // Destructor
32 }
33 
34 
35 //-------------------------
37 //-------------------------
38 
39 
41 {
42 
43  FNMETHOD Compute[] = {
50  };
51 
52  Double_t prod = 1;
53  for (Int_t ii = 0; ii < fNd; ii += 1) {
54  prod *= (this->*Compute[ii])(pos[ii]);
55  }
56 
57  return prod;
58 }
59 
60 
61 //-------------------------
63 //-------------------------
64 
65 
67 {
68  Info("ComputeValue0", "To be defined in child class");
69  return 0;
70 }
71 
72 
73 //-------------------------
75 //-------------------------
76 
77 
79 {
80  Info("ComputeValue1", "To be defined in child class");
81  return 0;
82 }
83 
84 
85 //-------------------------
87 //-------------------------
88 
89 
91 {
92  Info("ComputeValue2", "To be defined in child class");
93  return 0;
94 }
95 
96 
97 //-------------------------
99 //-------------------------
100 
101 
103 {
104  Info("ComputeValue3", "To be defined in child class");
105  return 0;
106 }
107 
108 
109 //-------------------------
111 //-------------------------
112 
113 
115 {
116  Info("ComputeValue4", "To be defined in child class");
117  return 0;
118 }
119 
120 
121 //-------------------------
123 //-------------------------
124 
125 
127 {
128  Info("ComputeValue5", "To be defined in child class");
129  return 0;
130 }
131 
132 
133 
int Int_t
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Double_t(KVRandomizorInd::* FNMETHOD)(Double_t)
double Double_t
virtual Double_t ComputeValue3(Double_t)
virtual Double_t ComputeValue(Double_t *pos)
virtual Double_t ComputeValue2(Double_t)
virtual Double_t ComputeValue4(Double_t)
virtual Double_t ComputeValue1(Double_t)
virtual Double_t ComputeValue5(Double_t)
virtual Double_t ComputeValue0(Double_t)
virtual ~KVRandomizorInd()
Destructor.
Test of generic class to perform sample on functions.
Definition: KVRandomizor.h:18
virtual void Info(const char *method, const char *msgfmt,...) const
auto Compute(F &&f) -> Internal::ComputeHelper< std::make_index_sequence< N >, T, F >