CMS 3D CMS Logo

VisCuCmsTracker Class Reference

#include <VisReco/VisCustomTracker/interface/VisCuCmsTracker.h>

Inheritance diagram for VisCuCmsTracker:

VisCuTkCompositeDetector< VisCuTkSubDetector > VisCuTkState

List of all members.

Public Member Functions

int getId ()
VisCuCmsTrackergetOwner ()
bool isVisible ()
VisCuTkSubDetectorpixel () const
void setVisible (bool vis)
void setVisible ()
 VisCuCmsTracker ()
virtual ~VisCuCmsTracker ()

Public Attributes

int type

Private Attributes

bool visible


Detailed Description

Definition at line 8 of file VisCuCmsTracker.h.


Constructor & Destructor Documentation

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]

Definition at line 19 of file VisCuCmsTracker.cc.

00019                                  {
00020 
00021 }


Member Function Documentation

int VisCuCmsTracker::getId (  )  [inline, virtual]

Implements VisCuTkState.

Definition at line 17 of file VisCuCmsTracker.h.

00017 {return 1; }

VisCuCmsTracker* VisCuCmsTracker::getOwner (  )  [inline]

Definition at line 15 of file VisCuCmsTracker.h.

00015 {return this;} 

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().

void VisCuCmsTracker::setVisible ( bool  vis  )  [inline, virtual]

Implements VisCuTkState.

Definition at line 19 of file VisCuCmsTracker.h.

References visible.

00019 {visible=vis;}  

void VisCuCmsTracker::setVisible (  )  [inline, virtual]

Implements VisCuTkState.

Definition at line 18 of file VisCuCmsTracker.h.

References visible.

00018 {if(visible) visible=false; else visible=true;}


Member Data Documentation

int VisCuCmsTracker::type

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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:35:13 2009 for CMSSW by  doxygen 1.5.4