00001 #ifndef VIS_TRACKER_RECO_VIS_TK_REC_TRACKDETS_TWIG_H 00002 # define VIS_TRACKER_RECO_VIS_TK_REC_TRACKDETS_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include "FWCore/Framework/interface/ESHandle.h" 00008 # include "Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h" 00009 00010 # include <vector> 00011 00012 //<<<<<< PUBLIC DEFINES >>>>>> 00013 //<<<<<< PUBLIC CONSTANTS >>>>>> 00014 //<<<<<< PUBLIC TYPES >>>>>> 00015 00016 namespace reco 00017 { 00018 class Track; 00019 } 00020 namespace edm 00021 { 00022 class ParameterSet; 00023 } 00024 00025 //<<<<<< PUBLIC VARIABLES >>>>>> 00026 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00027 //<<<<<< CLASS DECLARATIONS 00028 00029 00030 class VisTkRecTrackDetsTwig : public VisQueuedTwig 00031 { 00032 public: 00033 00034 VisTkRecTrackDetsTwig (IgState *state, IgTwig *parent, 00035 const std::string &name = "", 00036 const std::string &friendlyName = "", 00037 const std::string &moduleLabel = "", 00038 const std::string &instanceName = "", 00039 const std::string &processName = ""); 00040 00041 // implicit copy constructor 00042 // implicit assignment operator 00043 // implicit destructor 00044 virtual ~VisTkRecTrackDetsTwig (void); 00045 00046 virtual void onNewEvent (const edm::Event &event, 00047 const edm::EventSetup &eventSetup); 00048 00049 using VisQueuedTwig::update; 00050 virtual void update (Ig3DRep *rep); 00051 virtual void update (IgLegoRep *rep); 00052 virtual void update (IgTextRep *rep); 00053 virtual void update (IgRPhiRep *rep); 00054 virtual void update (IgRZRep *rep); 00055 00056 private: 00057 00058 std::string m_text; 00059 const std::string m_friendlyName; 00060 const std::string m_moduleLabel; 00061 const std::string m_instanceName; 00062 const std::string m_processName; 00063 00064 std::vector<std::string> m_trackCollectionNames; 00065 const edm::ParameterSet *m_pset; 00066 std::vector<const GeomDetUnit*> m_geomDetUnits; 00067 edm::ESHandle<GlobalTrackingGeometry> m_trackerGeometry; 00068 }; 00069 00070 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00071 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00072 00073 #endif // VIS_TRACKER_RECO_VIS_TK_REC_TRACKS_TWIG_H