CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFClusterLegoProxyBuilder.h
Go to the documentation of this file.
1 #ifndef _FWPFCLUSTERLEGOPROXYBUILDER_H_
2 #define _FWPFCLUSTERLEGOPROXYBUILDER_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: ParticleFlow
7 // Class : FWPFClusterLegoProxyBuilder, FWPFEcalClusterLegoProxyBuilder, FWPFHcalClusterLegoProxyBuilder
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author: Simon Harris
13 //
14 
15 // System include files
16 #include <math.h>
17 #include "TEveCompound.h"
18 #include "TEveBox.h"
19 
20 // User include files
27 
28 //-----------------------------------------------------------------------------
29 // FWPFClusterLegoProxyBuilder
30 //-----------------------------------------------------------------------------
31 
33 {
34  public:
35  static std::string typeOfBuilder() { return "simple#"; }
36 
37  // ---------------- Constructor(s)/Destructor ----------------------
40 
41  // --------------------- Member Functions --------------------------
42  virtual void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc );
43  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
44  virtual void localModelChanges( const FWModelId &iId, TEveElement *iCompound,
45  FWViewType::EType viewType, const FWViewContext *vc );
46 
48 
49  protected:
50  // --------------------- Member Functions --------------------------
51  void sharedBuild( const reco::PFCluster&, TEveElement&, const FWViewContext* );
52  float calculateEt( const reco::PFCluster &cluster, float E );
53 
54  private:
55  // Disable default copy constructor
57  // Disable default assignment operator
59 };
60 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
61 
62 //-----------------------------------------------------------------------------
63 // FWPFEcalClusterLegoProxyBuilder
64 //-----------------------------------------------------------------------------
65 
67 {
68  public:
69  // ---------------- Constructor(s)/Destructor ----------------------
72 
73  // --------------------- Member Functions --------------------------
74  virtual void build( const reco::PFCluster&, unsigned int, TEveElement&, const FWViewContext* );
75 
77 
78  private:
81 };
82 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
83 
84 //-----------------------------------------------------------------------------
85 // FWPFHcalClusterLegoProxyBuilder
86 //-----------------------------------------------------------------------------
87 
89 {
90  public:
91  // ---------------- Constructor(s)/Destructor ----------------------
94 
95  // --------------------- Member Functions --------------------------
96  virtual void build( const reco::PFCluster&, unsigned int, TEveElement&, const FWViewContext* );
97 
99 
100  private:
103 };
104 #endif
105 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
list parent
Definition: dbtoconf.py:74
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
const FWPFClusterLegoProxyBuilder & operator=(const FWPFClusterLegoProxyBuilder &)
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
const FWPFHcalClusterLegoProxyBuilder & operator=(const FWPFHcalClusterLegoProxyBuilder &)
void sharedBuild(const reco::PFCluster &, TEveElement &, const FWViewContext *)
virtual bool havePerViewProduct(FWViewType::EType) const
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
float calculateEt(const reco::PFCluster &cluster, float E)
const FWPFEcalClusterLegoProxyBuilder & operator=(const FWPFEcalClusterLegoProxyBuilder &)