test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 };
TEveElementList * m_modules
const FWTrackHitsDetailView & operator=(const FWTrackHitsDetailView &)
void addHits(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits)
void addTrackerHits3D(std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size)
void setTextInfo(const FWModelId &id, const reco::Track *)
TEveElementList * m_moduleLabels
virtual void setBackgroundColor(Color_t)
void addModules(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits)
void build(const FWModelId &id, const reco::Track *)
FWIntValueListener * m_sliderListener
tuple size
Write out results.