CMS 3D CMS Logo

FWHGTowerProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWHGTowerProxyBuilder_h
2 #define Fireworks_Calo_FWHGTowerProxyBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWHGTowerProxyBuilder
7 //
16 //
17 // Original Author:
18 // Created: Mon May 31 16:41:23 CEST 2010
19 //
20 
21 // system include files
22 
23 // user include files
26 // #include "DataFormats/HGCRecHit/interface/HGRecHit.h"
28 
29 class TEveCaloDataVec;
30 //
31 // base
32 //
34 public:
36  ~FWHGTowerProxyBuilderBase() override;
37 
38  // ---------- const member functions ---------------------
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
44 
45 protected:
46  void setCaloData(const fireworks::Context&) override;
47  void fillCaloData() override;
48  bool assertCaloDataSlice() override;
49 
50  void itemBeingDestroyed(const FWEventItem*) override;
51 
52 public:
53  FWHGTowerProxyBuilderBase(const FWHGTowerProxyBuilderBase&) = delete; // stop default
54 
55  const FWHGTowerProxyBuilderBase& operator=(const FWHGTowerProxyBuilderBase&) = delete; // stop default
56 private:
57  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
58 
59  int fillTowerForDetId(unsigned int rawid, float);
60  // ---------- member data --------------------------------
61 
63  // int m_depth;
64  TEveCaloDataVec* m_vecData;
65 };
66 
67 #endif
#define REGISTER_PROXYBUILDER_METHODS()
void setCaloData(const fireworks::Context &) override
int fillTowerForDetId(unsigned int rawid, float)
void itemBeingDestroyed(const FWEventItem *) override
const HGCRecHitCollection * m_hits
const FWHGTowerProxyBuilderBase & operator=(const FWHGTowerProxyBuilderBase &)=delete