CMS 3D CMS Logo

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 {
11 public:
14 
15  void setItem(const FWEventItem* iItem) override;
16 
17  bool havePerViewProduct(FWViewType::EType) const override { return true; }
18  void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc) override;
19  void build( const FWEventItem* iItem, TEveElementList* product, const FWViewContext* ) override;
20 
21  virtual float scaleFactor(const FWViewContext* vc);
22  virtual void invertBox(bool x ) { m_invertBox = x ;}
23  virtual void viewContextBoxScale( const float* corners, float scale, bool plotEt, std::vector<float>& scaledCorners, const CaloRecHit*);
24 
25 private:
26 
29 
32  double m_enlarge;
33  TEveVector m_vector; // internal memeber, to avoid constant recreation
34 };
35 #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)