CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWCaloDataProxyBuilderBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWCaloDataProxyBuilderBase_h
2 #define Fireworks_Calo_FWCaloDataProxyBuilderBase_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWCaloDataProxyBuilderBase
7 //
16 //
17 // Original Author:
18 // Created: Mon May 31 15:09:19 CEST 2010
19 //
20 
21 // system include files
22 #include <string>
23 
24 // user include files
25 
26 #include "Rtypes.h"
30 
31 // forward declarations
32 
34 {
35 public:
38 
39  // ---------- const member functions ---------------------
40 
41  virtual bool willHandleInteraction() const { return true; }
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47 protected:
48  virtual void build(const FWEventItem* iItem,
49  TEveElementList* product, const FWViewContext*);
50 
51  virtual void setCaloData(const fireworks::Context&) = 0;
52  virtual void fillCaloData() = 0;
53  virtual bool assertCaloDataSlice() = 0;
54 
55  // ---------- member data --------------------------------
56  TEveCaloData* m_caloData;
57  Int_t m_sliceIndex;
58  virtual void itemBeingDestroyed(const FWEventItem*);
59 
60 private:
62 
64 
65  // ---------- member data --------------------------------
66 
67 
68  virtual void modelChanges(const FWModelIds&, Product*);
69 
71 };
72 
73 
74 #endif
virtual bool willHandleInteraction() const
const FWCaloDataProxyBuilderBase & operator=(const FWCaloDataProxyBuilderBase &)
std::set< FWModelId > FWModelIds
virtual bool assertCaloDataSlice()=0
virtual void setCaloData(const fireworks::Context &)=0
virtual void modelChanges(const FWModelIds &, Product *)
virtual void itemBeingDestroyed(const FWEventItem *)
virtual void fillCaloData()=0