CMS 3D CMS Logo

FWHFTowerProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWHFTowerProxyBuilder_h
2 #define Fireworks_Calo_FWHFTowerProxyBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWHFTowerProxyBuilder
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
28 
29 class TEveCaloDataVec;
30 //
31 // base
32 //
34 public:
36  ~FWHFTowerProxyBuilderBase() 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 private:
53  FWHFTowerProxyBuilderBase(const FWHFTowerProxyBuilderBase&) = delete; // stop default
54 
55  const FWHFTowerProxyBuilderBase& operator=(const FWHFTowerProxyBuilderBase&) = delete; // stop default
56 
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 /*
68 //
69 // ShortFiber
70 //
71 
72 class FWHFShortTowerProxyBuilder : public FWHFTowerProxyBuilderBase
73 {
74 public:
75  FWHFShortTowerProxyBuilder() : FWHFTowerProxyBuilderBase(1) {
76  }
77  virtual ~FWHFShortTowerProxyBuilder() {
78  }
79 
80  // ---------- const member functions ---------------------
81  virtual const std::string sliceName() const {
82  return "HFShort";
83  };
84 
85  REGISTER_PROXYBUILDER_METHODS();
86 
87 private:
88  FWHFShortTowerProxyBuilder(const FWHFShortTowerProxyBuilder&); // stop default
89  const FWHFShortTowerProxyBuilder& operator=(const FWHFShortTowerProxyBuilder&); // stop default
90 };
91 
92 
93 //
94 // LongFiber
95 //
96 
97 class FWHFLongTowerProxyBuilder : public FWHFTowerProxyBuilderBase
98 {
99 public:
100  FWHFLongTowerProxyBuilder() : FWHFTowerProxyBuilderBase(2) {
101  }
102  virtual ~FWHFLongTowerProxyBuilder(){
103  }
104 
105  // ---------- const member functions ---------------------
106  virtual const std::string sliceName() const {
107  return "HFLong";
108  }
109 
110 
111  REGISTER_PROXYBUILDER_METHODS();
112 private:
113  FWHFLongTowerProxyBuilder(const FWHFLongTowerProxyBuilder&); // stop default
114 
115  const FWHFLongTowerProxyBuilder& operator=(const FWHFLongTowerProxyBuilder&); // stop default
116 };
117 */
118 
119 #endif
void setCaloData(const fireworks::Context &) override
const FWHFTowerProxyBuilderBase & operator=(const FWHFTowerProxyBuilderBase &)=delete
void itemBeingDestroyed(const FWEventItem *) override
#define REGISTER_PROXYBUILDER_METHODS()
const HFRecHitCollection * m_hits
int fillTowerForDetId(unsigned int rawid, float)