Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:26

0001 #ifndef Fireworks_Core_FWFWEcalDetailViewBase_h
0002 #define Fireworks_Core_FWFWEcalDetailViewBase_h
0003 
0004 // #include "TEveViewer.h"
0005 #include "Fireworks/Core/interface/FWDetailViewGL.h"
0006 
0007 class TEveCaloData;
0008 class TEveCaloLego;
0009 class TLegend;
0010 class FWECALDetailViewBuilder;
0011 
0012 template <typename T>
0013 class FWECALDetailViewBase : public FWDetailViewGL<T> {
0014 public:
0015   FWECALDetailViewBase();            //: m_data(0), m_builder(0), m_legend(0) {}
0016   ~FWECALDetailViewBase() override;  // { delete m_data; }
0017 
0018 protected:
0019   TEveCaloData *m_data;
0020   FWECALDetailViewBuilder *m_builder;
0021   TLegend *m_legend;
0022 
0023 private:
0024   using FWDetailView<T>::build;
0025   void build(const FWModelId &id, const T *) override;
0026 
0027   using FWDetailViewGL<T>::setTextInfo;
0028   void setTextInfo(const FWModelId &id, const T *) override;
0029 };
0030 
0031 #include "Fireworks/Calo/interface/FWECALDetailViewBase.icc"
0032 
0033 #endif