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 "TEveBox.h"
18 
19 // User include files
26 
27 //-----------------------------------------------------------------------------
28 // FWPFClusterLegoProxyBuilder
29 //-----------------------------------------------------------------------------
30 
32 {
33  public:
34  static std::string typeOfBuilder() { return "simple#"; }
35 
36  // ---------------- Constructor(s)/Destructor ----------------------
39 
40  // --------------------- Member Functions --------------------------
41  virtual void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc );
42  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
43  virtual void localModelChanges( const FWModelId &iId, TEveElement *el,
44  FWViewType::EType viewType, const FWViewContext *vc );
45 
47 
48  protected:
49  // --------------------- Member Functions --------------------------
50  void sharedBuild( const reco::PFCluster&, TEveElement&, const FWViewContext* );
51  float calculateEt( const reco::PFCluster &cluster, float E );
52 
53  private:
54  // Disable default copy constructor
56  // Disable default assignment operator
58 };
59 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
60 
61 //-----------------------------------------------------------------------------
62 // FWPFEcalClusterLegoProxyBuilder
63 //-----------------------------------------------------------------------------
64 
66 {
67  public:
68  // ---------------- Constructor(s)/Destructor ----------------------
71 
72  // --------------------- Member Functions --------------------------
73  virtual void build( const reco::PFCluster&, unsigned int, TEveElement&, const FWViewContext* );
74 
76 
77  private:
80 };
81 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
82 
83 //-----------------------------------------------------------------------------
84 // FWPFHcalClusterLegoProxyBuilder
85 //-----------------------------------------------------------------------------
86 
88 {
89  public:
90  // ---------------- Constructor(s)/Destructor ----------------------
93 
94  // --------------------- Member Functions --------------------------
95  virtual void build( const reco::PFCluster&, unsigned int, TEveElement&, const FWViewContext* );
96 
98 
99  private:
102 };
103 #endif
104 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
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 *el, FWViewType::EType viewType, const FWViewContext *vc)
float calculateEt(const reco::PFCluster &cluster, float E)
const FWPFEcalClusterLegoProxyBuilder & operator=(const FWPFEcalClusterLegoProxyBuilder &)