AliPhysics  95775ff (95775ff)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliCanvas Class Reference

#include <AliCanvas.h>

Inheritance diagram for AliCanvas:

Public Types

enum  Status_t {
  kWorkInProgress = 0, kThisWork, kPerformance, kPreliminary,
  kFinal, kStatusLast
}
 
enum  Mode_t { kPresentation, kPrint }
 
enum  Pos_t {
  kN = 0, kNE, kE, kSE,
  kS, kSW, kW, kNW,
  kCenter
}
 

Public Member Functions

 AliCanvas (const char *name="", const char *title="", Int_t ww=800, Int_t wh=600)
 
 ~AliCanvas ()
 
void Draw (Option_t *option="")
 
void Paint (Option_t *option="")
 
void Clear (Option_t *option="")
 
void Update ()
 
void SetStatus (Status_t status)
 
void SetLogoFilename (Status_t status, TString filename)
 
void SetLogoPos (Float_t x, Float_t y)
 
void SetLogoPos (Pos_t pos)
 
void SetLogoSize (Float_t size)
 
void SetCollSystem (TString txt)
 
void SetCollSystemPos (Float_t x, Float_t y)
 
void SetDataSample (TString txt)
 
void SetTextSize (Float_t size)
 
void SetDisabled (Bool_t disable=kTRUE)
 
Bool_t GetDisabled () const
 
void SetDisabledMargin (Bool_t disable=kTRUE)
 
Bool_t GetDisabledMargin () const
 

Static Public Member Functions

static TStyle * Style ()
 

Protected Member Functions

void UpdateLogo ()
 
void UpdateLogoPos ()
 
void UpdatePad (TPad *pad)
 

Protected Attributes

Bool_t fDisabled
 
Bool_t fDisabledMargin
 
Bool_t isMC
 
Status_t fStatus
 
TString fDateFormat
 
Float_t fTextSize
 
Color_t fTextColor
 
TString fLogoFilename [kStatusLast]
 
Float_t fLogoPosX
 
Float_t fLogoPosY
 
Float_t fLogoHeight
 
TPad * fLogoPad
 
TText * fDate
 
TText * fStatusPad
 
TLatex * fCollSystem
 
TLatex * fDataSample
 
TText * fTag
 
TASImage * fLogo
 
const char * fStatusString [kStatusLast]
 

Static Protected Attributes

static TStyle * fgStyle
 

Private Member Functions

 AliCanvas (const AliCanvas &rhs)
 
AliCanvasoperator= (const AliCanvas &rhs)
 
 ClassDef (AliCanvas, 1)
 

Detailed Description

Definition at line 22 of file AliCanvas.h.

Member Enumeration Documentation

Enumerator
kPresentation 
kPrint 

Definition at line 37 of file AliCanvas.h.

Enumerator
kN 
kNE 
kE 
kSE 
kS 
kSW 
kW 
kNW 
kCenter 

Definition at line 42 of file AliCanvas.h.

Enumerator
kWorkInProgress 
kThisWork 
kPerformance 
kPreliminary 
kFinal 
kStatusLast 

Definition at line 28 of file AliCanvas.h.

Constructor & Destructor Documentation

AliCanvas::AliCanvas ( const char *  name = "",
const char *  title = "",
Int_t  ww = 800,
Int_t  wh = 600 
)

Definition at line 46 of file AliCanvas.cxx.

AliCanvas::~AliCanvas ( )

Definition at line 145 of file AliCanvas.cxx.

AliCanvas::AliCanvas ( const AliCanvas rhs)
private

Member Function Documentation

AliCanvas::ClassDef ( AliCanvas  ,
 
)
private
void AliCanvas::Clear ( Option_t option = "")

Definition at line 165 of file AliCanvas.cxx.

void AliCanvas::Draw ( Option_t option = "")

Definition at line 151 of file AliCanvas.cxx.

Bool_t AliCanvas::GetDisabled ( ) const
inline

Definition at line 66 of file AliCanvas.h.

Bool_t AliCanvas::GetDisabledMargin ( ) const
inline

Definition at line 69 of file AliCanvas.h.

AliCanvas& AliCanvas::operator= ( const AliCanvas rhs)
private
void AliCanvas::Paint ( Option_t option = "")

Definition at line 158 of file AliCanvas.cxx.

void AliCanvas::SetCollSystem ( TString  txt)

Definition at line 306 of file AliCanvas.cxx.

void AliCanvas::SetCollSystemPos ( Float_t  x,
Float_t  y 
)

Definition at line 313 of file AliCanvas.cxx.

void AliCanvas::SetDataSample ( TString  txt)

Definition at line 321 of file AliCanvas.cxx.

void AliCanvas::SetDisabled ( Bool_t  disable = kTRUE)
inline

Definition at line 65 of file AliCanvas.h.

void AliCanvas::SetDisabledMargin ( Bool_t  disable = kTRUE)
inline

Definition at line 68 of file AliCanvas.h.

void AliCanvas::SetLogoFilename ( Status_t  status,
TString  filename 
)

Definition at line 221 of file AliCanvas.cxx.

void AliCanvas::SetLogoPos ( Float_t  x,
Float_t  y 
)

Definition at line 249 of file AliCanvas.cxx.

Referenced by SetLogoPos().

void AliCanvas::SetLogoPos ( Pos_t  pos)

Definition at line 259 of file AliCanvas.cxx.

void AliCanvas::SetLogoSize ( Float_t  size)

Definition at line 297 of file AliCanvas.cxx.

void AliCanvas::SetStatus ( Status_t  status)

Definition at line 208 of file AliCanvas.cxx.

void AliCanvas::SetTextSize ( Float_t  size)

Definition at line 399 of file AliCanvas.cxx.

TStyle * AliCanvas::Style ( )
static

Definition at line 328 of file AliCanvas.cxx.

void AliCanvas::Update ( )

Definition at line 183 of file AliCanvas.cxx.

void AliCanvas::UpdateLogo ( )
protected

Definition at line 228 of file AliCanvas.cxx.

Referenced by AliCanvas(), and SetStatus().

void AliCanvas::UpdateLogoPos ( )
protected

Definition at line 410 of file AliCanvas.cxx.

Referenced by AliCanvas(), SetLogoPos(), SetLogoSize(), SetTextSize(), Update(), and UpdateLogo().

void AliCanvas::UpdatePad ( TPad *  pad)
protected

Definition at line 453 of file AliCanvas.cxx.

Referenced by SetTextSize(), and Update().

Member Data Documentation

TLatex* AliCanvas::fCollSystem
protected

Definition at line 96 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), SetCollSystem(), SetCollSystemPos(), Update(), and UpdatePad().

TLatex* AliCanvas::fDataSample
protected

Definition at line 97 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), SetDataSample(), Update(), and UpdatePad().

TText* AliCanvas::fDate
protected

Definition at line 94 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), UpdateLogoPos(), and UpdatePad().

TString AliCanvas::fDateFormat
protected

Definition at line 84 of file AliCanvas.h.

Referenced by AliCanvas().

Bool_t AliCanvas::fDisabled
protected

Definition at line 78 of file AliCanvas.h.

Referenced by GetDisabled(), SetDisabled(), and Update().

Bool_t AliCanvas::fDisabledMargin
protected

Definition at line 79 of file AliCanvas.h.

Referenced by GetDisabledMargin(), SetDisabledMargin(), and UpdatePad().

TStyle * AliCanvas::fgStyle
staticprotected

Definition at line 103 of file AliCanvas.h.

Referenced by Style().

TASImage* AliCanvas::fLogo
protected

Definition at line 99 of file AliCanvas.h.

Referenced by AliCanvas(), Update(), UpdateLogo(), and UpdateLogoPos().

TString AliCanvas::fLogoFilename[kStatusLast]
protected

Definition at line 88 of file AliCanvas.h.

Referenced by AliCanvas(), SetLogoFilename(), and UpdateLogo().

Float_t AliCanvas::fLogoHeight
protected

Definition at line 91 of file AliCanvas.h.

Referenced by SetLogoSize(), and UpdateLogoPos().

TPad* AliCanvas::fLogoPad
protected

Definition at line 93 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), Update(), UpdateLogo(), UpdateLogoPos(), and UpdatePad().

Float_t AliCanvas::fLogoPosX
protected

Definition at line 89 of file AliCanvas.h.

Referenced by SetLogoPos(), and UpdateLogoPos().

Float_t AliCanvas::fLogoPosY
protected

Definition at line 90 of file AliCanvas.h.

Referenced by SetLogoPos(), and UpdateLogoPos().

Status_t AliCanvas::fStatus
protected

Definition at line 82 of file AliCanvas.h.

Referenced by AliCanvas(), SetStatus(), Update(), UpdateLogo(), and UpdateLogoPos().

TText* AliCanvas::fStatusPad
protected

Definition at line 95 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), SetStatus(), SetTextSize(), Update(), UpdateLogoPos(), and UpdatePad().

const char* AliCanvas::fStatusString[kStatusLast]
protected

Definition at line 101 of file AliCanvas.h.

Referenced by AliCanvas(), and SetStatus().

TText* AliCanvas::fTag
protected

Definition at line 98 of file AliCanvas.h.

Referenced by AliCanvas(), Clear(), Update(), UpdateLogoPos(), and UpdatePad().

Color_t AliCanvas::fTextColor
protected

Definition at line 86 of file AliCanvas.h.

Referenced by AliCanvas().

Float_t AliCanvas::fTextSize
protected

Definition at line 85 of file AliCanvas.h.

Referenced by AliCanvas(), SetTextSize(), UpdateLogoPos(), and UpdatePad().

Bool_t AliCanvas::isMC
protected

Definition at line 81 of file AliCanvas.h.


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