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.6.1 2002/06/10 14:43:06 hristov
21 Revision 1.18 2002/05/24 13:29:58 hristov
22 AliTrackReference added, AliDisplay modified
24 Revision 1.17 2001/10/21 18:38:44 hristov
25 Several pointers were set to zero in the default constructors to avoid memory management problems
27 Revision 1.16 2001/07/25 15:23:50 hristov
28 Changes needed to run with Root 3.01 (R.Brun)
30 Revision 1.15 2001/05/16 14:57:22 alibrary
31 New files for folders and Stack
33 Revision 1.14 2001/01/26 19:58:48 hristov
34 Major upgrade of AliRoot code
36 Revision 1.13 2000/12/21 15:30:18 fca
37 Correcting coding convention violations
39 Revision 1.12 2000/12/12 13:18:59 hristov
40 Protection against FPE
42 Revision 1.11 2000/11/30 07:12:48 alibrary
43 Introducing new Rndm and QA classes
45 Revision 1.10 2000/10/02 21:28:14 fca
46 Removal of useless dependecies via forward declarations
48 Revision 1.9 2000/07/13 16:19:09 fca
49 Mainly coding conventions + some small bug fixes
51 Revision 1.8 2000/07/11 18:24:59 fca
52 Coding convention corrections + few minor bug fixes
54 Revision 1.7 1999/11/10 07:37:06 fca
55 Pads do not inherit editability from canvas any more
57 Revision 1.6 1999/11/09 07:38:52 fca
58 Changes for compatibility with version 2.23 of ROOT
60 Revision 1.5 1999/09/29 09:24:29 fca
61 Introduction of the Copyright and cvs Log
66 //////////////////////////////////////////////////////////////////////////
70 // Utility class to display ALICE outline, tracks, hits,.. //
72 //////////////////////////////////////////////////////////////////////////
78 #include <TPaveLabel.h>
79 #include <TPaveText.h>
83 #include <TSliderBox.h>
85 #include <TVirtualX.h>
90 #include "AliDetector.h"
91 #include "AliDisplay.h"
92 #include "AliPoints.h"
93 #include "TParticle.h"
94 #include "TGeometry.h"
95 #include "AliHeader.h"
97 static const Float_t kptcutmax = 2;
98 static const Float_t ketacutmax = 1.5;
103 //_____________________________________________________________________________
104 AliDisplay::AliDisplay()
107 // Default constructor
123 fNTracksToDisplay =0;
126 //_____________________________________________________________________________
127 AliDisplay::AliDisplay(Int_t size)
129 // Create an event display object.
130 // A canvas named "edisplay" is created with a vertical size in pixels
132 // A QUICK Overview of the Event Display functions
133 // ===============================================
135 // The event display can ve invoked by executing the macro "display.C"
136 // A canvas like in the picture below will appear.
138 // On the left side of the canvas, the following buttons appear:
139 // *Next* to move to the next event
140 // *Previous* to move to the previous event
141 // *Top View* to display a top view of the current event
142 // *Side View* to display a side view of the current event
143 // *Front View* to display a front view of the current event
144 // *All Views* to display front/side/top/30-30 views of the current event
145 // *OpenGL* to use OpenGl to view the current event.
146 // Note that OpenGL cannot be used across the network.
147 // Before using OpenGL, load the GL libraries
148 // by executing the macro GL.C (in $ROOTSYS/macros/GL.C.
149 // Once in GL, click the HELP button of the GL canvas.
150 // *X3D* to use X3D to view the current event (Unix only).
151 // Once in X3D, type M to see the list of all possible options.
152 // for example type J to zoom, K to unzoom
153 // use the mouse to rotate.
154 // *Pick* Select this option to be able to point on a track with the
155 // mouse. Once on the track, use the right button to select
156 // an action. For example, select SetMarkerAttributes to
157 // change the marker type/color/size for the track.
158 // *Zoom* Select this option (default) if you want to zoom.
159 // To zoom, simply select the selected area with the left button.
160 // *UnZoom* To revert to the previous picture size.
162 // slider R On the left side, the vertical slider can be used to
163 // set the default picture size.
164 // slider pcut At the top of the canvas, a slider can be used to change
165 // the momentum cut (or range) to display tracks.
166 // slider eta On the right side of the canvas, a vertical slider can be used
167 // to specify a rapidity range for the tracks.
169 // When you are in Zoom mode, you can click on the black part of the canvas
170 // to select special options with the right mouse button.
171 // This will display a pop-up menu with items like:
172 // *Disable detector*
173 // *Enable detector*, etc.
174 // For example select "Disable detector". You get a dialog box.
175 // Diable detector TRD for example.
177 // When you are in pick mode, you can "Inspect" the object pointed by the mouse.
178 // When you are on a track, select the menu item "InspectParticle"
179 // to display the current particle attributes.
181 // You can activate the Root browser by selecting the Inspect menu
182 // in the canvas tool bar menu. Then select "Start Browser"
183 // This will open a new canvas with the browser. At this point, you may want
184 // to display some histograms (from the Trees). Go to the "File" menu
185 // of the browser and click on "New canvas".
186 // In the browser, click on item "ROOT files" in the left pane.
187 // Click on galice.root.
189 // Click on TPC for example
190 // Click on any variable (eg TPC.fX) to histogram the variable.
192 // If you are lost, you can click on HELP in any Root canvas or browser.
195 <img src="picts/alidisplay.gif">
200 gAlice->SetDisplay(this);
202 // Initialize display default parameters
206 // Set front view by default
210 fDrawAllViews = kFALSE;
212 fDrawParticles = kTRUE;
217 // Create display canvas
219 if (ysize < 100) ysize = 750;
220 Int_t xsize = Int_t(size*830./ysize);
221 fCanvas = new TCanvas("Canvas", "ALICE Event Display",14,47,xsize,ysize);
222 fCanvas->ToggleEventStatus();
224 // Create main display pad
225 fPad = new TPad("viewpad", "Alice display",0.15,0,0.97,0.96);
228 fPad->SetFillColor(1);
229 fPad->SetBorderSize(2);
231 // Create user interface control pad
235 // Create Range and mode pad
238 fTrigPad = new TPad("trigger", "range and mode pad",0,0,dxtr,dytr);
241 fTrigPad->SetFillColor(22);
242 fTrigPad->SetBorderSize(2);
243 fRangeSlider = new TSlider("range","range",0.7,0.42,0.9,0.98);
244 fRangeSlider->SetObject(this);
245 char pickmode[] = "gAlice->Display()->SetPickMode()";
247 fPickButton = new TButton("Pick",pickmode,0.05,0.32,0.65,0.32+db);
248 fPickButton->SetFillColor(38);
250 char zoommode[] = "gAlice->Display()->SetZoomMode()";
251 fZoomButton = new TButton("Zoom",zoommode,0.05,0.21,0.65,0.21+db);
252 fZoomButton->SetFillColor(38);
254 fArcButton = new TArc(.8,fZoomButton->GetYlowNDC()+0.5*db,0.33*db);
255 fArcButton->SetFillColor(kGreen);
257 char butUnzoom[] = "gAlice->Display()->UnZoom()";
258 TButton *button = new TButton("UnZoom",butUnzoom,0.05,0.05,0.95,0.15);
259 button->SetFillColor(38);
261 AppendPad(); // append display object as last object to force selection
263 // Create momentum cut slider pad
265 fCutPad = new TPad("cutSlider", "pcut slider pad",dxtr,.96,1,1);
268 fCutPad->SetFillColor(22);
269 fCutPad->SetBorderSize(2);
270 fCutSlider = new TSlider("pcut","Momentum cut",0,0,1,1);
271 fCutSlider->SetRange(fPTcut/kptcutmax,1);
272 fCutSlider->SetObject(this);
273 fCutSlider->SetFillColor(45);
274 TSliderBox *sbox = (TSliderBox*)fCutSlider->GetListOfPrimitives()->First();
275 sbox->SetFillColor(46);
277 TGaxis *cutaxis = new TGaxis(0.02,0.8,0.98,0.8,0,kptcutmax,510,"");
278 cutaxis->SetLabelSize(0.5);
279 cutaxis->SetTitleSize(0.6);
280 cutaxis->SetTitleOffset(0.5);
281 cutaxis->SetTitle("pcut . ");
282 fCutSlider->GetListOfPrimitives()->AddFirst(cutaxis);
284 // Create rapidity cut slider pad
286 fEtaPad = new TPad("EtaSlider", "Eta slider pad",0.97,0,1,0.96);
289 fEtaPad->SetFillColor(22);
290 fEtaPad->SetBorderSize(2);
291 fEtaSlider = new TSlider("etacut","Rapidity cut",0,0,1,1);
292 fEtaSlider->SetObject(this);
293 fEtaSlider->SetFillColor(45);
294 TSliderBox *sbox2 = (TSliderBox*)fEtaSlider->GetListOfPrimitives()->First();
295 sbox2->SetFillColor(46);
297 TGaxis *etaaxis = new TGaxis(0.9,0.02,0.9,0.98,-ketacutmax,ketacutmax,510,"");
298 etaaxis->SetLabelSize(0.5);
299 etaaxis->SetTitleSize(0.6);
300 etaaxis->SetTitleOffset(0.2);
301 cutaxis->SetTitle("Etacut . ");
302 fEtaSlider->GetListOfPrimitives()->AddFirst(etaaxis);
305 fTrigPad->SetEditable(kFALSE);
306 fButtons->SetEditable(kFALSE);
308 fNTracksToDisplay =0;
315 //_____________________________________________________________________________
316 AliDisplay::AliDisplay(const AliDisplay &disp)
324 //_____________________________________________________________________________
325 AliDisplay::~AliDisplay()
332 //_____________________________________________________________________________
333 void AliDisplay::Clear(Option_t *)
335 // Delete graphics temporary objects
338 //_____________________________________________________________________________
339 void AliDisplay::Copy(AliDisplay &disp) const
342 // Copy *this onto disp -- not implemented
344 Fatal("Copy","Not implemented~\n");
347 //----------------------------------------------------------------------------
348 void AliDisplay::ShowTrack(Int_t idx)
353 AliDetector *mTPC=(AliDetector*)gAlice->GetModule("TPC");
354 TObjArray *points=mTPC->Points();
355 int ntracks=points->GetEntriesFast();
356 for (int track=0;track<ntracks;track++) {
357 AliPoints *pm = (AliPoints*)points->UncheckedAt(track);
359 if (idx == pm->GetIndex()) {
360 pm->SetMarkerColor(2);
361 pm->SetMarkerStyle(22);
365 // TClonesArray *particles=gAlice->Particles();
366 // TParticle *p = (TParticle*)particles->UncheckedAt(idx);
367 TParticle *p = gAlice->Particle(idx);
368 printf("\nTrack index %d\n",idx);
369 printf("Particle ID %d\n",p->GetPdgCode());
370 printf("Parent %d\n",p->GetFirstMother());
371 printf("First child %d\n",p->GetFirstDaughter());
372 printf("Px,Py,Pz %f %f %f\n",p->Px(),p->Py(),p->Pz());
378 //----------------------------------------------------------------------------
379 void AliDisplay::HideTrack(Int_t idx) {
381 // Hide track on display
383 AliDetector *mTPC=(AliDetector*)gAlice->GetModule("TPC");
384 TObjArray *points=mTPC->Points();
385 int ntracks=points->GetEntriesFast();
386 for (int track=0;track<ntracks;track++) {
387 AliPoints *pm = (AliPoints*)points->UncheckedAt(track);
389 if (idx == pm->GetIndex()) {
390 pm->SetMarkerColor(5);
391 pm->SetMarkerStyle(1);
400 //_____________________________________________________________________________
401 void AliDisplay::DisableDetector(const char *name)
403 // Disable detector name from graphics views
405 AliModule *module = (AliModule*)gAlice->Modules()->FindObject(name);
411 //_____________________________________________________________________________
412 void AliDisplay::DisplayButtons()
414 // Create the user interface buttons
416 fButtons = new TPad("buttons", "newpad",0,0.45,0.15,1);
418 fButtons->SetFillColor(38);
419 fButtons->SetBorderSize(2);
423 Float_t dbutton = 0.08;
430 char but1[] = "gAlice->Display()->ShowNextEvent(1)";
431 button = new TButton("Next",but1,x0,y-dbutton,x1,y);
432 button->SetFillColor(38);
436 char but2[] = "gAlice->Display()->ShowNextEvent(-1)";
437 button = new TButton("Previous",but2,x0,y-dbutton,x1,y);
438 button->SetFillColor(38);
442 char but3[] = "gAlice->Display()->SetView(90,-90,90)";
443 button = new TButton("Top View",but3,x0,y-dbutton,x1,y);
444 button->SetFillColor(butcolor);
448 char but4[] = "gAlice->Display()->SetView(90,0,-90)";
449 button = new TButton("Side View",but4,x0,y-dbutton,x1,y);
450 button->SetFillColor(butcolor);
454 char but5[] = "gAlice->Display()->SetView(0,-90,0)";
455 button = new TButton("Front View",but5,x0,y-dbutton,x1,y);
456 button->SetFillColor(butcolor);
460 char but6[] = "gAlice->Display()->DrawAllViews()";
461 button = new TButton("All Views",but6,x0,y-dbutton,x1,y);
462 button->SetFillColor(butcolor);
466 char but7[] = "gAlice->Display()->DrawViewGL()";
467 button = new TButton("OpenGL",but7,x0,y-dbutton,x1,y);
468 button->SetFillColor(38);
472 char but8[] = "gAlice->Display()->DrawViewX3D()";
473 button = new TButton("X3D",but8,x0,y-dbutton,x1,y);
474 button->SetFillColor(38);
478 TDiamond *diamond = new TDiamond(0.05,0.015,0.95,0.22);
479 diamond->SetFillColor(50);
480 diamond->SetTextAlign(22);
481 diamond->SetTextColor(5);
482 diamond->SetTextSize(0.11);
484 diamond->AddText(".. ");
485 diamond->AddText("ROOT");
486 diamond->AddText("ALICE");
487 diamond->AddText("... ");
488 diamond->AddText(" ");
491 //______________________________________________________________________________
492 Int_t AliDisplay::DistancetoPrimitive(Int_t px, Int_t)
494 // Compute distance from point px,py to objects in event
496 gPad->SetCursor(kCross);
498 if (gPad == fTrigPad) return 9999;
499 if (gPad == fCutPad) return 9999;
500 if (gPad == fEtaPad) return 9999;
502 const Int_t kbig = 9999;
504 Float_t xmin = gPad->GetX1();
505 Float_t xmax = gPad->GetX2();
506 Float_t dx = 0.02*(xmax - xmin);
507 Float_t x = gPad->AbsPixeltoX(px);
508 if (x < xmin+dx || x > xmax-dx) return dist;
510 if (fZoomMode) return 0;
514 //_____________________________________________________________________________
515 void AliDisplay::Draw(Option_t *)
517 // Display current event
526 DrawView(fTheta, fPhi, fPsi);
528 // Display the event number and title
533 //_____________________________________________________________________________
534 void AliDisplay::DrawAllViews()
536 // Draw front,top,side and 30 deg views
538 fDrawAllViews = kTRUE;
540 fPad->SetFillColor(15);
556 DrawView(90, -90, 90);
561 DrawView(90, 0, -90);
567 //_____________________________________________________________________________
568 void AliDisplay::DrawHits()
570 // Draw hits for all ALICE detectors
572 Float_t cutmin, cutmax, etamin, etamax, pmom, smin, smax, eta, theta, r;
580 smax = fCutSlider->GetMaximum();
581 smin = fCutSlider->GetMinimum();
582 cutmin = kptcutmax*smin;
583 if (smax < 0.98) cutmax = kptcutmax*smax;
584 else cutmax = 100000;
587 smax = fEtaSlider->GetMaximum();
588 smin = fEtaSlider->GetMinimum();
589 etamin = ketacutmax*(2*smin-1);
590 etamax = ketacutmax*(2*smax-1);
591 if (smin < 0.02) etamin = -1000;
592 if (smax > 0.98) etamax = 1000;
594 TIter next(gAlice->Modules());
597 while((module = (AliModule*)next())) {
598 if (!module->IsActive()) continue;
599 points = module->Points();
600 if (!points) continue;
601 ntracks = points->GetEntriesFast();
602 for (track=0;track<ntracks;track++) {
603 pm = (AliPoints*)points->UncheckedAt(track);
605 particle = pm->GetParticle();
606 if (!particle) continue;
607 pmom = particle->P();
608 if (pmom < cutmin) continue;
609 if (pmom > cutmax) continue;
610 // as a first approximation, take eta of first point
612 r = TMath::Sqrt(pxyz[0]*pxyz[0] + pxyz[1]*pxyz[1]);
613 theta = TMath::ATan2(r,TMath::Abs(pxyz[2]));
614 if(theta) eta = -TMath::Log(TMath::Abs(TMath::Tan(0.5*theta))); else eta = 1e10;
615 if (pxyz[2] < 0) eta = -eta;
616 if (eta < etamin || eta > etamax) continue;
618 fHitsCuts += pm->GetN();
623 //_____________________________________________________________________________
624 void AliDisplay::DrawTitle(Option_t *option)
626 // Draw the event title
628 Float_t xmin = gPad->GetX1();
629 Float_t xmax = gPad->GetX2();
630 Float_t ymin = gPad->GetY1();
631 Float_t ymax = gPad->GetY2();
632 Float_t dx = xmax-xmin;
633 Float_t dy = ymax-ymin;
635 if (strlen(option) == 0) {
636 TPaveText *title = new TPaveText(xmin +0.01*dx, ymax-0.09*dy, xmin +0.5*dx, ymax-0.01*dy);
637 title->SetBit(kCanDelete);
638 title->SetFillColor(42);
641 sprintf(ptitle,"Alice event: %d, Run:%d",gAlice->GetHeader()->GetEvent(), gAlice->GetHeader()->GetRun());
642 title->AddText(ptitle);
643 Int_t nparticles = gAlice->Particles()->GetEntriesFast();
644 sprintf(ptitle,"Nparticles = %d Nhits = %d",nparticles, fHitsCuts);
645 title->AddText(ptitle);
647 TPaveLabel *label = new TPaveLabel(xmin +0.01*dx, ymax-0.07*dy, xmin +0.2*dx, ymax-0.01*dy,option);
648 label->SetBit(kCanDelete);
649 label->SetFillColor(42);
654 //_____________________________________________________________________________
655 void AliDisplay::DrawView(Float_t theta, Float_t phi, Float_t psi)
657 // Draw a view of ALICE
659 gPad->SetCursor(kWatch);
660 gPad->SetFillColor(1);
664 TView *view = new TView(1);
665 Float_t range = fRrange*fRangeSlider->GetMaximum();
666 view->SetRange(-range,-range,-range,range, range, range);
673 // Display Alice Geometry
674 gAlice->GetGeometry()->Draw("same");
676 //Loop on all detectors to add their products to the pad
679 // add itself to the list (must be last)
682 view->SetView(phi, theta, psi, iret);
685 //_____________________________________________________________________________
686 void AliDisplay::DrawViewGL()
688 // Draw current view using OPENGL
690 TPad *pad = (TPad*)gPad->GetPadSave();
692 TView *view = pad->GetView();
697 //_____________________________________________________________________________
698 void AliDisplay::DrawViewX3D()
700 // Draw current view using X3D
702 TPad *pad = (TPad*)gPad->GetPadSave();
704 TView *view = pad->GetView();
709 //_____________________________________________________________________________
710 void AliDisplay::EnableDetector(const char *name)
712 // Enable detector name in graphics views
714 AliModule *module = (AliModule*)gAlice->Modules()->FindObject(name);
720 //______________________________________________________________________________
721 void AliDisplay::ExecuteEvent(Int_t event, Int_t px, Int_t py)
723 // Execute action corresponding to the mouse event
725 static Float_t x0, y0, x1, y1;
727 static Int_t pxold, pyold;
728 static Int_t px0, py0;
729 static Int_t linedrawn;
732 if (px == 0 && py == 0) { //when called by sliders
733 if (event == kButton1Up) {
738 if (!fZoomMode && gPad->GetView()) {
739 gPad->GetView()->ExecuteRotateView(event, px, py);
743 // something to zoom ?
744 // fPad->SetCursor(kCross);
745 gPad->SetCursor(kCross);
750 gVirtualX->SetLineColor(-1);
751 gPad->TAttLine::Modify(); //Change line attributes only if necessary
752 x0 = gPad->AbsPixeltoX(px);
753 y0 = gPad->AbsPixeltoY(py);
755 pxold = px; pyold = py;
760 if (linedrawn) gVirtualX->DrawBox(px0, py0, pxold, pyold, TVirtualX::kHollow);
764 gVirtualX->DrawBox(px0, py0, pxold, pyold, TVirtualX::kHollow);
768 gPad->GetCanvas()->FeedbackMode(kFALSE);
769 if (px == px0) return;
770 if (py == py0) return;
771 x1 = gPad->AbsPixeltoX(px);
772 y1 = gPad->AbsPixeltoY(py);
774 if (x1 < x0) {temp = x0; x0 = x1; x1 = temp;}
775 if (y1 < y0) {temp = y0; y0 = y1; y1 = temp;}
776 gPad->Range(x0,y0,x1,y1);
777 if (fZooms < kMAXZOOMS-1) {
779 fZoomX0[fZooms] = x0;
780 fZoomY0[fZooms] = y0;
781 fZoomX1[fZooms] = x1;
782 fZoomY1[fZooms] = y1;
784 gPad->Modified(kTRUE);
791 void AliDisplay::SetTracksToDisplay(Int_t *tracks, Int_t n){
793 // set tracks to display - MI
794 fTracksToDisplay = tracks;
795 fNTracksToDisplay = n;
797 //___________________________________________
798 void AliDisplay::LoadPoints()
800 // Read hits info and store x,y,z info in arrays fPoints
801 // Loop on all detectors
803 gAlice->ResetPoints();
804 TIter next(gAlice->Modules());
806 Int_t ntracks = gAlice->GetNtrack();
808 // load only wanted tracks
809 if (fNTracksToDisplay>0){
810 Int_t nprim = gAlice->Stack()->GetNprimary();
811 for (Int_t track=0; track<fNTracksToDisplay;track++) {
813 gAlice->TreeH()->GetEvent(nprim-1-gAlice->GetPrimary(fTracksToDisplay[track]));
814 while((module = (AliModule*)next())) {
815 module->LoadPoints(nprim-1-gAlice->GetPrimary(fTracksToDisplay[track]));
821 for (Int_t track=0; track<ntracks;track++) {
823 gAlice->TreeH()->GetEvent(track);
824 while((module = (AliModule*)next())) {
825 module->LoadPoints(track);
831 //_____________________________________________________________________________
832 void AliDisplay::Paint(Option_t *)
834 // Paint miscellaneous items
838 //_____________________________________________________________________________
839 void AliDisplay::SetPickMode()
842 // Set Pick Mode -- disable zoom
846 fArcButton->SetY1(fPickButton->GetYlowNDC()+0.5*fPickButton->GetHNDC());
847 fTrigPad->Modified();
850 //_____________________________________________________________________________
851 void AliDisplay::SetZoomMode()
854 // Set Zoom Mode -- disable pick
858 fArcButton->SetY1(fZoomButton->GetYlowNDC()+0.5*fZoomButton->GetHNDC());
859 fTrigPad->Modified();
862 //_____________________________________________________________________________
863 void AliDisplay::SetPTcut(Float_t ptcut)
875 //_____________________________________________________________________________
876 void AliDisplay::SetRange(Float_t rrange, Float_t zrange)
878 // Set view range along R and Z
887 //_____________________________________________________________________________
888 void AliDisplay::SetView(Float_t theta, Float_t phi, Float_t psi)
890 // change viewing angles for current event
893 fDrawAllViews = kFALSE;
899 TView *view = gPad->GetView();
900 if (view) view->SetView(fPhi, fTheta, fPsi, iret);
906 //_____________________________________________________________________________
907 void AliDisplay::ShowNextEvent(Int_t delta)
909 // Display (current event_number+delta)
910 // delta = 1 shown next event
911 // delta = -1 show previous event
915 Int_t currentEvent = gAlice->GetHeader()->GetEvent();
916 Int_t newEvent = currentEvent + delta;
917 gAlice->GetEvent(newEvent);
918 if (!gAlice->TreeH()) return;
925 //______________________________________________________________________________
926 void AliDisplay::UnZoom()
931 if (fZooms <= 0) return;
933 TPad *pad = (TPad*)gPad->GetPadSave();
934 pad->Range(fZoomX0[fZooms],fZoomY0[fZooms], fZoomX1[fZooms],fZoomY1[fZooms]);
938 //_____________________________________________________________________________
939 AliDisplay & AliDisplay::operator=(const AliDisplay &disp)
942 // Assignment operator