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 public:
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 
85 };
86 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
87 
88 //-----------------------------------------------------------------------------
89 // FWPFHcalClusterRPZProxyBuilder
90 //-----------------------------------------------------------------------------
91 
93 public:
94  // ---------------- Constructor(s)/Destructor ----------------------
97 
98  // --------------------- Member Functions --------------------------
100  void build(const reco::PFCluster &iData,
101  unsigned int iIndex,
102  TEveElement &oItemHolder,
103  const FWViewContext *vc) override;
104 
106 
109 };
110 #endif
111 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
#define REGISTER_PROXYBUILDER_METHODS()
bool havePerViewProduct(FWViewType::EType) const override
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
std::vector< ScalableLines > m_clusters
virtual void sharedBuild(const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius)
const FWPFEcalClusterRPZProxyBuilder & operator=(const FWPFEcalClusterRPZProxyBuilder &)=delete
const FWPFHcalClusterRPZProxyBuilder & operator=(const FWPFHcalClusterRPZProxyBuilder &)=delete
const FWPFClusterRPZProxyBuilder & operator=(const FWPFClusterRPZProxyBuilder &)=delete
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override