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>, public CSGActionSupervisor {
19 public:
21  ~FWTrackHitsDetailView() override;
22 
23  void pickCameraCenter();
24  void transparencyChanged(int);
25  void rnrLabels();
26 
27  void setBackgroundColor(Color_t) override;
28 
29 protected:
30  TEveElementList* m_modules;
31  TEveElementList* m_moduleLabels;
32  TEveElementList* m_hits;
33  TGSlider* m_slider;
35 
36 private:
37  FWTrackHitsDetailView(const FWTrackHitsDetailView&) = delete; // stop default
38  const FWTrackHitsDetailView& operator=(const FWTrackHitsDetailView&) = delete; // stop default
39 
41  void build(const FWModelId& id, const reco::Track*) override;
43  void setTextInfo(const FWModelId& id, const reco::Track*) override;
44  void makeLegend(void);
45 
46  void addTrackerHits3D(std::vector<TVector3>& points, class TEveElementList* tList, Color_t color, int size);
47 
48  void addHits(const reco::Track& track, const FWEventItem* iItem, TEveElement* trkList, bool addNearbyHits);
49  void addModules(const reco::Track& track, const FWEventItem* iItem, TEveElement* trkList, bool addLostHits);
50 
51  TLegend* m_legend;
52 };
FWTrackHitsDetailView::setBackgroundColor
void setBackgroundColor(Color_t) override
Definition: FWTrackHitsDetailView.cc:146
FWTrackHitsDetailView::m_modules
TEveElementList * m_modules
Definition: FWTrackHitsDetailView.h:30
FWTrackHitsDetailView::m_hits
TEveElementList * m_hits
Definition: FWTrackHitsDetailView.h:32
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
FWTrackHitsDetailView::m_legend
TLegend * m_legend
Definition: FWTrackHitsDetailView.h:51
CSGActionSupervisor
Definition: CSGActionSupervisor.h:27
HLT_FULL_cff.points
points
Definition: HLT_FULL_cff.py:21453
FWModelId
Definition: FWModelId.h:28
FWTrackHitsDetailView::addHits
void addHits(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits)
Definition: FWTrackHitsDetailView.cc:305
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
FWTrackHitsDetailView::pickCameraCenter
void pickCameraCenter()
Definition: FWTrackHitsDetailView.cc:159
FWDetailView
Definition: FWDetailView.h:13
FWTrackHitsDetailView::m_sliderListener
FWIntValueListener * m_sliderListener
Definition: FWTrackHitsDetailView.h:34
FWTrackHitsDetailView::FWTrackHitsDetailView
FWTrackHitsDetailView()
Definition: FWTrackHitsDetailView.cc:40
FWTrackHitsDetailView
Definition: FWTrackHitsDetailView.h:18
reco::Track
Definition: Track.h:27
CSGActionSupervisor.h
FWTrackHitsDetailView::makeLegend
void makeLegend(void)
Definition: FWTrackHitsDetailView.cc:245
FWTrackHitsDetailView::m_slider
TGSlider * m_slider
Definition: FWTrackHitsDetailView.h:33
FWTrackHitsDetailView::addModules
void addModules(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits)
Definition: FWTrackHitsDetailView.cc:334
FWTrackHitsDetailView::build
void build(const FWModelId &id, const reco::Track *) override
Definition: FWTrackHitsDetailView.cc:50
FWEventItem
Definition: FWEventItem.h:56
FWTrackHitsDetailView::m_moduleLabels
TEveElementList * m_moduleLabels
Definition: FWTrackHitsDetailView.h:31
FWTrackHitsDetailView::transparencyChanged
void transparencyChanged(int)
Definition: FWTrackHitsDetailView.cc:161
FWTrackHitsDetailView::~FWTrackHitsDetailView
~FWTrackHitsDetailView() override
Definition: FWTrackHitsDetailView.cc:48
FWTrackHitsDetailView::operator=
const FWTrackHitsDetailView & operator=(const FWTrackHitsDetailView &)=delete
FWDetailViewGL.h
FWTrackHitsDetailView::rnrLabels
void rnrLabels()
Definition: FWTrackHitsDetailView.cc:416
FWTrackHitsDetailView::setTextInfo
void setTextInfo(const FWModelId &id, const reco::Track *) override
Definition: FWTrackHitsDetailView.cc:168
FWDetailViewGL
Definition: FWDetailViewGL.h:14
FWIntValueListener
Definition: FWIntValueListener.h:7
FWTrackHitsDetailView::addTrackerHits3D
void addTrackerHits3D(std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size)
Definition: FWTrackHitsDetailView.cc:285
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443