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 // $Id: FWHFTowerProxyBuilder.h,v 1.7 2010/06/14 16:58:15 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
29 
30 class TEveCaloDataVec;
31 //
32 // base
33 //
35 {
36 public:
39 
40  // ---------- const member functions ---------------------
41 
42  // ---------- static member functions --------------------
43 
44  // ---------- member functions ---------------------------
46 
47 protected:
48  virtual void setCaloData(const fireworks::Context&);
49  virtual void fillCaloData();
50  virtual bool assertCaloDataSlice();
51 
52  virtual void itemBeingDestroyed(const FWEventItem*);
53 
54 private:
55 
57 
58  const FWHFTowerProxyBuilderBase& operator=(const FWHFTowerProxyBuilderBase&); // stop default
59 
60  virtual void build(const FWEventItem* iItem,
61  TEveElementList* product, const FWViewContext*);
62 
63  int fillTowerForDetId(unsigned int rawid, float);
64  // ---------- member data --------------------------------
65 
67  // int m_depth;
68  TEveCaloDataVec* m_vecData;
69 };
70 
71 /*
72 //
73 // ShortFiber
74 //
75 
76 class FWHFShortTowerProxyBuilder : public FWHFTowerProxyBuilderBase
77 {
78 public:
79  FWHFShortTowerProxyBuilder() : FWHFTowerProxyBuilderBase(1) {
80  }
81  virtual ~FWHFShortTowerProxyBuilder() {
82  }
83 
84  // ---------- const member functions ---------------------
85  virtual const std::string sliceName() const {
86  return "HFShort";
87  };
88 
89  REGISTER_PROXYBUILDER_METHODS();
90 
91 private:
92  FWHFShortTowerProxyBuilder(const FWHFShortTowerProxyBuilder&); // stop default
93  const FWHFShortTowerProxyBuilder& operator=(const FWHFShortTowerProxyBuilder&); // stop default
94 };
95 
96 
97 //
98 // LongFiber
99 //
100 
101 class FWHFLongTowerProxyBuilder : public FWHFTowerProxyBuilderBase
102 {
103 public:
104  FWHFLongTowerProxyBuilder() : FWHFTowerProxyBuilderBase(2) {
105  }
106  virtual ~FWHFLongTowerProxyBuilder(){
107  }
108 
109  // ---------- const member functions ---------------------
110  virtual const std::string sliceName() const {
111  return "HFLong";
112  }
113 
114 
115  REGISTER_PROXYBUILDER_METHODS();
116 private:
117  FWHFLongTowerProxyBuilder(const FWHFLongTowerProxyBuilder&); // stop default
118 
119  const FWHFLongTowerProxyBuilder& operator=(const FWHFLongTowerProxyBuilder&); // stop default
120 };
121 */
122 
123 #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)