KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVDroite.h
Go to the documentation of this file.
1 
2 #ifndef __KVDROITE_H
3 #define __KVDROITE_H
4 
5 #include <TF1.h>
6 #include <TMath.h>
7 #include <TNamed.h>
8 
9 #include <Riostream.h>
10 
16 class KVDroite : public TNamed {
17 private:
18  double _a0;
19  double _theta;
21  TF1* _f;
22 
23 public:
24  KVDroite();
25  KVDroite(double a0_, double theta_);
26  KVDroite(double x0_, double _y0, double theta_);
27 
28  double GetA0();
29  double GetTheta();
30  TF1* GetFunction();
31 
32  void Init(double min_ = 0., double max_ = 4096.);
33 
34  void SetA0(double a0);
35  void SetTheta(double theta);
36 
37  ClassDef(KVDroite, 1) // a faire !
38 };
39 
40 
41 #endif
42 
43 
44 
45 
46 
47 
#define ClassDef(name, id)
Apparently, a straight line.
Definition: KVDroite.h:16
double _theta
Definition: KVDroite.h:19
TF1 * _f
Definition: KVDroite.h:21
KVDroite()
Definition: KVDroite.cpp:10
void SetA0(double a0)
Definition: KVDroite.cpp:97
double _a0
Definition: KVDroite.h:18
TF1 * GetFunction()
Definition: KVDroite.cpp:68
double GetTheta()
Definition: KVDroite.cpp:59
void Init(double min_=0., double max_=4096.)
Definition: KVDroite.cpp:79
bool _is_initialized
Definition: KVDroite.h:20
void SetTheta(double theta)
Definition: KVDroite.cpp:106
double GetA0()
Definition: KVDroite.cpp:50