#ifndef DISPLAYITSV11_H #define DISPLAYITSV11_H /* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved * * See cxx source for full Copyright notice */ /* $Id$ */ #include #include class TGeoManager; class AliITS; class TGeoVolume; class TCanvas; class DisplayITSv11 : public TTask { public: DisplayITSv11(); virtual ~DisplayITSv11(); // virtual void Exec(Option_t* opt=""); virtual void DisplayITS(); virtual void EngineeringSPDThS(); virtual void EngineeringSDDCone(); virtual void EngineeringSDDCylinder(); virtual void EngineeringSupRB24(); virtual void EngineeringSupRB26(); // virtual Int_t GetDebugITS(){return fITSdebug;} // void SetITSdebugOn(){fITSdebug=1;} void SetITSdebugOff(){fITSdebug=0;} void SetCircleSegments(Int_t i=80){fNsegments=i;} void SetCylindericalCutOn(Double_t phimin=0.0,Double_t phimax=180.){ fPhimincut = phimin;fPhimaxcut=phimax;fCut=1;} void SetCylindericalCutOff(){fCut=0;if(fClip) delete fClip;fClip=0;} void SetCylindericalClipVolume(){if(fClip)delete fClip; fClip = new TGeoTubeSeg(0.0,fRmax[0],fRmax[2],fPhimincut,fPhimaxcut);} void SetPerspectiveOn(){fPerspective=1;} void SetPerspectiveOff(){fPerspective=0;} void SetSolid(){fSolid=1;} void SetWire(){fSolid=0;} void SetAxisOn(){fAxis=1;} void SetAxisOff(){fAxis=0;} void SetDisplayAngles(Double_t lon,Double_t lat,Double_t psi){ fLongitude=lon;fLatitude=lat;fPsi=psi;} private: void Displaying(TGeoVolume *v,TCanvas *c,Int_t ipad); TGeoManager *fmgr; // pointer to the geometry manager. AliITS *fits; // pointer to AliITS TGeoVolume *fALICE; // Pointer to the true mother volume TGeoVolume *fITS; // Pointer to the ITS mother volume TGeoShape *fClip; // Clipping Volume. // Int_t fITSdebug; Int_t fNsegments; Int_t fCut; Int_t fAxis; Int_t fPerspective; Int_t fSolid; Double_t fRmin[3],fRmax[3]; Double_t fPhimincut; Double_t fPhimaxcut; Double_t fLongitude; Double_t fLatitude; Double_t fPsi; ClassDef(DisplayITSv11,1) // Task to display ITS v11 Geometry }; #endif