CMS 3D CMS Logo

FWElectronDetailView.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef Fireworks_Electrons_FWElectronDetailView_h
3 #define Fireworks_Electrons_FWElectronDetailView_h
4 
5 //
6 // Package: Electrons
7 // Class : FWElectronDetailView
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author:
13 // Created: Sun Jan 6 23:57:00 EST 2008
14 //
15 
16 // user include files
19 
20 class TEveCaloDataVec;
21 class TEveCaloLego;
22 class TLegend;
24 class TEveCaloData;
25 class TGSlider;
26 
27 namespace reco {
28  class GsfElectron;
29 }
30 
31 class FWElectronDetailView : public FWDetailViewGL<reco::GsfElectron> {
32 public:
34  ~FWElectronDetailView() override;
35 
36 private:
37  FWElectronDetailView(const FWElectronDetailView &) = delete; // stop default
38  const FWElectronDetailView &operator=(const FWElectronDetailView &) = delete; // stop default
39 
41  void build(const FWModelId &id, const reco::GsfElectron *) override;
42 
44  void setTextInfo(const FWModelId &id, const reco::GsfElectron *) override;
45 
46  double deltaEtaSuperClusterTrackAtVtx(const reco::GsfElectron &);
47  double deltaPhiSuperClusterTrackAtVtx(const reco::GsfElectron &);
48  void addTrackPointsInCaloData(const reco::GsfElectron *, TEveCaloLego *);
49 
50  void addSceneInfo(const reco::GsfElectron *i, TEveElementList *tList);
51  void drawCrossHair(const reco::GsfElectron *, TEveCaloLego *, TEveElementList *);
52 
53  Bool_t checkRange(Double_t &, Double_t &, Double_t &, Double_t &, Double_t, Double_t);
54 
55  TEveCaloData *m_data;
57  TLegend *m_legend;
58 };
59 
60 #endif
FWECALDetailViewBuilder * m_builder
fixed size matrix