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 private:
60  FWCaloDataProxyBuilderBase(const FWCaloDataProxyBuilderBase&) = delete; // stop default
61 
62  const FWCaloDataProxyBuilderBase& operator=(const FWCaloDataProxyBuilderBase&) = delete; // stop default
63 
64  // ---------- member data --------------------------------
65 
66  void modelChanges(const FWModelIds&, Product*) override;
67 
69 };
70 
71 #endif
fireworks::Context
Definition: Context.h:41
CaloTower.h
FWProxyBuilderBase.h
FWCaloDataProxyBuilderBase::itemBeingDestroyed
void itemBeingDestroyed(const FWEventItem *) override
Definition: FWCaloDataProxyBuilderBase.cc:106
FWCaloDataProxyBuilderBase
Definition: FWCaloDataProxyBuilderBase.h:34
FWCaloDataProxyBuilderBase::m_sliceIndex
Int_t m_sliceIndex
Definition: FWCaloDataProxyBuilderBase.h:56
FWCaloDataProxyBuilderBase::setCaloData
virtual void setCaloData(const fireworks::Context &)=0
FWCaloDataProxyBuilderBase::assertCaloDataSlice
virtual bool assertCaloDataSlice()=0
CaloTowerDefs.h
FWCaloDataProxyBuilderBase::clearCaloDataSelection
void clearCaloDataSelection()
Definition: FWCaloDataProxyBuilderBase.cc:116
FWCaloDataProxyBuilderBase::~FWCaloDataProxyBuilderBase
~FWCaloDataProxyBuilderBase() override
Definition: FWCaloDataProxyBuilderBase.cc:50
FWCaloDataProxyBuilderBase::FWCaloDataProxyBuilderBase
FWCaloDataProxyBuilderBase()
Definition: FWCaloDataProxyBuilderBase.cc:43
FWCaloDataProxyBuilderBase::fillCaloData
virtual void fillCaloData()=0
FWCaloDataProxyBuilderBase::m_caloData
TEveCaloData * m_caloData
Definition: FWCaloDataProxyBuilderBase.h:55
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWEventItem
Definition: FWEventItem.h:56
FWProxyBuilderBase
Definition: FWProxyBuilderBase.h:46
FWCaloDataProxyBuilderBase::operator=
const FWCaloDataProxyBuilderBase & operator=(const FWCaloDataProxyBuilderBase &)=delete
FWProxyBuilderBase::Product
Definition: FWProxyBuilderBase.h:48
FWCaloDataProxyBuilderBase::willHandleInteraction
bool willHandleInteraction() const override
Definition: FWCaloDataProxyBuilderBase.h:41
FWModelIds
std::set< FWModelId > FWModelIds
Definition: FWEveViewManager.h:40
FWCaloDataProxyBuilderBase::modelChanges
void modelChanges(const FWModelIds &, Product *) override
Definition: FWCaloDataProxyBuilderBase.cc:82