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 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 
25 private:
28 
31  double m_enlarge;
32  TEveVector m_vector; // internal memeber, to avoid constant recreation
33 };
34 #endif
FWCaloRecHitDigitSetProxyBuilder::m_ignoreGeoShapeSize
bool m_ignoreGeoShapeSize
Definition: FWCaloRecHitDigitSetProxyBuilder.h:30
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition: L1EGammaCrystalsEmulatorProducer_cfi.py:10
FWDigitSetProxyBuilder
Definition: FWDigitSetProxyBuilder.h:31
FWViewType::EType
EType
Definition: FWViewType.h:31
FWCaloRecHitDigitSetProxyBuilder::operator=
const FWCaloRecHitDigitSetProxyBuilder & operator=(const FWCaloRecHitDigitSetProxyBuilder &)=delete
FWCaloRecHitDigitSetProxyBuilder::havePerViewProduct
bool havePerViewProduct(FWViewType::EType) const override
Definition: FWCaloRecHitDigitSetProxyBuilder.h:16
DDAxes::x
CaloRecHit
Definition: CaloRecHit.h:23
FWCaloRecHitDigitSetProxyBuilder::m_enlarge
double m_enlarge
Definition: FWCaloRecHitDigitSetProxyBuilder.h:31
FWCaloRecHitDigitSetProxyBuilder::setItem
void setItem(const FWEventItem *iItem) override
Definition: FWCaloRecHitDigitSetProxyBuilder.cc:18
FWDigitSetProxyBuilder.h
FWCaloRecHitDigitSetProxyBuilder::scaleProduct
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
Definition: FWCaloRecHitDigitSetProxyBuilder.cc:99
FWCaloRecHitDigitSetProxyBuilder::m_invertBox
bool m_invertBox
Definition: FWCaloRecHitDigitSetProxyBuilder.h:29
FWCaloRecHitDigitSetProxyBuilder::m_vector
TEveVector m_vector
Definition: FWCaloRecHitDigitSetProxyBuilder.h:32
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWCaloRecHitDigitSetProxyBuilder::~FWCaloRecHitDigitSetProxyBuilder
~FWCaloRecHitDigitSetProxyBuilder(void) override
Definition: FWCaloRecHitDigitSetProxyBuilder.h:12
FWEventItem
Definition: FWEventItem.h:56
FWCaloRecHitDigitSetProxyBuilder::scaleFactor
virtual float scaleFactor(const FWViewContext *vc)
Definition: FWCaloRecHitDigitSetProxyBuilder.cc:92
FWCaloRecHitDigitSetProxyBuilder::viewContextBoxScale
virtual void viewContextBoxScale(const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const CaloRecHit *)
Definition: FWCaloRecHitDigitSetProxyBuilder.cc:27
FWCaloRecHitDigitSetProxyBuilder::invertBox
virtual void invertBox(bool x)
Definition: FWCaloRecHitDigitSetProxyBuilder.h:21
FWCaloRecHitDigitSetProxyBuilder::FWCaloRecHitDigitSetProxyBuilder
FWCaloRecHitDigitSetProxyBuilder()
Definition: FWCaloRecHitDigitSetProxyBuilder.cc:13
FWCaloRecHitDigitSetProxyBuilder
Definition: FWCaloRecHitDigitSetProxyBuilder.h:9
class-composition.parent
parent
Definition: class-composition.py:98