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 {
35 public:
37  ~FWHFTowerProxyBuilderBase() override;
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
45 
46 protected:
47  void setCaloData(const fireworks::Context&) override;
48  void fillCaloData() override;
49  bool assertCaloDataSlice() override;
50 
51  void itemBeingDestroyed(const FWEventItem*) override;
52 
53 private:
54 
55  FWHFTowerProxyBuilderBase(const FWHFTowerProxyBuilderBase&) = delete; // stop default
56 
57  const FWHFTowerProxyBuilderBase& operator=(const FWHFTowerProxyBuilderBase&) = delete; // stop default
58 
59  void build(const FWEventItem* iItem,
60  TEveElementList* product, const FWViewContext*) override;
61 
62  int fillTowerForDetId(unsigned int rawid, float);
63  // ---------- member data --------------------------------
64 
66  // int m_depth;
67  TEveCaloDataVec* m_vecData;
68 };
69 
70 /*
71 //
72 // ShortFiber
73 //
74 
75 class FWHFShortTowerProxyBuilder : public FWHFTowerProxyBuilderBase
76 {
77 public:
78  FWHFShortTowerProxyBuilder() : FWHFTowerProxyBuilderBase(1) {
79  }
80  virtual ~FWHFShortTowerProxyBuilder() {
81  }
82 
83  // ---------- const member functions ---------------------
84  virtual const std::string sliceName() const {
85  return "HFShort";
86  };
87 
88  REGISTER_PROXYBUILDER_METHODS();
89 
90 private:
91  FWHFShortTowerProxyBuilder(const FWHFShortTowerProxyBuilder&); // stop default
92  const FWHFShortTowerProxyBuilder& operator=(const FWHFShortTowerProxyBuilder&); // stop default
93 };
94 
95 
96 //
97 // LongFiber
98 //
99 
100 class FWHFLongTowerProxyBuilder : public FWHFTowerProxyBuilderBase
101 {
102 public:
103  FWHFLongTowerProxyBuilder() : FWHFTowerProxyBuilderBase(2) {
104  }
105  virtual ~FWHFLongTowerProxyBuilder(){
106  }
107 
108  // ---------- const member functions ---------------------
109  virtual const std::string sliceName() const {
110  return "HFLong";
111  }
112 
113 
114  REGISTER_PROXYBUILDER_METHODS();
115 private:
116  FWHFLongTowerProxyBuilder(const FWHFLongTowerProxyBuilder&); // stop default
117 
118  const FWHFLongTowerProxyBuilder& operator=(const FWHFLongTowerProxyBuilder&); // stop default
119 };
120 */
121 
122 #endif
#define REGISTER_PROXYBUILDER_METHODS()
void setCaloData(const fireworks::Context &) override
const FWHFTowerProxyBuilderBase & operator=(const FWHFTowerProxyBuilderBase &)=delete
void itemBeingDestroyed(const FWEventItem *) override
const HFRecHitCollection * m_hits
int fillTowerForDetId(unsigned int rawid, float)