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 // $Id: FWCaloDataProxyBuilderBase.h,v 1.4 2010/10/22 15:34:16 amraktad Exp $
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
26 
27 #include "Rtypes.h"
31 
32 // forward declarations
33 
35 {
36 public:
39 
40  // ---------- const member functions ---------------------
41 
42  virtual bool willHandleInteraction() const { return true; }
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47 
48 protected:
49  virtual void build(const FWEventItem* iItem,
50  TEveElementList* product, const FWViewContext*);
51 
52  virtual void setCaloData(const fireworks::Context&) = 0;
53  virtual void fillCaloData() = 0;
54  virtual bool assertCaloDataSlice() = 0;
55 
56  // ---------- member data --------------------------------
57  TEveCaloData* m_caloData;
58  Int_t m_sliceIndex;
59  virtual void itemBeingDestroyed(const FWEventItem*);
60 
61 private:
63 
65 
66  // ---------- member data --------------------------------
67 
68 
69  virtual void modelChanges(const FWModelIds&, Product*);
70 
72 };
73 
74 
75 #endif
std::set< FWModelId > FWModelIds
virtual bool willHandleInteraction() const
const FWCaloDataProxyBuilderBase & operator=(const FWCaloDataProxyBuilderBase &)
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