Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #include "Rtypes.h"
00007
00008 #include "Fireworks/Core/interface/FWDetailViewGL.h"
00009 #include "Fireworks/Core/interface/CSGActionSupervisor.h"
00010
00011 class TGLEmbeddedViewer;
00012 class FWIntValueListener;
00013 namespace reco {
00014 class Track;
00015 }
00016
00017 class FWTrackHitsDetailView: public FWDetailViewGL<reco::Track>,
00018 public CSGActionSupervisor
00019 {
00020 public:
00021 FWTrackHitsDetailView();
00022 virtual ~FWTrackHitsDetailView();
00023
00024 void pickCameraCenter();
00025 void transparencyChanged(int);
00026 void rnrLabels();
00027
00028 virtual void setBackgroundColor(Color_t);
00029
00030 protected:
00031 TEveElementList* m_modules;
00032 TEveElementList* m_moduleLabels;
00033 TEveElementList* m_hits;
00034 TGSlider* m_slider;
00035 FWIntValueListener* m_sliderListener;
00036
00037 private:
00038 FWTrackHitsDetailView(const FWTrackHitsDetailView&);
00039 const FWTrackHitsDetailView& operator=(const FWTrackHitsDetailView&);
00040
00041 void build (const FWModelId &id, const reco::Track*);
00042 void setTextInfo (const FWModelId &id, const reco::Track*);
00043 void makeLegend( void );
00044
00045 void
00046 addTrackerHits3D( std::vector<TVector3> &points,
00047 class TEveElementList *tList,
00048 Color_t color, int size );
00049
00050 void
00051 addHits( const reco::Track& track,
00052 const FWEventItem* iItem,
00053 TEveElement* trkList,
00054 bool addNearbyHits );
00055 void
00056 addModules( const reco::Track& track,
00057 const FWEventItem* iItem,
00058 TEveElement* trkList,
00059 bool addLostHits );
00060
00061 TLegend *m_legend;
00062 };