CMS 3D CMS Logo

FWTrackHitsDetailView.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Tracks
4 // Class : FWTrackHitsDetailView
5 
6 #include "Rtypes.h"
7 
10 
11 class TGLEmbeddedViewer;
12 class FWIntValueListener;
13 namespace reco {
14  class Track;
15 }
16 
17 class FWTrackHitsDetailView: public FWDetailViewGL<reco::Track>,
18  public CSGActionSupervisor
19 {
20 public:
22  virtual ~FWTrackHitsDetailView();
23 
24  void pickCameraCenter();
25  void transparencyChanged(int);
26  void rnrLabels();
27 
28  virtual void setBackgroundColor(Color_t);
29 
30 protected:
31  TEveElementList* m_modules;
32  TEveElementList* m_moduleLabels;
33  TEveElementList* m_hits;
34  TGSlider* m_slider;
36 
37 private:
38  FWTrackHitsDetailView(const FWTrackHitsDetailView&); // stop default
39  const FWTrackHitsDetailView& operator=(const FWTrackHitsDetailView&); // stop default
40 
42  void build (const FWModelId &id, const reco::Track*);
44  void setTextInfo (const FWModelId &id, const reco::Track*);
45  void makeLegend( void );
46 
47  void
48  addTrackerHits3D( std::vector<TVector3> &points,
49  class TEveElementList *tList,
50  Color_t color, int size );
51 
52  void
53  addHits( const reco::Track& track,
54  const FWEventItem* iItem,
55  TEveElement* trkList,
56  bool addNearbyHits );
57  void
58  addModules( const reco::Track& track,
59  const FWEventItem* iItem,
60  TEveElement* trkList,
61  bool addLostHits );
62 
63  TLegend *m_legend;
64 };
size
Write out results.
TEveElementList * m_modules
TEveElementList * m_moduleLabels
fixed size matrix
FWIntValueListener * m_sliderListener