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