CMS 3D CMS Logo

VisCuCmsTracker.h

Go to the documentation of this file.
00001 #ifndef VisCuCmsTracker_H
00002 #define VisCuCmsTracker_H
00003 
00004 #include "VisReco/VisCustomTracker/interface/VisCuTkCompositeDetector.h"
00005 #include "VisReco/VisCustomTracker/interface/VisCuTkSubDetector.h"
00006 #include "VisReco/VisCustomTracker/interface/VisCuTkState.h"
00007 
00008 class VisCuCmsTracker : public VisCuTkCompositeDetector<VisCuTkSubDetector>, public VisCuTkState
00009 {
00010       public:
00011         VisCuCmsTracker();
00012         virtual ~VisCuCmsTracker();
00013         VisCuTkSubDetector* pixel() const{
00014             return VisCuTkCompositeDetector<VisCuTkSubDetector>::getComponent(1);} 
00015         VisCuCmsTracker* getOwner(){return this;} 
00016         bool isVisible(){return visible;}
00017         int getId(){return 1; }
00018         void setVisible(){if(visible) visible=false; else visible=true;}
00019         void setVisible(bool vis){visible=vis;} 
00020         int type;
00021 
00022 
00023       private:
00024         bool visible;   
00025 };
00026 
00027 #endif

Generated on Tue Jun 9 17:50:11 2009 for CMSSW by  doxygen 1.5.4