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>, public CSGActionSupervisor {
24 public:
26  ~FWConvTrackHitsDetailView() override;
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  FWConvTrackHitsDetailView(const FWConvTrackHitsDetailView&) = delete; // stop default
39  const FWConvTrackHitsDetailView& operator=(const FWConvTrackHitsDetailView&) = delete; // stop default
40 
41 private:
43  void build(const FWModelId& id, const reco::Conversion*) override;
45  void setTextInfo(const FWModelId& id, const reco::Conversion*) override;
46 
47  void addTrackerHits3D(std::vector<TVector3>& points, class TEveElementList* tList, Color_t color, int size);
48 
49  void addHits(const reco::Track& track, const FWEventItem* iItem, TEveElement* trkList, bool addNearbyHits);
50  void addModules(const reco::Track& track, const FWEventItem* iItem, TEveElement* trkList, bool addLostHits);
51 
52  TEveElementList* m_modules;
53  TEveElementList* m_moduleLabels;
54  TEveElementList* m_hits;
55  TEveElement* m_calo3D;
56 
57  TLegend* m_legend;
60 };
61 
62 #endif
size
Write out results.
void addModules(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits)
const FWConvTrackHitsDetailView & operator=(const FWConvTrackHitsDetailView &)=delete
void build(const FWModelId &id, const reco::Conversion *) override
void setTextInfo(const FWModelId &id, const reco::Conversion *) override
void addHits(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits)
fixed size matrix
void addTrackerHits3D(std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size)