CMS 3D CMS Logo

FWPFClusterRPZProxyBuilder.h
Go to the documentation of this file.
1 #ifndef _FWPFCLUSTERRPZPROXYBUILDER_H_
2 #define _FWPFCLUSTERRPZPROXYBUILDER_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: ParticleFlow
7 // Class : FWPFClusterRPZProxyBuilder, FWPFEcalClusterRPZProxyBuilder, FWPFHcalClusterRPZProxyBuilder
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author: Simon Harris
13 //
14 
15 // User include files
20 
21 //-----------------------------------------------------------------------------
22 // FWPFClusterRPZProxyBuilder
23 //-----------------------------------------------------------------------------
24 
26 public:
27  // ---------------- Constructor(s)/Destructor ----------------------
29  ~FWPFClusterRPZProxyBuilder() override;
30 
31  // --------------------- Member Functions --------------------------
33  void build(const reco::PFCluster &iData,
34  unsigned int iIndex,
35  TEveElement &oItemHolder,
36  const FWViewContext *vc) override;
38  void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override;
40  bool havePerViewProduct(FWViewType::EType) const override { return true; }
42  void cleanLocal() override { m_clusters.clear(); }
43 
45 
46 protected:
47  // ----------------------- Data Members ----------------------------
48  std::vector<ScalableLines> m_clusters;
50 
51  // --------------------- Member Functions --------------------------
52  virtual void sharedBuild(const reco::PFCluster &cluster,
53  unsigned int iIndex,
54  TEveElement &oItemHolder,
55  const FWViewContext *vc,
56  float radius);
57 
58 private:
59  FWPFClusterRPZProxyBuilder(const FWPFClusterRPZProxyBuilder &) = delete; // Disable default
60  const FWPFClusterRPZProxyBuilder &operator=(const FWPFClusterRPZProxyBuilder &) = delete; // Disable default
61 };
62 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
63 
64 //-----------------------------------------------------------------------------
65 // FWPFEcalClusterRPZProxyBuilder
66 //-----------------------------------------------------------------------------
67 
69 public:
70  // ---------------- Constructor(s)/Destructor ----------------------
73 
74  // --------------------- Member Functions --------------------------
76  void build(const reco::PFCluster &iData,
77  unsigned int iIndex,
78  TEveElement &oItemHolder,
79  const FWViewContext *vc) override;
80 
82 
83 private:
86 };
87 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
88 
89 //-----------------------------------------------------------------------------
90 // FWPFHcalClusterRPZProxyBuilder
91 //-----------------------------------------------------------------------------
92 
94 public:
95  // ---------------- Constructor(s)/Destructor ----------------------
98 
99  // --------------------- Member Functions --------------------------
101  void build(const reco::PFCluster &iData,
102  unsigned int iIndex,
103  TEveElement &oItemHolder,
104  const FWViewContext *vc) override;
105 
107 
108 private:
111 };
112 #endif
113 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:46
bool havePerViewProduct(FWViewType::EType) const override
std::vector< ScalableLines > m_clusters
virtual void sharedBuild(const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius)
#define REGISTER_PROXYBUILDER_METHODS()
const FWPFClusterRPZProxyBuilder & operator=(const FWPFClusterRPZProxyBuilder &)=delete
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override