CMS 3D CMS Logo

VisTrackerGeometryTwig.h

Go to the documentation of this file.
00001 #ifndef VIS_EVENT_SETUP_VIS_TRACKER_GEOMETRY_TWIG_H
00002 # define VIS_EVENT_SETUP_VIS_TRACKER_GEOMETRY_TWIG_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h"
00007 # include "VisFramework/VisFrameworkBase/interface/VisAnnotateGeometry.h"
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 
00013 namespace edm 
00014 {
00015     class Event;
00016     class EventSetup;
00017 }
00018 
00019 class SoSeparator;
00020 
00021 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00022 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00023 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00024 
00025 class VisTrackerGeometryTwig : public VisQueuedTwig
00026 {
00027 public:
00028     VisTrackerGeometryTwig (IgState *state, IgTwig *parent, 
00029                             const std::string &name = "");
00030     // implicit copy constructor
00031     // implicit assignment operator
00032     // implicit destructor
00033     virtual ~VisTrackerGeometryTwig (void);
00034 
00035     virtual void        onNewEvent (const edm::Event &event,
00036                                     const edm::EventSetup &eventSetup);
00037 
00038     using VisQueuedTwig::update;
00039     virtual void        update (IgTextRep *rep);
00040     virtual void        update (Ig3DRep *rep);
00041     virtual void        update (IgRPhiRep *rep);
00042     virtual void        update (IgRZRep *rep);
00043 
00044 private:
00045     void                invalidate (void);
00046     
00047     SoSeparator        *m_3dDet;
00048     SoSeparator        *m_rzDet;
00049     SoSeparator        *m_rphiDet;
00050     bool                m_3Ddone;
00051     bool                m_rzdone;
00052     bool                m_rphidone;
00053     VisAnnotateGeometry m_annotate;
00054 };
00055 
00056 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00057 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00058 
00059 #endif // VIS_EVENT_SETUP_VIS_TRACKER_GEOMETRY_TWIG_H

Generated on Tue Jun 9 17:49:48 2009 for CMSSW by  doxygen 1.5.4