KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
kaliveda.doxygen
KVMultiDet
analysis
KVGaxis.h
Go to the documentation of this file.
1
4
#ifndef __KVGAXIS_H
5
#define __KVGAXIS_H
6
7
#include "
TGaxis.h
"
8
#include "
TLine.h
"
9
#include "
TAttText.h
"
10
17
class
KVGaxis
:
public
TGaxis
{
18
protected
:
19
Int_t
fNbins
;
20
Double_t
*
fBins
;
21
const
char
*
fFormat
;
22
char
**
fLabels
;
23
24
public
:
25
KVGaxis
();
26
KVGaxis
(
Double_t
xmin,
Double_t
ymin,
Double_t
xmax,
Double_t
ymax,
Double_t
wmin,
Double_t
wmax,
Int_t
ndiv = 510,
Option_t
* chopt =
""
,
Double_t
gridlength = 0);
27
28
KVGaxis
(
Double_t
xmin,
Double_t
ymin,
Double_t
xmax,
Double_t
ymax,
Int_t
nbins,
Double_t
* bins,
Double_t
wmin = 0,
Double_t
wmax = 0,
29
Int_t
ndiv = 510,
Option_t
* chopt =
""
,
Double_t
gridlength = 0,
char
** labels = 0);
30
32
33
KVGaxis
(
Double_t
xmin,
Double_t
ymin,
Double_t
xmax,
Double_t
ymax,
const
char
* funcname,
Int_t
ndiv = 510,
Option_t
* chopt =
""
,
Double_t
gridlength = 0);
34
virtual
~KVGaxis
();
35
virtual
void
PaintAxis
(
Double_t
xmin,
Double_t
ymin,
Double_t
xmax,
Double_t
ymax,
36
Double_t
& wmin,
Double_t
& wmax,
Int_t
& ndiv,
Option_t
* chopt =
""
,
37
Double_t
gridlength = 0,
Bool_t
drawGridOnly = kFALSE);
39
40
void
SetFormat
(
const
char
* form =
"%lf"
)
41
{
42
fFormat
= form;
43
}
44
45
ClassDef
(
KVGaxis
, 1)
//TAxis optimised for KVGraph visualisation
46
};
47
48
#endif
Int_t
int Int_t
Bool_t
bool Bool_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TAttText.h
TGaxis.h
TLine.h
KVGaxis
Extension of TGaxis class optimised for KVGraph visualisation.
Definition:
KVGaxis.h:17
KVGaxis::fBins
Double_t * fBins
Definition:
KVGaxis.h:20
KVGaxis::PaintAxis
virtual void PaintAxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t &wmin, Double_t &wmax, Int_t &ndiv, Option_t *chopt="", Double_t gridlength=0, Bool_t drawGridOnly=kFALSE)
Definition:
KVGaxis.cpp:130
KVGaxis::fFormat
const char * fFormat
Definition:
KVGaxis.h:21
KVGaxis::KVGaxis
KVGaxis()
Definition:
KVGaxis.cpp:35
KVGaxis::SetFormat
void SetFormat(const char *form="%lf")
void Copy(TObject& obj) const;
Definition:
KVGaxis.h:40
KVGaxis::~KVGaxis
virtual ~KVGaxis()
Destructor.
Definition:
KVGaxis.cpp:106
KVGaxis::fLabels
char ** fLabels
Definition:
KVGaxis.h:22
KVGaxis::fNbins
Int_t fNbins
Definition:
KVGaxis.h:19
TGaxis
Generated on Thu Apr 21 2022 14:14:14 for KaliVeda by
1.9.1