1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
4 // Canvas for ALICE figures
6 // Author: Jochen Klein <jochen.klein@cern.ch>
22 class AliFigure : public TCanvas
25 AliFigure(const char* name = "", const char* title = "", Int_t ww = 800, Int_t wh = 600);
43 kN = 0, kNE, kE, kSE, kS, kSW, kW, kNW, kCenter
46 void Draw(Option_t *option = "");
47 void Paint(Option_t *option = "");
48 void Clear(Option_t *option = "");
51 void SetStatus(Status_t status);
53 void SetLogoFilename(Status_t status, TString filename);
54 void SetLogoPos(Float_t x, Float_t y);
55 void SetLogoPos(Pos_t pos);
56 void SetLogoSize(Float_t size);
58 void SetCollSystem(TString txt);
59 void SetCollSystemPos(Float_t x, Float_t y);
61 void SetDataSample(TString txt);
63 void SetTextSize(Float_t size);
65 void SetDisabled(Bool_t disable = kTRUE) { fDisabled = disable; }
66 Bool_t GetDisabled() const { return fDisabled; }
68 static TStyle* Style();
73 void UpdatePad(TPad *pad);
84 TString fLogoFilename[kStatusLast];
97 const char* fStatusString[kStatusLast];
99 static TStyle *fgStyle;
102 AliFigure(const AliFigure& rhs); // not implemented
103 AliFigure& operator=(const AliFigure& rhs); // not implemented
105 ClassDef(AliFigure, 1);