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

#include <PadStyle.h>

Inheritance diagram for Hal::PadStyle:
Hal::Style

Public Member Functions

 PadStyle (const PadStyle &other)=default
 
 PadStyle (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
void SetBottomMargin (Float_t val)
 
void SetLeftMargin (Float_t val)
 
void SetTopMargin (Float_t val)
 
void SetRightMargin (Float_t val)
 
void SetLogx (Int_t val)
 
void SetLogy (Int_t val)
 
void SetLogz (Int_t val)
 
void SetGridx (Int_t val)
 
void SetGridy (Int_t val)
 
void SetGridz (Int_t val)
 
Float_t GetBottomMargin () const
 
Float_t GetLeftMargin () const
 
Float_t GetTopMargin () const
 
Float_t GetRightMargin () const
 
Int_t GetLogx (Int_t val) const
 
Int_t GetLogy (Int_t val) const
 
Int_t GetLogz (Int_t val) const
 
Int_t GetGridx (Int_t val) const
 
Int_t GetGridy (Int_t val) const
 
Int_t GetGridz (Int_t val) const
 
void ExportToXML (XMLNode *node) const
 
void ImportFromXML (XMLNode *node)
 
void Apply (TVirtualPad *pad=nullptr)
 
 ClassDef (PadStyle, 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 kBottomMargin = 0
 
static const unsigned short int kLeftMargin = 1
 
static const unsigned short int kTopMargin = 2
 
static const unsigned short int kRightMargin = 3
 
static const unsigned short int kLogx = 4
 
static const unsigned short int kLogy = 5
 
static const unsigned short int kLogz = 6
 
static const unsigned short int kGridx = 7
 
static const unsigned short int kGridy = 8
 
static const unsigned short int kGridz = 9
 

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 pad style

Definition at line 19 of file PadStyle.h.

Constructor & Destructor Documentation

◆ PadStyle() [1/2]

Hal::PadStyle::PadStyle ( )

Definition at line 75 of file PadStyle.cxx.

◆ PadStyle() [2/2]

Hal::PadStyle::PadStyle ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2 )

Definition at line 28 of file PadStyle.cxx.

◆ ~PadStyle()

virtual Hal::PadStyle::~PadStyle ( )
inlinevirtual

Definition at line 82 of file PadStyle.h.

Member Function Documentation

◆ Apply()

void Hal::PadStyle::Apply ( TVirtualPad * pad = nullptr)

Definition at line 77 of file PadStyle.cxx.

◆ ExportToXML()

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

Definition at line 90 of file PadStyle.cxx.

◆ GetBottomMargin()

Float_t Hal::PadStyle::GetBottomMargin ( ) const

Definition at line 55 of file PadStyle.cxx.

◆ GetGridx()

Int_t Hal::PadStyle::GetGridx ( Int_t val) const

Definition at line 69 of file PadStyle.cxx.

◆ GetGridy()

Int_t Hal::PadStyle::GetGridy ( Int_t val) const

Definition at line 71 of file PadStyle.cxx.

◆ GetGridz()

Int_t Hal::PadStyle::GetGridz ( Int_t val) const

Definition at line 73 of file PadStyle.cxx.

◆ GetLeftMargin()

Float_t Hal::PadStyle::GetLeftMargin ( ) const

Definition at line 57 of file PadStyle.cxx.

◆ GetLogx()

Int_t Hal::PadStyle::GetLogx ( Int_t val) const

Definition at line 63 of file PadStyle.cxx.

◆ GetLogy()

Int_t Hal::PadStyle::GetLogy ( Int_t val) const

Definition at line 65 of file PadStyle.cxx.

◆ GetLogz()

Int_t Hal::PadStyle::GetLogz ( Int_t val) const

Definition at line 67 of file PadStyle.cxx.

◆ GetRightMargin()

Float_t Hal::PadStyle::GetRightMargin ( ) const

Definition at line 61 of file PadStyle.cxx.

◆ GetTopMargin()

Float_t Hal::PadStyle::GetTopMargin ( ) const

Definition at line 59 of file PadStyle.cxx.

◆ ImportFromXML()

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

Definition at line 104 of file PadStyle.cxx.

◆ SetBottomMargin()

void Hal::PadStyle::SetBottomMargin ( Float_t val)

apply setting to pad if pad is null apply to gPad

Definition at line 35 of file PadStyle.cxx.

◆ SetGridx()

void Hal::PadStyle::SetGridx ( Int_t val)

Definition at line 49 of file PadStyle.cxx.

◆ SetGridy()

void Hal::PadStyle::SetGridy ( Int_t val)

Definition at line 51 of file PadStyle.cxx.

◆ SetGridz()

void Hal::PadStyle::SetGridz ( Int_t val)

Definition at line 53 of file PadStyle.cxx.

◆ SetLeftMargin()

void Hal::PadStyle::SetLeftMargin ( Float_t val)

Definition at line 37 of file PadStyle.cxx.

◆ SetLogx()

void Hal::PadStyle::SetLogx ( Int_t val)

Definition at line 43 of file PadStyle.cxx.

◆ SetLogy()

void Hal::PadStyle::SetLogy ( Int_t val)

Definition at line 45 of file PadStyle.cxx.

◆ SetLogz()

void Hal::PadStyle::SetLogz ( Int_t val)

Definition at line 47 of file PadStyle.cxx.

◆ SetRightMargin()

void Hal::PadStyle::SetRightMargin ( Float_t val)

Definition at line 41 of file PadStyle.cxx.

◆ SetTopMargin()

void Hal::PadStyle::SetTopMargin ( Float_t val)

Definition at line 39 of file PadStyle.cxx.

Member Data Documentation

◆ kBottomMargin

const unsigned short int Hal::PadStyle::kBottomMargin = 0
static

Definition at line 22 of file PadStyle.h.

◆ kGridx

const unsigned short int Hal::PadStyle::kGridx = 7
static

Definition at line 29 of file PadStyle.h.

◆ kGridy

const unsigned short int Hal::PadStyle::kGridy = 8
static

Definition at line 30 of file PadStyle.h.

◆ kGridz

const unsigned short int Hal::PadStyle::kGridz = 9
static

Definition at line 31 of file PadStyle.h.

◆ kLeftMargin

const unsigned short int Hal::PadStyle::kLeftMargin = 1
static

Definition at line 23 of file PadStyle.h.

◆ kLogx

const unsigned short int Hal::PadStyle::kLogx = 4
static

Definition at line 26 of file PadStyle.h.

◆ kLogy

const unsigned short int Hal::PadStyle::kLogy = 5
static

Definition at line 27 of file PadStyle.h.

◆ kLogz

const unsigned short int Hal::PadStyle::kLogz = 6
static

Definition at line 28 of file PadStyle.h.

◆ kRightMargin

const unsigned short int Hal::PadStyle::kRightMargin = 3
static

Definition at line 25 of file PadStyle.h.

◆ kTopMargin

const unsigned short int Hal::PadStyle::kTopMargin = 2
static

Definition at line 24 of file PadStyle.h.


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