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 private:
39  FWConvTrackHitsDetailView(const FWConvTrackHitsDetailView&) = delete; // stop default
40  const FWConvTrackHitsDetailView& operator=(const FWConvTrackHitsDetailView&) = delete; // stop default
41 
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
FWConvTrackHitsDetailView
Definition: FWConvTrackHitsDetailView.h:23
HLT_2018_cff.points
points
Definition: HLT_2018_cff.py:20125
reco::Conversion
Definition: Conversion.h:23
FWConvTrackHitsDetailView::FWConvTrackHitsDetailView
FWConvTrackHitsDetailView()
Definition: FWConvTrackHitsDetailView.cc:47
FWConvTrackHitsDetailView::rnrLabels
void rnrLabels()
Definition: FWConvTrackHitsDetailView.cc:589
FWConvTrackHitsDetailView::addModules
void addModules(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits)
Definition: FWConvTrackHitsDetailView.cc:479
CSGActionSupervisor
Definition: CSGActionSupervisor.h:27
FWConvTrackHitsDetailView::pickCameraCenter
void pickCameraCenter()
Definition: FWConvTrackHitsDetailView.cc:576
FWConvTrackHitsDetailView::m_modules
TEveElementList * m_modules
Definition: FWConvTrackHitsDetailView.h:52
FWConvTrackHitsDetailView::operator=
const FWConvTrackHitsDetailView & operator=(const FWConvTrackHitsDetailView &)=delete
FWModelId
Definition: FWModelId.h:28
FWConvTrackHitsDetailView::camera1Callback
void camera1Callback()
Definition: FWConvTrackHitsDetailView.cc:604
CSGAction
Definition: CSGAction.h:38
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
FWConvTrackHitsDetailView::rnrHits
void rnrHits()
Definition: FWConvTrackHitsDetailView.cc:599
FWConvTrackHitsDetailView::rnrModules
void rnrModules()
Definition: FWConvTrackHitsDetailView.cc:594
FWConvTrackHitsDetailView::setTextInfo
void setTextInfo(const FWModelId &id, const reco::Conversion *) override
Definition: FWConvTrackHitsDetailView.cc:319
FWConvTrackHitsDetailView::camera3Callback
void camera3Callback()
Definition: FWConvTrackHitsDetailView.cc:620
TrackFwd.h
FWConvTrackHitsDetailView::~FWConvTrackHitsDetailView
~FWConvTrackHitsDetailView() override
Definition: FWConvTrackHitsDetailView.cc:50
FWConvTrackHitsDetailView::m_legend
TLegend * m_legend
Definition: FWConvTrackHitsDetailView.h:57
FWConvTrackHitsDetailView::build
void build(const FWModelId &id, const reco::Conversion *) override
Definition: FWConvTrackHitsDetailView.cc:83
reco::Track
Definition: Track.h:27
CSGActionSupervisor.h
FWConvTrackHitsDetailView::m_hits
TEveElementList * m_hits
Definition: FWConvTrackHitsDetailView.h:54
FWConvTrackHitsDetailView::m_camTypeAction
CSGAction * m_camTypeAction
Definition: FWConvTrackHitsDetailView.h:59
FWConvTrackHitsDetailView::camera2Callback
void camera2Callback()
Definition: FWConvTrackHitsDetailView.cc:612
FWConvTrackHitsDetailView::addHits
void addHits(const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits)
Definition: FWConvTrackHitsDetailView.cc:450
FWConvTrackHitsDetailView::m_calo3D
TEveElement * m_calo3D
Definition: FWConvTrackHitsDetailView.h:55
FWEventItem
Definition: FWEventItem.h:56
FWConvTrackHitsDetailView::m_orthographic
bool m_orthographic
Definition: FWConvTrackHitsDetailView.h:58
FWConvTrackHitsDetailView::m_moduleLabels
TEveElementList * m_moduleLabels
Definition: FWConvTrackHitsDetailView.h:53
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
FWDetailViewGL.h
FWConvTrackHitsDetailView::switchProjection
void switchProjection()
Definition: FWConvTrackHitsDetailView.cc:581
FWConvTrackHitsDetailView::addTrackerHits3D
void addTrackerHits3D(std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size)
Definition: FWConvTrackHitsDetailView.cc:430
FWDetailViewGL
Definition: FWDetailViewGL.h:14
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443