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 {
27  public:
28  // ---------------- Constructor(s)/Destructor ----------------------
30  ~FWPFClusterRPZProxyBuilder() override;
31 
32  // --------------------- Member Functions --------------------------
34  void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc ) override;
36  void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc ) override;
38  bool havePerViewProduct( FWViewType::EType ) const override { return true; }
40  void cleanLocal() override { m_clusters.clear(); }
41 
43 
44  protected:
45  // ----------------------- Data Members ----------------------------
46  std::vector<ScalableLines> m_clusters;
48 
49  // --------------------- Member Functions --------------------------
50  virtual void sharedBuild( const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder,
51  const FWViewContext *vc, float radius );
52 
53  private:
54  FWPFClusterRPZProxyBuilder( const FWPFClusterRPZProxyBuilder& ) = delete; // Disable default
55  const FWPFClusterRPZProxyBuilder& operator=( const FWPFClusterRPZProxyBuilder& ) = delete; // Disable default
56 };
57 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
58 
59 
60 //-----------------------------------------------------------------------------
61 // FWPFEcalClusterRPZProxyBuilder
62 //-----------------------------------------------------------------------------
63 
65 {
66  public:
67  // ---------------- Constructor(s)/Destructor ----------------------
70 
71  // --------------------- Member Functions --------------------------
73  void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc ) override;
74 
76 
77  private:
80 };
81 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
82 
83 
84 //-----------------------------------------------------------------------------
85 // FWPFHcalClusterRPZProxyBuilder
86 //-----------------------------------------------------------------------------
87 
89 {
90  public:
91  // ---------------- Constructor(s)/Destructor ----------------------
94 
95  // --------------------- Member Functions --------------------------
97  void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc ) override;
98 
100 
101  private:
104 };
105 #endif
106 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
#define REGISTER_PROXYBUILDER_METHODS()
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:47
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)
const FWPFClusterRPZProxyBuilder & operator=(const FWPFClusterRPZProxyBuilder &)=delete
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override