CMS 3D CMS Logo

VisCuTkPartDetector.h

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

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