Typedefs | Functions
test_gausTF1.cxx File Reference
#include "dunecore/DuneCommon/Utility/gausTF1.h"
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include <cassert>

Go to the source code of this file.

Typedefs

using Index = unsigned int
 

Functions

int test_gausTF1 ()
 
int main ()
 

Typedef Documentation

using Index = unsigned int

Definition at line 23 of file test_gausTF1.cxx.

Function Documentation

int main ( void  )

Definition at line 49 of file test_gausTF1.cxx.

49  {
50  return test_gausTF1();
51 }
int test_gausTF1()
int test_gausTF1 ( )

Definition at line 27 of file test_gausTF1.cxx.

27  {
28  const string myname = "test_gausTF1: ";
29  cout << myname << "Starting test" << endl;
30 #ifdef NDEBUG
31  cout << myname << "NDEBUG must be off." << endl;
32  abort();
33 #endif
34  string line = "-----------------------------";
35  string scfg;
36 
37  cout << myname << line << endl;
38  cout << "Testing TF1." << endl;
39 
40  cout << myname << line << endl;
41  cout << "Build function." << endl;
42  TF1* pf = gausTF1(20, 50, 10, "mygaus");
43  pf->Print();
44  return 0;
45 }
TF1 * gausTF1(double heightIn, double meanIn, double sigmaIn, std::string fname)
Definition: gausTF1.cxx:28
void line(double t, double *p, double &x, double &y, double &z)
QTextStream & endl(QTextStream &s)