test
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 class TEveCaloData;
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
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