35   inline Double_t 
g1(
const Double_t x)
 
   37     return TMath::Gaus(x, 0.0, 1.0, kTRUE);
 
   47   inline Double_t 
G1(
const Double_t x)
 
   49     return 0.5 * (1.0 + TMath::Erf(sqrt(0.5)*x));
 
   59   inline Double_t g2(
const Double_t x, 
const Double_t y)
 
   72   inline Double_t G2(
const Double_t x, 
const Double_t y)
 
   85 int main(
int argc, 
char **argv)
 
   98     JParser<> zap(
"Example program to test 2D histogram.");
 
  109   catch(
const exception &error) {
 
  110     FATAL(error.what() << endl);
 
  114   if (numberOfEvents <= 0) {
 
  115     FATAL(
"No events." << endl);
 
  120   const Int_t    nx    =  100;
 
  121   const Double_t xmin  = -3.0;
 
  122   const Double_t xmax  = +3.0;
 
  125                           JMapList<JHistogramMap_t> >  JHistogram2D_t;
 
  127   JHistogram2D_t histogram;
 
  140   for (
int i = 0; i != numberOfEvents; ++i) {
 
  142     const double x = gRandom->Gaus(0.0, 1.0);
 
  143     const double y = gRandom->Gaus(0.0, 1.0);
 
  145     histogram.fill(x, y, 1.0);
 
  149   histogram.div((
double) numberOfEvents);
 
  154   JMultiPDF<JPolint2Function1D_t,
 
  155             JMapList<JPolint2FunctionalMap> >         f2(histogram);
 
  162   JMultiFunction<JPolint3Function1H_t,
 
  163                  JMapList<JPolint3FunctionalMapH> >   F2;
 
  172   TH2D h0(
"h0", NULL, nx, xmin, xmax, nx, xmin, xmax);
 
  173   TH2D 
h1(
"h1", NULL, nx, xmin, xmax, nx, xmin, xmax);
 
  174   TH2D h2(
"h2", NULL, nx, xmin, xmax, nx, xmin, xmax);
 
  177   for (
int i = 1; i <= h0.GetXaxis()->GetNbins(); ++i) {
 
  178     for (
int j = 1; 
j <= h0.GetYaxis()->GetNbins(); ++
j) {
 
  180       const Double_t x = h0.GetXaxis()->GetBinCenter(i);
 
  181       const Double_t y = h0.GetYaxis()->GetBinCenter(
j);
 
  183       h0.SetBinContent(i, 
j, g2(x,y));
 
  186         h1.SetBinContent(i, 
j, F2(x,y).fp.fp);
 
  187         h2.SetBinContent(i, 
j, f2(x,y));
 
  189       catch(
const exception& error) {
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
then for HISTOGRAM in h0 h1
 
Various implementations of functional maps. 
 
Double_t G1(const Double_t x)
Integral of method g1. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose class for a collection of sorted elements. 
 
T make_set(T __begin, T __end, JResult_t std::iterator_traits< T >::value_type::*value, const JComparator_t &comparator)
Method to exclude outliers from already sorted data. 
 
General purpose messaging. 
 
Auxiliary classes for numerical integration. 
 
Utility class to parse command line options. 
 
void copy(const Head &from, JHead &to)
Copy header from from to to. 
 
int numberOfBins
number of bins for average CDF integral of optical module 
 
Double_t g1(const Double_t x)
Function.