CMS 3D CMS Logo

FWCaloTowerProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWCaloTowerProxyBuilder_h
2 #define Fireworks_Calo_FWCaloTowerProxyBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWCaloTowerProxyBuilderBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Dec 3 11:28:08 EST 2008
19 //
20 
21 #include "Rtypes.h"
22 #include <string>
23 
28 
29 
31 //
32 // base
33 //
34 
36 {
37 public:
40 
41  virtual double getEt(const CaloTower&) const = 0;
42 
43 protected:
44  virtual void fillCaloData();
46  virtual void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*);
47 
48 private:
51 
53 };
54 
55 //
56 // Ecal
57 //
58 
60 public:
62  }
64  }
65 
66  // ---------- const member functions ---------------------
67 
68  virtual double getEt(const CaloTower& iTower) const {
69  return iTower.emEt();
70  }
71 
73 private:
76 };
77 
78 
79 //
80 // Hcal
81 //
82 
84 public:
86  }
88  }
89 
90  // ---------- const member functions ---------------------
91 
92  virtual double getEt(const CaloTower& iTower) const {
93  return iTower.hadEt();
94  }
95 
97 private:
99 
101 };
102 
103 //
104 // HCal Outer
105 //
106 
108 public:
110  }
112  }
113 
114  // ---------- const member functions ---------------------
115 
116  virtual double getEt(const CaloTower& iTower) const {
117  return iTower.outerEt();
118  }
119 
121 
122 private:
123  FWHOCaloTowerProxyBuilder(const FWHOCaloTowerProxyBuilder&); // stop default
124  const FWHOCaloTowerProxyBuilder& operator=(const FWHOCaloTowerProxyBuilder&); // stop default
125 };
126 
127 #endif
#define REGISTER_PROXYBUILDER_METHODS()
double hadEt() const
Definition: CaloTower.h:116
double outerEt() const
Definition: CaloTower.h:117
virtual double getEt(const CaloTower &iTower) const
const CaloTowerCollection * m_towers
virtual double getEt(const CaloTower &iTower) const
virtual double getEt(const CaloTower &iTower) const
virtual double getEt(const CaloTower &) const =0
virtual FWHistSliceSelector * instantiateSliceSelector()
const FWCaloTowerProxyBuilderBase & operator=(const FWCaloTowerProxyBuilderBase &)
double emEt() const
Definition: CaloTower.h:115