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 {
36 public:
38  ~FWCaloDataProxyBuilderBase() override;
39 
40  // ---------- const member functions ---------------------
41 
42  bool willHandleInteraction() const override { return true; }
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47 
48 protected:
49  void build(const FWEventItem* iItem,
50  TEveElementList* product, const FWViewContext*) override;
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  void itemBeingDestroyed(const FWEventItem*) override;
60 
61 private:
62  FWCaloDataProxyBuilderBase(const FWCaloDataProxyBuilderBase&) = delete; // stop default
63 
64  const FWCaloDataProxyBuilderBase& operator=(const FWCaloDataProxyBuilderBase&) = delete; // stop default
65 
66  // ---------- member data --------------------------------
67 
68 
69  void modelChanges(const FWModelIds&, Product*) override;
70 
72 };
73 
74 
75 #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