00001 #ifndef VIS_MUON_VIS_TRACK_TWIG_H 00002 # define VIS_MUON_VIS_TRACK_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include "VisFramework/VisFrameworkBase/interface/VisAnimate.h" 00008 # include "VisFramework/VisFrameworkBase/interface/VisCounterMax.h" 00009 # include "VisFramework/VisFrameworkBase/interface/VisCounterMin.h" 00010 # include "VisFramework/VisFrameworkBase/interface/VisCounterFrequency.h" 00011 # include "VisFramework/VisFrameworkBase/interface/VisBField.h" 00012 # include "VisFramework/VisFrameworkBase/interface/VisRMax.h" 00013 # include "VisFramework/VisFrameworkBase/interface/VisZMax.h" 00014 # include "VisFramework/VisFrameworkBase/interface/VisMuonT0.h" 00015 # include "VisFramework/VisFrameworkBase/interface/VisMuonDt.h" 00016 # include "VisFramework/VisFrameworkBase/interface/VisMuonAnnotation.h" 00017 # include "DataFormats/TrackReco/interface/Track.h" 00018 # include <vector> 00019 00020 //<<<<<< PUBLIC DEFINES >>>>>> 00021 //<<<<<< PUBLIC CONSTANTS >>>>>> 00022 //<<<<<< PUBLIC TYPES >>>>>> 00023 //<<<<<< PUBLIC VARIABLES >>>>>> 00024 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00025 //<<<<<< CLASS DECLARATIONS >>>>>> 00026 00027 class VisTrackTwig : public VisQueuedTwig 00028 { 00029 public: 00030 VisTrackTwig (IgState *state, IgTwig *parent, 00031 const std::string &name = "", 00032 const std::string &friendlyName = "", 00033 const std::string &moduleLabel = "", 00034 const std::string &instanceName = "", 00035 const std::string &processName = ""); 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 virtual void configChanged (void); 00048 00049 private: 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 VisAnimate m_animate; 00056 VisCounterMax m_counterMax; 00057 VisCounterMin m_counterMin; 00058 VisCounterFrequency m_frequency; 00059 VisBField m_BField; 00060 VisRMax m_RMax; 00061 VisZMax m_ZMax; 00062 VisMuonT0 m_t0; 00063 VisMuonDt m_dt; 00064 VisMuonAnnotation m_annot; 00065 00066 std::vector<reco::Track> m_tracks; 00067 }; 00068 00069 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00070 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00071 00072 #endif // VIS_MUON_VIS_TRACK_TWIG_H