CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
11 public:
14 
15  virtual void setItem(const FWEventItem* iItem);
16 
17  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
18  virtual void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc);
19  virtual void build( const FWEventItem* iItem, TEveElementList* product, const FWViewContext* );
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 scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
virtual void viewContextBoxScale(const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const CaloRecHit *)
virtual bool havePerViewProduct(FWViewType::EType) const
virtual void setItem(const FWEventItem *iItem)
virtual float scaleFactor(const FWViewContext *vc)
const FWCaloRecHitDigitSetProxyBuilder & operator=(const FWCaloRecHitDigitSetProxyBuilder &)