Logo ROOT   6.08/07
Reference Guide
GaussDataGen.h
Go to the documentation of this file.
1 // @(#)root/minuit2:$Id$
2 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7  * *
8  **********************************************************************/
9 
10 #ifndef MN_GaussDataGen_H_
11 #define MN_GaussDataGen_H_
12 
13 #include <vector>
14 
15 namespace ROOT {
16 
17  namespace Minuit2 {
18 
19 
20 class GaussDataGen {
21 
22 public:
23 
24  GaussDataGen(unsigned int npar = 100);
25 
27 
28  std::vector<double> Positions() const {return fPositions;}
29  std::vector<double> Measurements() const {return fMeasurements;}
30  std::vector<double> Variances() const {return fVariances;}
31 
32  double Sim_Mean() const {return fSimMean;}
33  double Sim_var() const {return fSimVar;}
34  double Sim_const() const {return 1.;}
35 
36 private:
37 
38  double fSimMean;
39  double fSimVar;
40  std::vector<double> fPositions;
41  std::vector<double> fMeasurements;
42  std::vector<double> fVariances;
43 };
44 
45  } // namespace Minuit2
46 
47 } // namespace ROOT
48 
49 #endif //MN_GaussDataGen_H_
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Definition: StringConv.hxx:21
GaussDataGen(unsigned int npar=100)
std::vector< double > fVariances
Definition: GaussDataGen.h:42
std::vector< double > Variances() const
Definition: GaussDataGen.h:30
std::vector< double > Measurements() const
Definition: GaussDataGen.h:29
std::vector< double > Positions() const
Definition: GaussDataGen.h:28
std::vector< double > fMeasurements
Definition: GaussDataGen.h:41
std::vector< double > fPositions
Definition: GaussDataGen.h:40