CMS 3D CMS Logo

FWConvTrackHitsDetailView.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Tracks
4 // Class : FWConvTrackHitsDetailView
5 
6 #ifndef Fireworks_Electrons_FWConversionDetailView_h
7 #define Fireworks_Electrons_FWConversionDetailView_h
8 
9 #include "Rtypes.h"
10 
14 #include "TVector3.h"
15 
16 class TGLEmbeddedViewer;
17 class TGTextButton;
18 
19 namespace reco {
20  class Conversion;
21 }
22 
23 class FWConvTrackHitsDetailView: public FWDetailViewGL<reco::Conversion>,
24  public CSGActionSupervisor
25 {
26 public:
28  ~FWConvTrackHitsDetailView() override;
29 
30  void pickCameraCenter();
31  void rnrLabels();
32  void rnrModules();
33  void rnrHits();
34 
35  void camera1Callback();
36  void camera2Callback();
37  void camera3Callback();
38  void switchProjection();
39 
40 
41 private:
42  FWConvTrackHitsDetailView(const FWConvTrackHitsDetailView&) = delete; // stop default
43  const FWConvTrackHitsDetailView& operator=(const FWConvTrackHitsDetailView&) = delete; // stop default
44 
46  void build (const FWModelId &id, const reco::Conversion*) override;
48  void setTextInfo (const FWModelId &id, const reco::Conversion*) override;
49 
50 
51  void
52  addTrackerHits3D( std::vector<TVector3> &points,
53  class TEveElementList *tList,
54  Color_t color, int size );
55 
56  void
57  addHits( const reco::Track& track,
58  const FWEventItem* iItem,
59  TEveElement* trkList,
60  bool addNearbyHits );
61  void
62  addModules( const reco::Track& track,
63  const FWEventItem* iItem,
64  TEveElement* trkList,
65  bool addLostHits );
66 
67 
68  TEveElementList* m_modules;
69  TEveElementList* m_moduleLabels;
70  TEveElementList* m_hits;
71  TEveElement* m_calo3D;
72 
73  TLegend* m_legend;
76 };
77 
78 #endif
size
Write out results.
fixed size matrix