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 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
FWSimpleProxyBuilderTemplate.h
FWViewType::EType
EType
Definition: FWViewType.h:31
FWPFClusterRPZUtils
Definition: FWPFClusterRPZUtils.h:38
FWPFClusterRPZProxyBuilder::havePerViewProduct
bool havePerViewProduct(FWViewType::EType) const override
Definition: FWPFClusterRPZProxyBuilder.h:40
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:27
FWPFClusterRPZProxyBuilder::~FWPFClusterRPZProxyBuilder
~FWPFClusterRPZProxyBuilder() override
Definition: FWPFClusterRPZProxyBuilder.cc:7
FWPFClusterRPZProxyBuilder::FWPFClusterRPZProxyBuilder
FWPFClusterRPZProxyBuilder()
Definition: FWPFClusterRPZProxyBuilder.cc:4
FWPFClusterRPZProxyBuilder::m_clusters
std::vector< ScalableLines > m_clusters
Definition: FWPFClusterRPZProxyBuilder.h:48
FWPFEcalClusterRPZProxyBuilder::~FWPFEcalClusterRPZProxyBuilder
~FWPFEcalClusterRPZProxyBuilder() override
Definition: FWPFClusterRPZProxyBuilder.h:72
FWPFGeom.h
FWPFClusterRPZUtils.h
FWPFEcalClusterRPZProxyBuilder::FWPFEcalClusterRPZProxyBuilder
FWPFEcalClusterRPZProxyBuilder()
Definition: FWPFClusterRPZProxyBuilder.h:71
FWPFHcalClusterRPZProxyBuilder
Definition: FWPFClusterRPZProxyBuilder.h:93
PFCluster.h
FWPFClusterRPZProxyBuilder::m_clusterUtils
FWPFClusterRPZUtils * m_clusterUtils
Definition: FWPFClusterRPZProxyBuilder.h:49
FWPFHcalClusterRPZProxyBuilder::~FWPFHcalClusterRPZProxyBuilder
~FWPFHcalClusterRPZProxyBuilder() override
Definition: FWPFClusterRPZProxyBuilder.h:97
FWPFHcalClusterRPZProxyBuilder::operator=
const FWPFHcalClusterRPZProxyBuilder & operator=(const FWPFHcalClusterRPZProxyBuilder &)=delete
FWPFClusterRPZProxyBuilder::sharedBuild
virtual void sharedBuild(const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius)
Definition: FWPFClusterRPZProxyBuilder.cc:27
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWPFClusterRPZProxyBuilder
Definition: FWPFClusterRPZProxyBuilder.h:25
FWPFEcalClusterRPZProxyBuilder
Definition: FWPFClusterRPZProxyBuilder.h:68
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
FWPFEcalClusterRPZProxyBuilder::operator=
const FWPFEcalClusterRPZProxyBuilder & operator=(const FWPFEcalClusterRPZProxyBuilder &)=delete
FWPFClusterRPZProxyBuilder::cleanLocal
void cleanLocal() override
Definition: FWPFClusterRPZProxyBuilder.h:42
FWPFClusterRPZProxyBuilder::scaleProduct
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
Definition: FWPFClusterRPZProxyBuilder.cc:10
class-composition.parent
parent
Definition: class-composition.py:98
FWPFClusterRPZProxyBuilder::operator=
const FWPFClusterRPZProxyBuilder & operator=(const FWPFClusterRPZProxyBuilder &)=delete
FWPFHcalClusterRPZProxyBuilder::FWPFHcalClusterRPZProxyBuilder
FWPFHcalClusterRPZProxyBuilder()
Definition: FWPFClusterRPZProxyBuilder.h:96