CMS 3D CMS Logo

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  void build( const FWEventItem *iItem, TEveElementList *product, const FWViewContext* ) override;
46 
47  bool havePerViewProduct( FWViewType::EType ) const override { return true; }
48  void scaleProduct( TEveElementList *parent, FWViewType::EType, const FWViewContext *vc ) override;
49  void cleanLocal() override;
50 
52 
53  private:
54  FWPFEcalRecHitRPProxyBuilder( const FWPFEcalRecHitRPProxyBuilder& ) = delete; // Stop default
55  const FWPFEcalRecHitRPProxyBuilder& operator=( const FWPFEcalRecHitRPProxyBuilder& ) = delete; // Stop default
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()
std::vector< FWPFRhoPhiRecHit * > m_towers
bool havePerViewProduct(FWViewType::EType) const override
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
TEveVector calculateCentre(const float *corners)
const FWPFEcalRecHitRPProxyBuilder & operator=(const FWPFEcalRecHitRPProxyBuilder &)=delete