Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::AxisStyle Class Reference

#include <AxisStyle.h>

Inheritance diagram for Hal::AxisStyle:
Hal::Style

Public Member Functions

 AxisStyle (Double_t titleSize, Double_t labelSize, Double_t titleOffset, Double_t labelOffset)
 
void SetTitleOffset (Float_t val)
 
void SetLabelOffset (Float_t val)
 
void SetTitleSize (Float_t val)
 
void SetLabelSize (Float_t val)
 
void SetTickLength (Float_t val)
 
void SetNdivisions (Int_t val)
 
void SetAxisColor (Int_t val)
 
void SetLabelColor (Int_t val)
 
void SetTitleColor (Int_t val)
 
void SetTitleFont (Int_t val)
 
void SetCenterTitle (Int_t val)
 
void SetTitle (TString val)
 
void SetRangeUser (Float_t min, Float_t max)
 
Float_t GetTitleOffset () const
 
Float_t GetLabelOffset () const
 
Float_t GetTitleSize () const
 
Float_t GetLabelSize () const
 
Float_t GetTickLength () const
 
Int_t GetNDivisions () const
 
Int_t GetAxisColor () const
 
Int_t GetLabelColor () const
 
Int_t GetTitleColor () const
 
Int_t GetTitleFont () const
 
Int_t GetCenterTitle () const
 
TString GetTitle () const
 
void ExportToXML (XMLNode *node) const
 
void ImportFromXML (XMLNode *node)
 
void Apply (TAxis &x) const
 
 ClassDef (AxisStyle, 1)
 
- Public Member Functions inherited from Hal::Style
Bool_t Find (Int_t bit) const
 
Styleoperator= (const Style &style)=default
 
void ExportToXML (XMLNode *node) const
 
void ImportFromXML (XMLNode *node)
 
 ClassDef (Style, 1)
 

Static Public Attributes

static const unsigned short int kTitleOffset = 0
 
static const unsigned short int kLabelOffset = 1
 
static const unsigned short int kTitleSize = 2
 
static const unsigned short int kLabelSize = 3
 
static const unsigned short int kTickLength = 4
 
static const unsigned short int kNdivisions = 5
 
static const unsigned short int kAxisColor = 6
 
static const unsigned short int kLabelColor = 7
 
static const unsigned short int kTitleColor = 8
 
static const unsigned short int kTitleFont = 9
 
static const unsigned short int kCenterTitle = 10
 
static const unsigned short int kTitle = 13
 
static const unsigned short int kRangeMin = 11
 
static const unsigned short int kRangeMax = 12
 

Additional Inherited Members

- Protected Member Functions inherited from Hal::Style
void SetF (Int_t bit, Float_t val)
 
void SetI (Int_t bit, Int_t val)
 
Float_t GetF (Int_t bit) const
 
Int_t GetI (Int_t bit) const
 

Detailed Description

contains information about axis style

Definition at line 17 of file AxisStyle.h.

Constructor & Destructor Documentation

◆ AxisStyle() [1/2]

Hal::AxisStyle::AxisStyle ( )

Definition at line 184 of file AxisStyle.cxx.

◆ AxisStyle() [2/2]

Hal::AxisStyle::AxisStyle ( Double_t titleSize,
Double_t labelSize,
Double_t titleOffset,
Double_t labelOffset )

Definition at line 186 of file AxisStyle.cxx.

◆ ~AxisStyle()

virtual Hal::AxisStyle::~AxisStyle ( )
inlinevirtual

Definition at line 96 of file AxisStyle.h.

Member Function Documentation

◆ Apply()

void Hal::AxisStyle::Apply ( TAxis & x) const

Definition at line 76 of file AxisStyle.cxx.

◆ ExportToXML()

void Hal::AxisStyle::ExportToXML ( XMLNode * node) const

Definition at line 97 of file AxisStyle.cxx.

◆ GetAxisColor()

Int_t Hal::AxisStyle::GetAxisColor ( ) const

Definition at line 66 of file AxisStyle.cxx.

◆ GetCenterTitle()

Int_t Hal::AxisStyle::GetCenterTitle ( ) const

Definition at line 74 of file AxisStyle.cxx.

◆ GetLabelColor()

Int_t Hal::AxisStyle::GetLabelColor ( ) const

Definition at line 68 of file AxisStyle.cxx.

◆ GetLabelOffset()

Float_t Hal::AxisStyle::GetLabelOffset ( ) const

Definition at line 56 of file AxisStyle.cxx.

◆ GetLabelSize()

Float_t Hal::AxisStyle::GetLabelSize ( ) const

Definition at line 60 of file AxisStyle.cxx.

◆ GetNDivisions()

Int_t Hal::AxisStyle::GetNDivisions ( ) const

Definition at line 64 of file AxisStyle.cxx.

◆ GetTickLength()

Float_t Hal::AxisStyle::GetTickLength ( ) const

Definition at line 62 of file AxisStyle.cxx.

◆ GetTitle()

TString Hal::AxisStyle::GetTitle ( ) const
inline

Definition at line 88 of file AxisStyle.h.

◆ GetTitleColor()

Int_t Hal::AxisStyle::GetTitleColor ( ) const

Definition at line 70 of file AxisStyle.cxx.

◆ GetTitleFont()

Int_t Hal::AxisStyle::GetTitleFont ( ) const

Definition at line 72 of file AxisStyle.cxx.

◆ GetTitleOffset()

Float_t Hal::AxisStyle::GetTitleOffset ( ) const

Definition at line 54 of file AxisStyle.cxx.

◆ GetTitleSize()

Float_t Hal::AxisStyle::GetTitleSize ( ) const

Definition at line 58 of file AxisStyle.cxx.

◆ ImportFromXML()

void Hal::AxisStyle::ImportFromXML ( XMLNode * node)

Definition at line 119 of file AxisStyle.cxx.

◆ SetAxisColor()

void Hal::AxisStyle::SetAxisColor ( Int_t val)

Definition at line 44 of file AxisStyle.cxx.

◆ SetCenterTitle()

void Hal::AxisStyle::SetCenterTitle ( Int_t val)

Definition at line 52 of file AxisStyle.cxx.

◆ SetLabelColor()

void Hal::AxisStyle::SetLabelColor ( Int_t val)

Definition at line 46 of file AxisStyle.cxx.

◆ SetLabelOffset()

void Hal::AxisStyle::SetLabelOffset ( Float_t val)

Definition at line 34 of file AxisStyle.cxx.

◆ SetLabelSize()

void Hal::AxisStyle::SetLabelSize ( Float_t val)

Definition at line 38 of file AxisStyle.cxx.

◆ SetNdivisions()

void Hal::AxisStyle::SetNdivisions ( Int_t val)

Definition at line 42 of file AxisStyle.cxx.

◆ SetRangeUser()

void Hal::AxisStyle::SetRangeUser ( Float_t min,
Float_t max )

Definition at line 114 of file AxisStyle.cxx.

◆ SetTickLength()

void Hal::AxisStyle::SetTickLength ( Float_t val)

Definition at line 40 of file AxisStyle.cxx.

◆ SetTitle()

void Hal::AxisStyle::SetTitle ( TString val)

Definition at line 92 of file AxisStyle.cxx.

◆ SetTitleColor()

void Hal::AxisStyle::SetTitleColor ( Int_t val)

Definition at line 48 of file AxisStyle.cxx.

◆ SetTitleFont()

void Hal::AxisStyle::SetTitleFont ( Int_t val)

Definition at line 50 of file AxisStyle.cxx.

◆ SetTitleOffset()

void Hal::AxisStyle::SetTitleOffset ( Float_t val)

Definition at line 32 of file AxisStyle.cxx.

◆ SetTitleSize()

void Hal::AxisStyle::SetTitleSize ( Float_t val)

Definition at line 36 of file AxisStyle.cxx.

Member Data Documentation

◆ kAxisColor

const unsigned short int Hal::AxisStyle::kAxisColor = 6
static

Definition at line 28 of file AxisStyle.h.

◆ kCenterTitle

const unsigned short int Hal::AxisStyle::kCenterTitle = 10
static

Definition at line 32 of file AxisStyle.h.

◆ kLabelColor

const unsigned short int Hal::AxisStyle::kLabelColor = 7
static

Definition at line 29 of file AxisStyle.h.

◆ kLabelOffset

const unsigned short int Hal::AxisStyle::kLabelOffset = 1
static

Definition at line 23 of file AxisStyle.h.

◆ kLabelSize

const unsigned short int Hal::AxisStyle::kLabelSize = 3
static

Definition at line 25 of file AxisStyle.h.

◆ kNdivisions

const unsigned short int Hal::AxisStyle::kNdivisions = 5
static

Definition at line 27 of file AxisStyle.h.

◆ kRangeMax

const unsigned short int Hal::AxisStyle::kRangeMax = 12
static

Definition at line 35 of file AxisStyle.h.

◆ kRangeMin

const unsigned short int Hal::AxisStyle::kRangeMin = 11
static

Definition at line 34 of file AxisStyle.h.

◆ kTickLength

const unsigned short int Hal::AxisStyle::kTickLength = 4
static

Definition at line 26 of file AxisStyle.h.

◆ kTitle

const unsigned short int Hal::AxisStyle::kTitle = 13
static

Definition at line 33 of file AxisStyle.h.

◆ kTitleColor

const unsigned short int Hal::AxisStyle::kTitleColor = 8
static

Definition at line 30 of file AxisStyle.h.

◆ kTitleFont

const unsigned short int Hal::AxisStyle::kTitleFont = 9
static

Definition at line 31 of file AxisStyle.h.

◆ kTitleOffset

const unsigned short int Hal::AxisStyle::kTitleOffset = 0
static

Definition at line 22 of file AxisStyle.h.

◆ kTitleSize

const unsigned short int Hal::AxisStyle::kTitleSize = 2
static

Definition at line 24 of file AxisStyle.h.


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