![]() |
![]() |
00001 #ifndef VIS_EVENT_SETUP_VIS_DTGEOMETRY_TWIG_H 00002 # define VIS_EVENT_SETUP_VIS_DTGEOMETRY_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 VisDTGeometryTwig : public VisQueuedTwig 00026 { 00027 public: 00028 VisDTGeometryTwig (IgState *state, IgTwig *parent, 00029 const std::string &name = "", 00030 const int wheel = 10, 00031 const int sector = 0, 00032 const int station = 0); 00033 // implicit copy constructor 00034 // implicit assignment operator 00035 // implicit destructor 00036 virtual ~VisDTGeometryTwig (void); 00037 00038 virtual void onNewEvent (const edm::Event &event, 00039 const edm::EventSetup &eventSetup); 00040 00041 using VisQueuedTwig::update; 00042 virtual void update (IgTextRep *rep); 00043 virtual void update (Ig3DRep *rep); 00044 virtual void update (IgRPhiRep *rep); 00045 virtual void update (IgRZRep *rep); 00046 00047 private: 00048 void invalidate (void); 00049 00050 const int m_wheel; 00051 const int m_sector; 00052 const int m_station; 00053 SoSeparator *m_3dDet; 00054 SoSeparator *m_rzDet; 00055 SoSeparator *m_rphiDet; 00056 bool m_3Ddone; 00057 bool m_rzdone; 00058 bool m_rphidone; 00059 VisAnnotateGeometry m_annotate; 00060 }; 00061 00062 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00063 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00064 00065 #endif // VIS_EVENT_SETUP_VIS_DTGEOMETRY_TWIG_H