#include <VisReco/VisCustomTracker/interface/VisCuCmsTracker.h>
Public Member Functions | |
int | getId () |
VisCuCmsTracker * | getOwner () |
bool | isVisible () |
VisCuTkSubDetector * | pixel () const |
void | setVisible (bool vis) |
void | setVisible () |
VisCuCmsTracker () | |
virtual | ~VisCuCmsTracker () |
Public Attributes | |
int | type |
Private Attributes | |
bool | visible |
Definition at line 8 of file VisCuCmsTracker.h.
VisCuCmsTracker::VisCuCmsTracker | ( | ) |
Definition at line 11 of file VisCuCmsTracker.cc.
References VisCuTkCompositeDetector< VisCuTkSubDetector >::addComponent(), i, and visible.
00011 { 00012 visible = false; 00013 type=1;//by default assume it is the full CMS tracker 00014 for(int i=1;i<4;i++){ 00015 addComponent(i,new VisCuTkSubDetector(i,this)); 00016 } 00017 }
VisCuCmsTracker::~VisCuCmsTracker | ( | ) | [virtual] |
int VisCuCmsTracker::getId | ( | ) | [inline, virtual] |
VisCuCmsTracker* VisCuCmsTracker::getOwner | ( | ) | [inline] |
bool VisCuCmsTracker::isVisible | ( | ) | [inline, virtual] |
Implements VisCuTkState.
Definition at line 16 of file VisCuCmsTracker.h.
References visible.
00016 {return visible;}
VisCuTkSubDetector* VisCuCmsTracker::pixel | ( | ) | const [inline] |
Definition at line 13 of file VisCuCmsTracker.h.
References VisCuTkCompositeDetector< T >::getComponent().
00013 { 00014 return VisCuTkCompositeDetector<VisCuTkSubDetector>::getComponent(1);}
Implements VisCuTkState.
Definition at line 19 of file VisCuCmsTracker.h.
References visible.
00019 {visible=vis;}
void VisCuCmsTracker::setVisible | ( | ) | [inline, virtual] |
Definition at line 20 of file VisCuCmsTracker.h.
Referenced by VisCuTkSlWindow::crossedOnly(), VisCuTkBuilder::fill(), VisCuTkBuilder::getPos(), VisCuTkGeometryTwig::onNewEvent(), VisCuTkGeometryTwig::selectCrossedModules(), VisCuTkGeometryTwig::update(), and VisCuTkMap2D::ypixel().
bool VisCuCmsTracker::visible [private] |
Definition at line 24 of file VisCuCmsTracker.h.
Referenced by isVisible(), setVisible(), and VisCuCmsTracker().