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 #include "TVector3.h"
10 
11 class TGLEmbeddedViewer;
12 class FWIntValueListener;
13 class TGSlider;
14 namespace reco {
15  class Track;
16 }
17 
18 class FWTrackHitsDetailView: public FWDetailViewGL<reco::Track>,
19  public CSGActionSupervisor
20 {
21 public:
23  ~FWTrackHitsDetailView() override;
24 
25  void pickCameraCenter();
26  void transparencyChanged(int);
27  void rnrLabels();
28 
29  void setBackgroundColor(Color_t) override;
30 
31 protected:
32  TEveElementList* m_modules;
33  TEveElementList* m_moduleLabels;
34  TEveElementList* m_hits;
35  TGSlider* m_slider;
37 
38 private:
39  FWTrackHitsDetailView(const FWTrackHitsDetailView&) = delete; // stop default
40  const FWTrackHitsDetailView& operator=(const FWTrackHitsDetailView&) = delete; // stop default
41 
43  void build (const FWModelId &id, const reco::Track*) override;
45  void setTextInfo (const FWModelId &id, const reco::Track*) override;
46  void makeLegend( void );
47 
48  void
49  addTrackerHits3D( std::vector<TVector3> &points,
50  class TEveElementList *tList,
51  Color_t color, int size );
52 
53  void
54  addHits( const reco::Track& track,
55  const FWEventItem* iItem,
56  TEveElement* trkList,
57  bool addNearbyHits );
58  void
59  addModules( const reco::Track& track,
60  const FWEventItem* iItem,
61  TEveElement* trkList,
62  bool addLostHits );
63 
64  TLegend *m_legend;
65 };
size
Write out results.
TEveElementList * m_modules
TEveElementList * m_moduleLabels
fixed size matrix
FWIntValueListener * m_sliderListener