00001 #ifndef VIS_MUON_DT_VIS_DTRECHITS_TWIG_H 00002 # define VIS_MUON_DT_VIS_DTRECHITS_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Framework/interface/IgTwig.h" 00007 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00008 # include "FWCore/Framework/interface/ESHandle.h" 00009 # include "Geometry/DTGeometry/interface/DTGeometry.h" 00010 00011 # include <vector> 00012 00013 //<<<<<< PUBLIC DEFINES >>>>>> 00014 //<<<<<< PUBLIC CONSTANTS >>>>>> 00015 //<<<<<< PUBLIC TYPES >>>>>> 00016 00017 class DTRecHit1DPair; 00018 class DTLayerId; 00019 class DTWireId; 00020 class SoSeparator; 00021 00022 //<<<<<< PUBLIC VARIABLES >>>>>> 00023 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00024 //<<<<<< CLASS DECLARATIONS >>>>>> 00025 00026 class VisDTRecHitsTwig : public VisQueuedTwig 00027 { 00028 public: 00029 VisDTRecHitsTwig (IgState *state, IgTwig *parent, 00030 const std::string &name = "", 00031 const std::string &friendlyName = "", 00032 const std::string &moduleLabel = "", 00033 const std::string &instanceName = "", 00034 const std::string &processName = ""); 00035 00036 // implicit copy constructor 00037 // implicit assignment operator 00038 // implicit destructor 00039 virtual void onNewEvent (const edm::Event &event, 00040 const edm::EventSetup &eventSetup); 00041 using VisQueuedTwig::update; 00042 virtual void update (Ig3DRep *rep); 00043 virtual void update (IgLegoRep *rep); 00044 virtual void update (IgTextRep *rep); 00045 virtual void update (IgRPhiRep *rep); 00046 virtual void update (IgRZRep *rep); 00047 00048 private: 00049 void addWire (SoSeparator *separator, const DTRecHit1DPair &rechit); 00050 std::string m_text; 00051 const std::string m_friendlyName; 00052 const std::string m_moduleLabel; 00053 const std::string m_instanceName; 00054 const std::string m_processName; 00055 std::vector< DTRecHit1DPair > m_rechit; 00056 edm::ESHandle<DTGeometry> m_pDD; 00057 }; 00058 00059 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00060 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00061 00062 #endif // VIS_MUON_DT_VIS_DTRECHITS_TWIG_H 00063