CMS 3D CMS Logo

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 public:
37  ~FWCaloDataProxyBuilderBase() override;
38 
39  // ---------- const member functions ---------------------
40 
41  bool willHandleInteraction() const override { return true; }
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47 protected:
48  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
49 
50  virtual void setCaloData(const fireworks::Context&) = 0;
51  virtual void fillCaloData() = 0;
52  virtual bool assertCaloDataSlice() = 0;
53 
54  // ---------- member data --------------------------------
55  TEveCaloData* m_caloData;
56  Int_t m_sliceIndex;
57  void itemBeingDestroyed(const FWEventItem*) override;
58 
59 public:
60  FWCaloDataProxyBuilderBase(const FWCaloDataProxyBuilderBase&) = delete; // stop default
61 
62  const FWCaloDataProxyBuilderBase& operator=(const FWCaloDataProxyBuilderBase&) = delete; // stop default
63 
64 private:
65  // ---------- member data --------------------------------
66 
67  void modelChanges(const FWModelIds&, Product*) override;
68 
70 };
71 
72 #endif
std::set< FWModelId > FWModelIds
void itemBeingDestroyed(const FWEventItem *) override
virtual bool assertCaloDataSlice()=0
const FWCaloDataProxyBuilderBase & operator=(const FWCaloDataProxyBuilderBase &)=delete
bool willHandleInteraction() const override
virtual void setCaloData(const fireworks::Context &)=0
void modelChanges(const FWModelIds &, Product *) override
virtual void fillCaloData()=0