KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Protected Attributes | List of all members

Extension of TGaxis class optimised for KVGraph visualisation.

Created by KVClassFactory on Wed Jun 19 16:07:04 2013 Author: dgruyer

Definition at line 17 of file KVGaxis.h.

Public Member Functions

 KVGaxis ()
 
 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)
 KVGaxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Int_t nbins, Int_t* bins, Int_t ndiv = 510, Option_t* chopt = "", Double_t gridlength = 0);. More...
 
 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)
 
 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, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0, char **labels=0)
 
virtual ~KVGaxis ()
 Destructor. More...
 
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)
 
void SetFormat (const char *form="%lf")
 void Copy(TObject& obj) const; More...
 
- Public Member Functions inherited from TGaxis
 TGaxis ()
 
 TGaxis (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)
 
 TGaxis (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)
 
virtual ~TGaxis ()
 
virtual void AdjustBinSize (Double_t A1, Double_t A2, Int_t nold, Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BinWidth)
 
virtual void CenterLabels (Bool_t center=kTRUE)
 
virtual void CenterTitle (Bool_t center=kTRUE)
 
void ChangeLabel (Int_t labNum=0, Double_t labAngle=-1., Double_t labSize=-1., Int_t labAlign=-1, Int_t labColor=-1, Int_t labFont=-1, TString labText="")
 
void ChangeLabelAttributes (Int_t i, Int_t nlabels, TLatex *t, char *c)
 
virtual void DrawAxis (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)
 
TF1GetFunction () const
 
Float_t GetGridLength () const
 
Int_t GetLabelColor () const
 
Int_t GetLabelFont () const
 
Float_t GetLabelOffset () const
 
Float_t GetLabelSize () const
 
virtual const char * GetName () const
 
Int_t GetNdiv () const
 
virtual const char * GetOption () const
 
Float_t GetTickSize () const
 
virtual const char * GetTitle () const
 
Float_t GetTitleOffset () const
 
Float_t GetTitleSize () const
 
Double_t GetWmax () const
 
Double_t GetWmin () const
 
virtual void ImportAxisAttributes (TAxis *axis)
 
void LabelsLimits (const char *label, Int_t &first, Int_t &last)
 
virtual void Paint (Option_t *chopt="")
 
void ResetLabelAttributes (TLatex *t)
 
virtual void Rotate (Double_t X, Double_t Y, Double_t CFI, Double_t SFI, Double_t XT, Double_t YT, Double_t &U, Double_t &V)
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
virtual void SetDecimals (Bool_t dot=kTRUE)
 
void SetFunction (const char *funcname="")
 
void SetGridLength (Float_t gridlength)
 
void SetLabelColor (Int_t labelcolor)
 
void SetLabelFont (Int_t labelfont)
 
void SetLabelOffset (Float_t labeloffset)
 
void SetLabelSize (Float_t labelsize)
 
virtual void SetMoreLogLabels (Bool_t more=kTRUE)
 
virtual void SetName (const char *name)
 
virtual void SetNdivisions (Int_t ndiv)
 
virtual void SetNoExponent (Bool_t noExponent=kTRUE)
 
void SetOption (Option_t *option="")
 
void SetTickLength (Float_t ticklength)
 
void SetTickSize (Float_t ticksize)
 
void SetTimeFormat (const char *tformat)
 
void SetTimeOffset (Double_t toffset, Option_t *option="local")
 
virtual void SetTitle (const char *title="")
 
void SetTitleColor (Int_t titlecolor)
 
void SetTitleFont (Int_t titlefont)
 
void SetTitleOffset (Float_t titleoffset=1)
 
void SetTitleSize (Float_t titlesize)
 
void SetWmax (Double_t wmax)
 
void SetWmin (Double_t wmin)
 
- Public Member Functions inherited from TLine
 TLine ()
 
 TLine (const TLine &line)
 
 TLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual ~TLine ()=default
 
void Copy (TObject &line) const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual TLineDrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual TLineDrawLineNDC (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual Rectangle_t GetBBox ()
 
virtual TPoint GetBBoxCenter ()
 
Double_t GetX1 () const
 
Double_t GetX2 () const
 
Double_t GetY1 () const
 
Double_t GetY2 () const
 
Bool_t IsHorizontal ()
 
Bool_t IsVertical ()
 
virtual void ls (Option_t *option="") const
 
TLineoperator= (const TLine &src)
 
virtual void PaintLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual void PaintLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2)
 
virtual void Print (Option_t *option="") const
 
virtual void SetBBoxCenter (const TPoint &p)
 
virtual void SetBBoxCenterX (const Int_t x)
 
virtual void SetBBoxCenterY (const Int_t y)
 
virtual void SetBBoxX1 (const Int_t x)
 
virtual void SetBBoxX2 (const Int_t x)
 
virtual void SetBBoxY1 (const Int_t y)
 
virtual void SetBBoxY2 (const Int_t y)
 
void SetHorizontal (Bool_t set=kTRUE)
 
virtual void SetNDC (Bool_t isNDC=kTRUE)
 
void SetVertical (Bool_t set=kTRUE)
 
virtual void SetX1 (Double_t x1)
 
virtual void SetX2 (Double_t x2)
 
virtual void SetY1 (Double_t y1)
 
virtual void SetY2 (Double_t y2)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Delete (Option_t *option="")
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 
virtual ~TAttLine ()
 
void Copy (TAttLine &attline) const
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 
virtual Color_t GetLineColor () const
 
virtual Style_t GetLineStyle () const
 
virtual Width_t GetLineWidth () const
 
virtual void Modify ()
 
virtual void ResetAttLine (Option_t *option="")
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 
virtual void SetLineAttributes ()
 
virtual void SetLineColor (Color_t lcolor)
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 
virtual void SetLineStyle (Style_t lstyle)
 
virtual void SetLineWidth (Width_t lwidth)
 
- Public Member Functions inherited from TAttBBox2D
virtual ~TAttBBox2D ()
 
- Public Member Functions inherited from TAttText
 TAttText ()
 
 TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize)
 
virtual ~TAttText ()
 
void Copy (TAttText &atttext) const
 
virtual Short_t GetTextAlign () const
 
virtual Float_t GetTextAngle () const
 
virtual Color_t GetTextColor () const
 
virtual Font_t GetTextFont () const
 
virtual Float_t GetTextSize () const
 
virtual void Modify ()
 
virtual void ResetAttText (Option_t *toption="")
 
virtual void SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
 
virtual void SetTextAlign (Short_t align=11)
 
virtual void SetTextAngle (Float_t tangle=0)
 
virtual void SetTextAttributes ()
 
virtual void SetTextColor (Color_t tcolor=1)
 
virtual void SetTextColorAlpha (Color_t tcolor, Float_t talpha)
 
virtual void SetTextFont (Font_t tfont=62)
 
virtual void SetTextSize (Float_t tsize=1)
 
virtual void SetTextSizePixels (Int_t npixels)
 

Protected Attributes

Double_tfBins
 
const char * fFormat
 
char ** fLabels
 
Int_t fNbins
 
- Protected Attributes inherited from TGaxis
TAxisfAxis
 
TString fChopt
 
TF1fFunction
 
TString fFunctionName
 
Float_t fGridLength
 
Int_t fLabelColor
 
Int_t fLabelFont
 
Float_t fLabelOffset
 
Float_t fLabelSize
 
TListfModLabs
 
TString fName
 
Int_t fNdiv
 
Int_t fNModLabs
 
Float_t fTickSize
 
TString fTimeFormat
 
TString fTitle
 
Float_t fTitleOffset
 
Float_t fTitleSize
 
Double_t fWmax
 
Double_t fWmin
 
- Protected Attributes inherited from TLine
Double_t fX1
 
Double_t fX2
 
Double_t fY1
 
Double_t fY2
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 
- Protected Attributes inherited from TAttText
Short_t fTextAlign
 
Float_t fTextAngle
 
Color_t fTextColor
 
Font_t fTextFont
 
Float_t fTextSize
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TGaxis
static Int_t GetMaxDigits ()
 
static void SetExponentOffset (Float_t xoff=0., Float_t yoff=0., Option_t *axis="xy")
 
static void SetMaxDigits (Int_t maxd=5)
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TLine
 kHorizontal
 
 kLineNDC
 
 kVertical
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TGaxis
 TGaxis (const TGaxis &)
 
TGaxisoperator= (const TGaxis &)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Static Protected Attributes inherited from TGaxis
static Int_t fgMaxDigits = 5
 
static Float_t fXAxisExpXOffset
 
static Float_t fXAxisExpYOffset
 
static Float_t fYAxisExpXOffset
 
static Float_t fYAxisExpYOffset
 

#include <KVGaxis.h>

Inheritance diagram for KVGaxis:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVGaxis() [1/4]

KVGaxis::KVGaxis ( )

Definition at line 35 of file KVGaxis.cpp.

◆ KVGaxis() [2/4]

KVGaxis::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 
)

Definition at line 61 of file KVGaxis.cpp.

◆ KVGaxis() [3/4]

KVGaxis::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,
Int_t  ndiv = 510,
Option_t chopt = "",
Double_t  gridlength = 0,
char **  labels = 0 
)

Definition at line 90 of file KVGaxis.cpp.

◆ KVGaxis() [4/4]

KVGaxis::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 
)

KVGaxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Int_t nbins, Int_t* bins, Int_t ndiv = 510, Option_t* chopt = "", Double_t gridlength = 0);.

Definition at line 76 of file KVGaxis.cpp.

◆ ~KVGaxis()

KVGaxis::~KVGaxis ( )
virtual

Destructor.

Definition at line 106 of file KVGaxis.cpp.

Member Function Documentation

◆ PaintAxis()

void KVGaxis::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 
)
virtual

Reimplemented from TGaxis.

Definition at line 130 of file KVGaxis.cpp.

◆ SetFormat()

void KVGaxis::SetFormat ( const char *  form = "%lf")
inline

void Copy(TObject& obj) const;

Definition at line 40 of file KVGaxis.h.

Member Data Documentation

◆ fBins

Double_t* KVGaxis::fBins
protected

Definition at line 20 of file KVGaxis.h.

◆ fFormat

const char* KVGaxis::fFormat
protected

Definition at line 21 of file KVGaxis.h.

◆ fLabels

char** KVGaxis::fLabels
protected

Definition at line 22 of file KVGaxis.h.

◆ fNbins

Int_t KVGaxis::fNbins
protected

Definition at line 19 of file KVGaxis.h.


The documentation for this class was generated from the following files: