KaliVeda
Toolkit for HIC analysis
|
Extension of TGaxis class optimised for KVGraph visualisation.
Created by KVClassFactory on Wed Jun 19 16:07:04 2013 Author: dgruyer
#include <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);. | |
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. | |
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; | |
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) | |
~TGaxis () override | |
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, const TString &labText="") |
void | ChangeLabelAttributes (Int_t i, Int_t nlabels, TLatex *t, char *c, Double_t value=0., Double_t eps=-1.) |
void | ChangeLabelByValue (Double_t labValue, Double_t labAngle=-1., Double_t labSize=-1., Int_t labAlign=-1, Int_t labColor=-1, Int_t labFont=-1, const TString &labText="") |
virtual TGaxis * | 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) |
TF1 * | GetFunction () const |
Float_t | GetGridLength () const |
Int_t | GetLabelColor () const |
Int_t | GetLabelFont () const |
Float_t | GetLabelOffset () const |
Float_t | GetLabelSize () const |
const char * | GetName () const override |
Int_t | GetNdiv () const |
const char * | GetOption () const override |
Float_t | GetTickSize () const |
const char * | GetTitle () const override |
Float_t | GetTitleOffset () const |
Float_t | GetTitleSize () const |
Double_t | GetWmax () const |
Double_t | GetWmin () const |
virtual void | ImportAxisAttributes (TAxis *axis) |
TClass * | IsA () const override |
void | LabelsLimits (const char *label, Int_t &first, Int_t &last) |
void | Paint (Option_t *chopt="") override |
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) |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
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) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TLine | |
TLine () | |
TLine (const TLine &line) | |
TLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) | |
~TLine () override=default | |
void | Copy (TObject &line) const override |
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
virtual TLine * | DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual TLine * | DrawLineNDC (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
Rectangle_t | GetBBox () override |
TPoint | GetBBoxCenter () override |
Double_t | GetX1 () const |
Double_t | GetX2 () const |
Double_t | GetY1 () const |
Double_t | GetY2 () const |
TClass * | IsA () const override |
Bool_t | IsHorizontal () |
Bool_t | IsVertical () |
void | ls (Option_t *option="") const override |
TLine & | operator= (const TLine &src) |
void | Paint (Option_t *option="") override |
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) |
void | Print (Option_t *option="") const override |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
void | SetBBoxCenter (const TPoint &p) override |
void | SetBBoxCenterX (const Int_t x) override |
void | SetBBoxCenterY (const Int_t y) override |
void | SetBBoxX1 (const Int_t x) override |
void | SetBBoxX2 (const Int_t x) override |
void | SetBBoxY1 (const Int_t y) override |
void | SetBBoxY2 (const Int_t y) override |
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) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 TObject * | Clone (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 TObject * | DrawClone (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=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () 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) |
Bool_t | IsDestructed () const |
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, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, 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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TAttBBox2D | |
virtual | ~TAttBBox2D () |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 Float_t | GetTextSizePercent (Float_t size) |
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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Private Attributes | |
Double_t * | fBins |
const char * | fFormat |
char ** | fLabels |
Int_t | fNbins |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from TGaxis | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 TLine | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Static Public Member Functions inherited from TAttLine | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttBBox2D | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttText | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 &) | |
void | CleanupModLabs () |
TAxisModLab * | FindModLab (Int_t indx, Int_t numlabels=0, Double_t v=0., Double_t eps=-1.) const |
Bool_t | IsOwnedModLabs () const |
TGaxis & | operator= (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 () |
Protected Attributes inherited from TGaxis | |
TAxis * | fAxis |
TString | fChopt |
TF1 * | fFunction |
TString | fFunctionName |
Float_t | fGridLength |
Int_t | fLabelColor |
Int_t | fLabelFont |
Float_t | fLabelOffset |
Float_t | fLabelSize |
TList * | fModLabs |
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 |
KVGaxis::KVGaxis | ( | ) |
Definition at line 35 of file KVGaxis.cpp.
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::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::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.
|
virtual |
Destructor.
Definition at line 106 of file KVGaxis.cpp.
|
virtual |
Reimplemented from TGaxis.
Definition at line 130 of file KVGaxis.cpp.
|
inline |
void Copy(TObject& obj) const;