CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
45 
46 protected:
47  virtual void setCaloData(const fireworks::Context&);
48  virtual void fillCaloData();
49  virtual bool assertCaloDataSlice();
50 
51  virtual void itemBeingDestroyed(const FWEventItem*);
52 
53 private:
54 
56 
57  const FWHFTowerProxyBuilderBase& operator=(const FWHFTowerProxyBuilderBase&); // stop default
58 
59  virtual void build(const FWEventItem* iItem,
60  TEveElementList* product, const FWViewContext*);
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
const FWHFTowerProxyBuilderBase & operator=(const FWHFTowerProxyBuilderBase &)
virtual void itemBeingDestroyed(const FWEventItem *)
virtual void setCaloData(const fireworks::Context &)
const HFRecHitCollection * m_hits
int fillTowerForDetId(unsigned int rawid, float)