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 
25 namespace reco {
26  class GsfElectron;
27 }
28 
29 
30 class FWElectronDetailView : public FWDetailViewGL<reco::GsfElectron>
31 {
32 public:
34  virtual ~FWElectronDetailView();
35 
36 private:
37  FWElectronDetailView(const FWElectronDetailView&); // stop default
38  const FWElectronDetailView& operator=(const FWElectronDetailView&); // stop default
39 
41  virtual void build (const FWModelId &id, const reco::GsfElectron*);
42 
44  virtual void setTextInfo(const FWModelId &id, const reco::GsfElectron*);
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