1 #ifndef DISPLAYITSV11_H
2 #define DISPLAYITSV11_H
3 /* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved *
4 * See cxx source for full Copyright notice */
17 class DisplayITSv11 : public TTask {
20 virtual ~DisplayITSv11();
22 virtual void Exec(Option_t* opt="");
23 virtual void DisplayITS();
24 virtual void EngineeringSPDThS();
25 virtual void EngineeringSDDCone();
26 virtual void EngineeringSDDCylinder();
27 virtual void EngineeringSupRB24();
28 virtual void EngineeringSupRB26();
30 virtual Int_t GetDebugITS(){return fITSdebug;}
32 void SetITSdebugOn(){fITSdebug=1;}
33 void SetITSdebugOff(){fITSdebug=0;}
34 void SetCircleSegments(Int_t i=80){fNsegments=i;}
35 void SetCylindericalCutOn(Double_t phimin=0.0,Double_t phimax=180.){
36 fPhimincut = phimin;fPhimaxcut=phimax;fCut=1;}
37 void SetCylindericalCutOff(){fCut=0;if(fClip) delete fClip;fClip=0;}
38 void SetCylindericalClipVolume(){if(fClip)delete fClip;
39 fClip = new TGeoTubeSeg(0.0,fRmax[0],fRmax[2],fPhimincut,fPhimaxcut);}
40 void SetPerspectiveOn(){fPerspective=1;}
41 void SetPerspectiveOff(){fPerspective=0;}
42 void SetSolid(){fSolid=1;}
43 void SetWire(){fSolid=0;}
44 void SetAxisOn(){fAxis=1;}
45 void SetAxisOff(){fAxis=0;}
46 void SetDisplayAngles(Double_t lon,Double_t lat,Double_t psi){
47 fLongitude=lon;fLatitude=lat;fPsi=psi;}
49 void Displaying(TGeoVolume *v,TCanvas *c,Int_t ipad);
50 TGeoManager *fmgr; // pointer to the geometry manager.
51 AliITS *fits; // pointer to AliITS
52 TGeoVolume *fALICE; // Pointer to the true mother volume
53 TGeoVolume *fITS; // Pointer to the ITS mother volume
54 TGeoShape *fClip; // Clipping Volume.
62 Double_t fRmin[3],fRmax[3];
69 ClassDef(DisplayITSv11,1) // Task to display ITS v11 Geometry