KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDroite.h
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
17class KVDroite : public TNamed {
18private:
19 double _a0;
20 double _theta;
23
24public:
25 KVDroite();
26 KVDroite(double a0_, double theta_);
27 KVDroite(double x0_, double _y0, double theta_);
28
29 double GetA0();
30 double GetTheta();
32
33 void Init(double min_ = 0., double max_ = 4096.);
34
35 void SetA0(double a0);
36 void SetTheta(double theta);
37
38 ClassDef(KVDroite, 1) // a faire !
39};
40
41
42#endif
43
44
45
46
47
48
#define ClassDef(name, id)
Apparently, a straight line.
Definition KVDroite.h:17
double _theta
Definition KVDroite.h:20
TF1 * _f
Definition KVDroite.h:22
void SetA0(double a0)
Definition KVDroite.cpp:97
double _a0
Definition KVDroite.h:19
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:21
void SetTheta(double theta)
Definition KVDroite.cpp:106
double GetA0()
Definition KVDroite.cpp:50