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 public:
37  static std::string typeOfBuilder() { return "simple#"; }
38 
39  // ---------------- Constructor(s)/Destructor ----------------------
42 
43  // --------------------- Member Functions --------------------------
44  void build(const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override;
45 
46  bool havePerViewProduct(FWViewType::EType) const override { return true; }
47  void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override;
48  void cleanLocal() override;
49 
51 
52 private:
53  FWPFEcalRecHitRPProxyBuilder(const FWPFEcalRecHitRPProxyBuilder &) = delete; // Stop default
54  const FWPFEcalRecHitRPProxyBuilder &operator=(const FWPFEcalRecHitRPProxyBuilder &) = delete; // Stop default
55 
56  // --------------------- Member Functions --------------------------
57  TEveVector calculateCentre(const float *corners);
58 
59  // ----------------------- Data Members ----------------------------
60  std::vector<FWPFRhoPhiRecHit *> m_towers;
61 };
62 #endif
63 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
FWViewType::EType
EType
Definition: FWViewType.h:31
FWPFEcalRecHitRPProxyBuilder::operator=
const FWPFEcalRecHitRPProxyBuilder & operator=(const FWPFEcalRecHitRPProxyBuilder &)=delete
FWPFMaths.h
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:27
FWProxyBuilderTemplate.h
FWPFEcalRecHitRPProxyBuilder
Definition: FWPFEcalRecHitRPProxyBuilder.h:35
FWPFEcalRecHitRPProxyBuilder::m_towers
std::vector< FWPFRhoPhiRecHit * > m_towers
Definition: FWPFEcalRecHitRPProxyBuilder.h:60
FWPFGeom.h
FWViewContext.h
EcalRecHit.h
FWPFEcalRecHitRPProxyBuilder::typeOfBuilder
static std::string typeOfBuilder()
Definition: FWPFEcalRecHitRPProxyBuilder.h:37
FWGeometry.h
FWPFEcalRecHitRPProxyBuilder::FWPFEcalRecHitRPProxyBuilder
FWPFEcalRecHitRPProxyBuilder()
Definition: FWPFEcalRecHitRPProxyBuilder.h:40
FWProxyBuilderTemplate
Definition: FWProxyBuilderTemplate.h:30
FWPFEcalRecHitRPProxyBuilder::havePerViewProduct
bool havePerViewProduct(FWViewType::EType) const override
Definition: FWPFEcalRecHitRPProxyBuilder.h:46
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWEventItem.h
FWViewContext
Definition: FWViewContext.h:32
FWPFEcalRecHitRPProxyBuilder::scaleProduct
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
Definition: FWPFEcalRecHitRPProxyBuilder.cc:4
FWEventItem
Definition: FWEventItem.h:56
FWPFEcalRecHitRPProxyBuilder::cleanLocal
void cleanLocal() override
Definition: FWPFEcalRecHitRPProxyBuilder.cc:17
FWPFEcalRecHitRPProxyBuilder::calculateCentre
TEveVector calculateCentre(const float *corners)
Definition: FWPFEcalRecHitRPProxyBuilder.cc:26
FWViewEnergyScale.h
FWPFRhoPhiRecHit.h
FWPFEcalRecHitRPProxyBuilder::~FWPFEcalRecHitRPProxyBuilder
~FWPFEcalRecHitRPProxyBuilder() override
Definition: FWPFEcalRecHitRPProxyBuilder.h:41
class-composition.parent
parent
Definition: class-composition.py:98
Context.h