CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ----------------------
31 
32  // --------------------- Member Functions --------------------------
34  virtual void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc );
36  virtual void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc );
38  virtual bool havePerViewProduct( FWViewType::EType ) const { return true; }
40  virtual void cleanLocal() { 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& ); // Disable default
55  const FWPFClusterRPZProxyBuilder& operator=( const FWPFClusterRPZProxyBuilder& ); // Disable default
56 };
57 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
58 
59 
60 //-----------------------------------------------------------------------------
61 // FWPFEcalClusterRPZProxyBuilder
62 //-----------------------------------------------------------------------------
63 
65 {
66  public:
67  // ---------------- Constructor(s)/Destructor ----------------------
70 
71  // --------------------- Member Functions --------------------------
73  virtual void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc );
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  virtual void build( const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc );
98 
100 
101  private:
104 };
105 #endif
106 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
#define REGISTER_PROXYBUILDER_METHODS()
list parent
Definition: dbtoconf.py:74
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:47
virtual bool havePerViewProduct(FWViewType::EType) const
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
const FWPFHcalClusterRPZProxyBuilder & operator=(const FWPFHcalClusterRPZProxyBuilder &)
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 &)
const FWPFClusterRPZProxyBuilder & operator=(const FWPFClusterRPZProxyBuilder &)