CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 
14 class TGLEmbeddedViewer;
15 class TGTextButton;
16 
17 namespace reco {
18  class Conversion;
19 }
20 
21 class FWConvTrackHitsDetailView: public FWDetailViewGL<reco::Conversion>,
22  public CSGActionSupervisor
23 {
24 public:
27 
28  void pickCameraCenter();
29  void rnrLabels();
30  void rnrModules();
31  void rnrHits();
32 
33  void camera1Callback();
34  void camera2Callback();
35  void camera3Callback();
36  void switchProjection();
37 
38 
39 private:
41  const FWConvTrackHitsDetailView& operator=(const FWConvTrackHitsDetailView&); // stop default
42 
44  void build (const FWModelId &id, const reco::Conversion*);
46  void setTextInfo (const FWModelId &id, const reco::Conversion*);
47 
48 
49  void
50  addTrackerHits3D( std::vector<TVector3> &points,
51  class TEveElementList *tList,
52  Color_t color, int size );
53 
54  void
55  addHits( const reco::Track& track,
56  const FWEventItem* iItem,
57  TEveElement* trkList,
58  bool addNearbyHits );
59  void
60  addModules( const reco::Track& track,
61  const FWEventItem* iItem,
62  TEveElement* trkList,
63  bool addLostHits );
64 
65 
66  TEveElementList* m_modules;
67  TEveElementList* m_moduleLabels;
68  TEveElementList* m_hits;
69  TEveElement* m_calo3D;
70 
71  TLegend* m_legend;
74 };
75 
76 #endif
void addModules(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits)
void build(const FWModelId &id, const reco::Conversion *)
void addHits(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits)
void setTextInfo(const FWModelId &id, const reco::Conversion *)
void addTrackerHits3D(std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size)
tuple size
Write out results.
const FWConvTrackHitsDetailView & operator=(const FWConvTrackHitsDetailView &)