test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFEcalRecHitRPProxyBuilder.h
Go to the documentation of this file.
1 #ifndef _FWPFECALRECHITRPPROXYBUILDER_H_
2 #define _FWPFECALRECHITRPPROXYBUILDER_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: ParticleFlow
7 // Class : FWPFEcalRecHitRPProxyBuilder
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author: Simon Harris
13 //
14 
15 // System include files
16 #include "TEveCompound.h"
17 
18 // User include files
23 
28 
31 
32 //-----------------------------------------------------------------------------
33 // FWPFEcalRecHitRPProxyBuilder
34 //-----------------------------------------------------------------------------
36 {
37  public:
38  static std::string typeOfBuilder() { return "simple#"; }
39 
40  // ---------------- Constructor(s)/Destructor ----------------------
43 
44  // --------------------- Member Functions --------------------------
45  virtual void build( const FWEventItem *iItem, TEveElementList *product, const FWViewContext* );
46 
47  virtual bool havePerViewProduct( FWViewType::EType ) const { return true; }
48  virtual void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc );
49  virtual void cleanLocal();
50 
52 
53  private:
56 
57  // --------------------- Member Functions --------------------------
58  TEveVector calculateCentre( const float *corners );
59 
60  // ----------------------- Data Members ----------------------------
61  std::vector<FWPFRhoPhiRecHit*> m_towers;
62 };
63 #endif
64 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
#define REGISTER_PROXYBUILDER_METHODS()
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
std::vector< FWPFRhoPhiRecHit * > m_towers
virtual bool havePerViewProduct(FWViewType::EType) const
TEveVector calculateCentre(const float *corners)
const FWPFEcalRecHitRPProxyBuilder & operator=(const FWPFEcalRecHitRPProxyBuilder &)