1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 Revision 1.17 2001/10/21 18:38:44 hristov
19 Several pointers were set to zero in the default constructors to avoid memory management problems
21 Revision 1.16 2001/07/25 15:23:50 hristov
22 Changes needed to run with Root 3.01 (R.Brun)
24 Revision 1.15 2001/05/16 14:57:22 alibrary
25 New files for folders and Stack
27 Revision 1.14 2001/01/26 19:58:48 hristov
28 Major upgrade of AliRoot code
30 Revision 1.13 2000/12/21 15:30:18 fca
31 Correcting coding convention violations
33 Revision 1.12 2000/12/12 13:18:59 hristov
34 Protection against FPE
36 Revision 1.11 2000/11/30 07:12:48 alibrary
37 Introducing new Rndm and QA classes
39 Revision 1.10 2000/10/02 21:28:14 fca
40 Removal of useless dependecies via forward declarations
42 Revision 1.9 2000/07/13 16:19:09 fca
43 Mainly coding conventions + some small bug fixes
45 Revision 1.8 2000/07/11 18:24:59 fca
46 Coding convention corrections + few minor bug fixes
48 Revision 1.7 1999/11/10 07:37:06 fca
49 Pads do not inherit editability from canvas any more
51 Revision 1.6 1999/11/09 07:38:52 fca
52 Changes for compatibility with version 2.23 of ROOT
54 Revision 1.5 1999/09/29 09:24:29 fca
55 Introduction of the Copyright and cvs Log
60 //////////////////////////////////////////////////////////////////////////
64 // Utility class to display ALICE outline, tracks, hits,.. //
66 //////////////////////////////////////////////////////////////////////////
72 #include <TPaveLabel.h>
73 #include <TPaveText.h>
77 #include <TSliderBox.h>
79 #include <TVirtualX.h>
84 #include "AliDetector.h"
85 #include "AliDisplay.h"
86 #include "AliPoints.h"
87 #include "TParticle.h"
88 #include "TGeometry.h"
89 #include "AliHeader.h"
91 static const Float_t kptcutmax = 2;
92 static const Float_t ketacutmax = 1.5;
97 //_____________________________________________________________________________
98 AliDisplay::AliDisplay()
101 // Default constructor
117 fNTracksToDisplay =0;
120 //_____________________________________________________________________________
121 AliDisplay::AliDisplay(Int_t size)
123 // Create an event display object.
124 // A canvas named "edisplay" is created with a vertical size in pixels
126 // A QUICK Overview of the Event Display functions
127 // ===============================================
129 // The event display can ve invoked by executing the macro "display.C"
130 // A canvas like in the picture below will appear.
132 // On the left side of the canvas, the following buttons appear:
133 // *Next* to move to the next event
134 // *Previous* to move to the previous event
135 // *Top View* to display a top view of the current event
136 // *Side View* to display a side view of the current event
137 // *Front View* to display a front view of the current event
138 // *All Views* to display front/side/top/30-30 views of the current event
139 // *OpenGL* to use OpenGl to view the current event.
140 // Note that OpenGL cannot be used across the network.
141 // Before using OpenGL, load the GL libraries
142 // by executing the macro GL.C (in $ROOTSYS/macros/GL.C.
143 // Once in GL, click the HELP button of the GL canvas.
144 // *X3D* to use X3D to view the current event (Unix only).
145 // Once in X3D, type M to see the list of all possible options.
146 // for example type J to zoom, K to unzoom
147 // use the mouse to rotate.
148 // *Pick* Select this option to be able to point on a track with the
149 // mouse. Once on the track, use the right button to select
150 // an action. For example, select SetMarkerAttributes to
151 // change the marker type/color/size for the track.
152 // *Zoom* Select this option (default) if you want to zoom.
153 // To zoom, simply select the selected area with the left button.
154 // *UnZoom* To revert to the previous picture size.
156 // slider R On the left side, the vertical slider can be used to
157 // set the default picture size.
158 // slider pcut At the top of the canvas, a slider can be used to change
159 // the momentum cut (or range) to display tracks.
160 // slider eta On the right side of the canvas, a vertical slider can be used
161 // to specify a rapidity range for the tracks.
163 // When you are in Zoom mode, you can click on the black part of the canvas
164 // to select special options with the right mouse button.
165 // This will display a pop-up menu with items like:
166 // *Disable detector*
167 // *Enable detector*, etc.
168 // For example select "Disable detector". You get a dialog box.
169 // Diable detector TRD for example.
171 // When you are in pick mode, you can "Inspect" the object pointed by the mouse.
172 // When you are on a track, select the menu item "InspectParticle"
173 // to display the current particle attributes.
175 // You can activate the Root browser by selecting the Inspect menu
176 // in the canvas tool bar menu. Then select "Start Browser"
177 // This will open a new canvas with the browser. At this point, you may want
178 // to display some histograms (from the Trees). Go to the "File" menu
179 // of the browser and click on "New canvas".
180 // In the browser, click on item "ROOT files" in the left pane.
181 // Click on galice.root.
183 // Click on TPC for example
184 // Click on any variable (eg TPC.fX) to histogram the variable.
186 // If you are lost, you can click on HELP in any Root canvas or browser.
189 <img src="picts/alidisplay.gif">
194 gAlice->SetDisplay(this);
196 // Initialize display default parameters
200 // Set front view by default
204 fDrawAllViews = kFALSE;
206 fDrawParticles = kTRUE;
211 // Create display canvas
213 if (ysize < 100) ysize = 750;
214 Int_t xsize = Int_t(size*830./ysize);
215 fCanvas = new TCanvas("Canvas", "ALICE Event Display",14,47,xsize,ysize);
216 fCanvas->ToggleEventStatus();
218 // Create main display pad
219 fPad = new TPad("viewpad", "Alice display",0.15,0,0.97,0.96);
222 fPad->SetFillColor(1);
223 fPad->SetBorderSize(2);
225 // Create user interface control pad
229 // Create Range and mode pad
232 fTrigPad = new TPad("trigger", "range and mode pad",0,0,dxtr,dytr);
235 fTrigPad->SetFillColor(22);
236 fTrigPad->SetBorderSize(2);
237 fRangeSlider = new TSlider("range","range",0.7,0.42,0.9,0.98);
238 fRangeSlider->SetObject(this);
239 char pickmode[] = "gAlice->Display()->SetPickMode()";
241 fPickButton = new TButton("Pick",pickmode,0.05,0.32,0.65,0.32+db);
242 fPickButton->SetFillColor(38);
244 char zoommode[] = "gAlice->Display()->SetZoomMode()";
245 fZoomButton = new TButton("Zoom",zoommode,0.05,0.21,0.65,0.21+db);
246 fZoomButton->SetFillColor(38);
248 fArcButton = new TArc(.8,fZoomButton->GetYlowNDC()+0.5*db,0.33*db);
249 fArcButton->SetFillColor(kGreen);
251 char butUnzoom[] = "gAlice->Display()->UnZoom()";
252 TButton *button = new TButton("UnZoom",butUnzoom,0.05,0.05,0.95,0.15);
253 button->SetFillColor(38);
255 AppendPad(); // append display object as last object to force selection
257 // Create momentum cut slider pad
259 fCutPad = new TPad("cutSlider", "pcut slider pad",dxtr,.96,1,1);
262 fCutPad->SetFillColor(22);
263 fCutPad->SetBorderSize(2);
264 fCutSlider = new TSlider("pcut","Momentum cut",0,0,1,1);
265 fCutSlider->SetRange(fPTcut/kptcutmax,1);
266 fCutSlider->SetObject(this);
267 fCutSlider->SetFillColor(45);
268 TSliderBox *sbox = (TSliderBox*)fCutSlider->GetListOfPrimitives()->First();
269 sbox->SetFillColor(46);
271 TGaxis *cutaxis = new TGaxis(0.02,0.8,0.98,0.8,0,kptcutmax,510,"");
272 cutaxis->SetLabelSize(0.5);
273 cutaxis->SetTitleSize(0.6);
274 cutaxis->SetTitleOffset(0.5);
275 cutaxis->SetTitle("pcut . ");
276 fCutSlider->GetListOfPrimitives()->AddFirst(cutaxis);
278 // Create rapidity cut slider pad
280 fEtaPad = new TPad("EtaSlider", "Eta slider pad",0.97,0,1,0.96);
283 fEtaPad->SetFillColor(22);
284 fEtaPad->SetBorderSize(2);
285 fEtaSlider = new TSlider("etacut","Rapidity cut",0,0,1,1);
286 fEtaSlider->SetObject(this);
287 fEtaSlider->SetFillColor(45);
288 TSliderBox *sbox2 = (TSliderBox*)fEtaSlider->GetListOfPrimitives()->First();
289 sbox2->SetFillColor(46);
291 TGaxis *etaaxis = new TGaxis(0.9,0.02,0.9,0.98,-ketacutmax,ketacutmax,510,"");
292 etaaxis->SetLabelSize(0.5);
293 etaaxis->SetTitleSize(0.6);
294 etaaxis->SetTitleOffset(0.2);
295 cutaxis->SetTitle("Etacut . ");
296 fEtaSlider->GetListOfPrimitives()->AddFirst(etaaxis);
299 fTrigPad->SetEditable(kFALSE);
300 fButtons->SetEditable(kFALSE);
302 fNTracksToDisplay =0;
309 //_____________________________________________________________________________
310 AliDisplay::AliDisplay(const AliDisplay &disp)
318 //_____________________________________________________________________________
319 AliDisplay::~AliDisplay()
326 //_____________________________________________________________________________
327 void AliDisplay::Clear(Option_t *)
329 // Delete graphics temporary objects
332 //_____________________________________________________________________________
333 void AliDisplay::Copy(AliDisplay &disp) const
336 // Copy *this onto disp -- not implemented
338 Fatal("Copy","Not implemented~\n");
341 //----------------------------------------------------------------------------
342 void AliDisplay::ShowTrack(Int_t idx)
347 AliDetector *mTPC=(AliDetector*)gAlice->GetModule("TPC");
348 TObjArray *points=mTPC->Points();
349 int ntracks=points->GetEntriesFast();
350 for (int track=0;track<ntracks;track++) {
351 AliPoints *pm = (AliPoints*)points->UncheckedAt(track);
353 if (idx == pm->GetIndex()) {
354 pm->SetMarkerColor(2);
355 pm->SetMarkerStyle(22);
359 // TClonesArray *particles=gAlice->Particles();
360 // TParticle *p = (TParticle*)particles->UncheckedAt(idx);
361 TParticle *p = gAlice->Particle(idx);
362 printf("\nTrack index %d\n",idx);
363 printf("Particle ID %d\n",p->GetPdgCode());
364 printf("Parent %d\n",p->GetFirstMother());
365 printf("First child %d\n",p->GetFirstDaughter());
366 printf("Px,Py,Pz %f %f %f\n",p->Px(),p->Py(),p->Pz());
372 //----------------------------------------------------------------------------
373 void AliDisplay::HideTrack(Int_t idx) {
375 // Hide track on display
377 AliDetector *mTPC=(AliDetector*)gAlice->GetModule("TPC");
378 TObjArray *points=mTPC->Points();
379 int ntracks=points->GetEntriesFast();
380 for (int track=0;track<ntracks;track++) {
381 AliPoints *pm = (AliPoints*)points->UncheckedAt(track);
383 if (idx == pm->GetIndex()) {
384 pm->SetMarkerColor(5);
385 pm->SetMarkerStyle(1);
394 //_____________________________________________________________________________
395 void AliDisplay::DisableDetector(const char *name)
397 // Disable detector name from graphics views
399 AliModule *module = (AliModule*)gAlice->Modules()->FindObject(name);
405 //_____________________________________________________________________________
406 void AliDisplay::DisplayButtons()
408 // Create the user interface buttons
410 fButtons = new TPad("buttons", "newpad",0,0.45,0.15,1);
412 fButtons->SetFillColor(38);
413 fButtons->SetBorderSize(2);
417 Float_t dbutton = 0.08;
424 char but1[] = "gAlice->Display()->ShowNextEvent(1)";
425 button = new TButton("Next",but1,x0,y-dbutton,x1,y);
426 button->SetFillColor(38);
430 char but2[] = "gAlice->Display()->ShowNextEvent(-1)";
431 button = new TButton("Previous",but2,x0,y-dbutton,x1,y);
432 button->SetFillColor(38);
436 char but3[] = "gAlice->Display()->SetView(90,-90,90)";
437 button = new TButton("Top View",but3,x0,y-dbutton,x1,y);
438 button->SetFillColor(butcolor);
442 char but4[] = "gAlice->Display()->SetView(90,0,-90)";
443 button = new TButton("Side View",but4,x0,y-dbutton,x1,y);
444 button->SetFillColor(butcolor);
448 char but5[] = "gAlice->Display()->SetView(0,-90,0)";
449 button = new TButton("Front View",but5,x0,y-dbutton,x1,y);
450 button->SetFillColor(butcolor);
454 char but6[] = "gAlice->Display()->DrawAllViews()";
455 button = new TButton("All Views",but6,x0,y-dbutton,x1,y);
456 button->SetFillColor(butcolor);
460 char but7[] = "gAlice->Display()->DrawViewGL()";
461 button = new TButton("OpenGL",but7,x0,y-dbutton,x1,y);
462 button->SetFillColor(38);
466 char but8[] = "gAlice->Display()->DrawViewX3D()";
467 button = new TButton("X3D",but8,x0,y-dbutton,x1,y);
468 button->SetFillColor(38);
472 TDiamond *diamond = new TDiamond(0.05,0.015,0.95,0.22);
473 diamond->SetFillColor(50);
474 diamond->SetTextAlign(22);
475 diamond->SetTextColor(5);
476 diamond->SetTextSize(0.11);
478 diamond->AddText(".. ");
479 diamond->AddText("ROOT");
480 diamond->AddText("ALICE");
481 diamond->AddText("... ");
482 diamond->AddText(" ");
485 //______________________________________________________________________________
486 Int_t AliDisplay::DistancetoPrimitive(Int_t px, Int_t)
488 // Compute distance from point px,py to objects in event
490 gPad->SetCursor(kCross);
492 if (gPad == fTrigPad) return 9999;
493 if (gPad == fCutPad) return 9999;
494 if (gPad == fEtaPad) return 9999;
496 const Int_t kbig = 9999;
498 Float_t xmin = gPad->GetX1();
499 Float_t xmax = gPad->GetX2();
500 Float_t dx = 0.02*(xmax - xmin);
501 Float_t x = gPad->AbsPixeltoX(px);
502 if (x < xmin+dx || x > xmax-dx) return dist;
504 if (fZoomMode) return 0;
508 //_____________________________________________________________________________
509 void AliDisplay::Draw(Option_t *)
511 // Display current event
520 DrawView(fTheta, fPhi, fPsi);
522 // Display the event number and title
527 //_____________________________________________________________________________
528 void AliDisplay::DrawAllViews()
530 // Draw front,top,side and 30 deg views
532 fDrawAllViews = kTRUE;
534 fPad->SetFillColor(15);
550 DrawView(90, -90, 90);
555 DrawView(90, 0, -90);
561 //_____________________________________________________________________________
562 void AliDisplay::DrawHits()
564 // Draw hits for all ALICE detectors
566 Float_t cutmin, cutmax, etamin, etamax, pmom, smin, smax, eta, theta, r;
574 smax = fCutSlider->GetMaximum();
575 smin = fCutSlider->GetMinimum();
576 cutmin = kptcutmax*smin;
577 if (smax < 0.98) cutmax = kptcutmax*smax;
578 else cutmax = 100000;
581 smax = fEtaSlider->GetMaximum();
582 smin = fEtaSlider->GetMinimum();
583 etamin = ketacutmax*(2*smin-1);
584 etamax = ketacutmax*(2*smax-1);
585 if (smin < 0.02) etamin = -1000;
586 if (smax > 0.98) etamax = 1000;
588 TIter next(gAlice->Modules());
591 while((module = (AliModule*)next())) {
592 if (!module->IsActive()) continue;
593 points = module->Points();
594 if (!points) continue;
595 ntracks = points->GetEntriesFast();
596 for (track=0;track<ntracks;track++) {
597 pm = (AliPoints*)points->UncheckedAt(track);
599 particle = pm->GetParticle();
600 if (!particle) continue;
601 pmom = particle->P();
602 if (pmom < cutmin) continue;
603 if (pmom > cutmax) continue;
604 // as a first approximation, take eta of first point
606 r = TMath::Sqrt(pxyz[0]*pxyz[0] + pxyz[1]*pxyz[1]);
607 theta = TMath::ATan2(r,TMath::Abs(pxyz[2]));
608 if(theta) eta = -TMath::Log(TMath::Abs(TMath::Tan(0.5*theta))); else eta = 1e10;
609 if (pxyz[2] < 0) eta = -eta;
610 if (eta < etamin || eta > etamax) continue;
612 fHitsCuts += pm->GetN();
617 //_____________________________________________________________________________
618 void AliDisplay::DrawTitle(Option_t *option)
620 // Draw the event title
622 Float_t xmin = gPad->GetX1();
623 Float_t xmax = gPad->GetX2();
624 Float_t ymin = gPad->GetY1();
625 Float_t ymax = gPad->GetY2();
626 Float_t dx = xmax-xmin;
627 Float_t dy = ymax-ymin;
629 if (strlen(option) == 0) {
630 TPaveText *title = new TPaveText(xmin +0.01*dx, ymax-0.09*dy, xmin +0.5*dx, ymax-0.01*dy);
631 title->SetBit(kCanDelete);
632 title->SetFillColor(42);
635 sprintf(ptitle,"Alice event: %d, Run:%d",gAlice->GetHeader()->GetEvent(), gAlice->GetHeader()->GetRun());
636 title->AddText(ptitle);
637 Int_t nparticles = gAlice->Particles()->GetEntriesFast();
638 sprintf(ptitle,"Nparticles = %d Nhits = %d",nparticles, fHitsCuts);
639 title->AddText(ptitle);
641 TPaveLabel *label = new TPaveLabel(xmin +0.01*dx, ymax-0.07*dy, xmin +0.2*dx, ymax-0.01*dy,option);
642 label->SetBit(kCanDelete);
643 label->SetFillColor(42);
648 //_____________________________________________________________________________
649 void AliDisplay::DrawView(Float_t theta, Float_t phi, Float_t psi)
651 // Draw a view of ALICE
653 gPad->SetCursor(kWatch);
654 gPad->SetFillColor(1);
658 TView *view = new TView(1);
659 Float_t range = fRrange*fRangeSlider->GetMaximum();
660 view->SetRange(-range,-range,-range,range, range, range);
667 // Display Alice Geometry
668 gAlice->GetGeometry()->Draw("same");
670 //Loop on all detectors to add their products to the pad
673 // add itself to the list (must be last)
676 view->SetView(phi, theta, psi, iret);
679 //_____________________________________________________________________________
680 void AliDisplay::DrawViewGL()
682 // Draw current view using OPENGL
684 TPad *pad = (TPad*)gPad->GetPadSave();
686 TView *view = pad->GetView();
691 //_____________________________________________________________________________
692 void AliDisplay::DrawViewX3D()
694 // Draw current view using X3D
696 TPad *pad = (TPad*)gPad->GetPadSave();
698 TView *view = pad->GetView();
703 //_____________________________________________________________________________
704 void AliDisplay::EnableDetector(const char *name)
706 // Enable detector name in graphics views
708 AliModule *module = (AliModule*)gAlice->Modules()->FindObject(name);
714 //______________________________________________________________________________
715 void AliDisplay::ExecuteEvent(Int_t event, Int_t px, Int_t py)
717 // Execute action corresponding to the mouse event
719 static Float_t x0, y0, x1, y1;
721 static Int_t pxold, pyold;
722 static Int_t px0, py0;
723 static Int_t linedrawn;
726 if (px == 0 && py == 0) { //when called by sliders
727 if (event == kButton1Up) {
732 if (!fZoomMode && gPad->GetView()) {
733 gPad->GetView()->ExecuteRotateView(event, px, py);
737 // something to zoom ?
738 // fPad->SetCursor(kCross);
739 gPad->SetCursor(kCross);
744 gVirtualX->SetLineColor(-1);
745 gPad->TAttLine::Modify(); //Change line attributes only if necessary
746 x0 = gPad->AbsPixeltoX(px);
747 y0 = gPad->AbsPixeltoY(py);
749 pxold = px; pyold = py;
754 if (linedrawn) gVirtualX->DrawBox(px0, py0, pxold, pyold, TVirtualX::kHollow);
758 gVirtualX->DrawBox(px0, py0, pxold, pyold, TVirtualX::kHollow);
762 gPad->GetCanvas()->FeedbackMode(kFALSE);
763 if (px == px0) return;
764 if (py == py0) return;
765 x1 = gPad->AbsPixeltoX(px);
766 y1 = gPad->AbsPixeltoY(py);
768 if (x1 < x0) {temp = x0; x0 = x1; x1 = temp;}
769 if (y1 < y0) {temp = y0; y0 = y1; y1 = temp;}
770 gPad->Range(x0,y0,x1,y1);
771 if (fZooms < kMAXZOOMS-1) {
773 fZoomX0[fZooms] = x0;
774 fZoomY0[fZooms] = y0;
775 fZoomX1[fZooms] = x1;
776 fZoomY1[fZooms] = y1;
778 gPad->Modified(kTRUE);
785 void AliDisplay::SetTracksToDisplay(Int_t *tracks, Int_t n){
787 // set tracks to display - MI
788 fTracksToDisplay = tracks;
789 fNTracksToDisplay = n;
791 //___________________________________________
792 void AliDisplay::LoadPoints()
794 // Read hits info and store x,y,z info in arrays fPoints
795 // Loop on all detectors
797 gAlice->ResetPoints();
798 TIter next(gAlice->Modules());
800 Int_t ntracks = gAlice->GetNtrack();
802 // load only wanted tracks
803 if (fNTracksToDisplay>0){
804 Int_t nprim = gAlice->Stack()->GetNprimary();
805 for (Int_t track=0; track<fNTracksToDisplay;track++) {
807 gAlice->TreeH()->GetEvent(nprim-1-gAlice->GetPrimary(fTracksToDisplay[track]));
808 while((module = (AliModule*)next())) {
809 module->LoadPoints(nprim-1-gAlice->GetPrimary(fTracksToDisplay[track]));
815 for (Int_t track=0; track<ntracks;track++) {
817 gAlice->TreeH()->GetEvent(track);
818 while((module = (AliModule*)next())) {
819 module->LoadPoints(track);
825 //_____________________________________________________________________________
826 void AliDisplay::Paint(Option_t *)
828 // Paint miscellaneous items
832 //_____________________________________________________________________________
833 void AliDisplay::SetPickMode()
836 // Set Pick Mode -- disable zoom
840 fArcButton->SetY1(fPickButton->GetYlowNDC()+0.5*fPickButton->GetHNDC());
841 fTrigPad->Modified();
844 //_____________________________________________________________________________
845 void AliDisplay::SetZoomMode()
848 // Set Zoom Mode -- disable pick
852 fArcButton->SetY1(fZoomButton->GetYlowNDC()+0.5*fZoomButton->GetHNDC());
853 fTrigPad->Modified();
856 //_____________________________________________________________________________
857 void AliDisplay::SetPTcut(Float_t ptcut)
869 //_____________________________________________________________________________
870 void AliDisplay::SetRange(Float_t rrange, Float_t zrange)
872 // Set view range along R and Z
881 //_____________________________________________________________________________
882 void AliDisplay::SetView(Float_t theta, Float_t phi, Float_t psi)
884 // change viewing angles for current event
887 fDrawAllViews = kFALSE;
893 TView *view = gPad->GetView();
894 if (view) view->SetView(fPhi, fTheta, fPsi, iret);
900 //_____________________________________________________________________________
901 void AliDisplay::ShowNextEvent(Int_t delta)
903 // Display (current event_number+delta)
904 // delta = 1 shown next event
905 // delta = -1 show previous event
909 Int_t currentEvent = gAlice->GetHeader()->GetEvent();
910 Int_t newEvent = currentEvent + delta;
911 gAlice->GetEvent(newEvent);
912 if (!gAlice->TreeH()) return;
919 //______________________________________________________________________________
920 void AliDisplay::UnZoom()
925 if (fZooms <= 0) return;
927 TPad *pad = (TPad*)gPad->GetPadSave();
928 pad->Range(fZoomX0[fZooms],fZoomY0[fZooms], fZoomX1[fZooms],fZoomY1[fZooms]);
932 //_____________________________________________________________________________
933 AliDisplay & AliDisplay::operator=(const AliDisplay &disp)
936 // Assignment operator