CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 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
FWHFTowerProxyBuilderBase::setCaloData
void setCaloData(const fireworks::Context &) override
Definition: FWHFTowerProxyBuilder.cc:37
fireworks::Context
Definition: Context.h:41
FWHFTowerProxyBuilderBase::m_vecData
TEveCaloDataVec * m_vecData
Definition: FWHFTowerProxyBuilder.h:64
FWFromTEveCaloDataSelector.h
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:27
edm::SortedCollection
Definition: SortedCollection.h:49
FWHFTowerProxyBuilderBase
Definition: FWHFTowerProxyBuilder.h:33
FWHFTowerProxyBuilderBase::itemBeingDestroyed
void itemBeingDestroyed(const FWEventItem *) override
Definition: FWHFTowerProxyBuilder.cc:80
FWCaloDataProxyBuilderBase
Definition: FWCaloDataProxyBuilderBase.h:34
HFRecHit.h
FWHFTowerProxyBuilderBase::assertCaloDataSlice
bool assertCaloDataSlice() override
Definition: FWHFTowerProxyBuilder.cc:42
FWCaloDataProxyBuilderBase.h
FWHFTowerProxyBuilderBase::fillCaloData
void fillCaloData() override
Definition: FWHFTowerProxyBuilder.cc:91
FWHFTowerProxyBuilderBase::fillTowerForDetId
int fillTowerForDetId(unsigned int rawid, float)
Definition: FWHFTowerProxyBuilder.cc:121
FWHFTowerProxyBuilderBase::FWHFTowerProxyBuilderBase
FWHFTowerProxyBuilderBase()
Definition: FWHFTowerProxyBuilder.cc:28
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWHFTowerProxyBuilderBase::~FWHFTowerProxyBuilderBase
~FWHFTowerProxyBuilderBase() override
Definition: FWHFTowerProxyBuilder.cc:33
FWEventItem
Definition: FWEventItem.h:56
HcalRecHitCollections.h
FWHFTowerProxyBuilderBase::operator=
const FWHFTowerProxyBuilderBase & operator=(const FWHFTowerProxyBuilderBase &)=delete
FWHFTowerProxyBuilderBase::m_hits
const HFRecHitCollection * m_hits
Definition: FWHFTowerProxyBuilder.h:62