CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWCaloRecHitDigitSetProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWCaloRecHitDigitSetProxyBuilder_h
2 #define Fireworks_Calo_FWCaloRecHitDigitSetProxyBuilder_h
3 
4 #include "TEveVector.h"
6 
7 class CaloRecHit;
8 
10 public:
13 
14  void setItem(const FWEventItem* iItem) override;
15 
16  bool havePerViewProduct(FWViewType::EType) const override { return true; }
17  void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc) override;
18  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
19 
20  virtual float scaleFactor(const FWViewContext* vc);
21  virtual void invertBox(bool x) { m_invertBox = x; }
22  virtual void viewContextBoxScale(
23  const float* corners, float scale, bool plotEt, std::vector<float>& scaledCorners, const CaloRecHit*);
24 
27 
28 private:
31  double m_enlarge;
32  TEveVector m_vector; // internal memeber, to avoid constant recreation
33 };
34 #endif
virtual void viewContextBoxScale(const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const CaloRecHit *)
void setItem(const FWEventItem *iItem) override
const FWCaloRecHitDigitSetProxyBuilder & operator=(const FWCaloRecHitDigitSetProxyBuilder &)=delete
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
bool havePerViewProduct(FWViewType::EType) const override
virtual float scaleFactor(const FWViewContext *vc)