CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWDigitSetProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWDigitSetProxyBuilder_h
2 #define Fireworks_Core_FWDigitSetProxyBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWDigitSetProxyBuilder
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Tue Oct 19 12:00:57 CEST 2010
19 // $Id: FWDigitSetProxyBuilder.h,v 1.3 2010/12/03 20:38:57 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
26 
27 // forward declarations
28 class TEveDigitSet;
29 class TEveBoxSet;
31 
33 {
34 
35 public:
37  virtual ~FWDigitSetProxyBuilder();
38 
39  // ---------- const member functions ---------------------
40 
41  virtual bool willHandleInteraction() const { return true; }
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47 protected:
48 
49  // AMT: temproary structure since TEveBoxSet::BFreeBox_t is protected
50  // this workaround should be removed in next root patch
51  struct BFreeBox_t
52  {
53  Int_t fValue;
54  void *fUserData;
55  Float_t fVertices[8][3];
56  BFreeBox_t(Int_t v=0) : fValue(v), fUserData(0) {}
57  };
58 
59 
60  TEveBoxSet* addBoxSetToProduct(TEveElementList* product);
61  void addBox(TEveBoxSet* set, const float* pnts, const FWDisplayProperties& dp);
62 
63 private:
64  FWDigitSetProxyBuilder(const FWDigitSetProxyBuilder&); // stop default
65 
66  const FWDigitSetProxyBuilder& operator=(const FWDigitSetProxyBuilder&); // stop default
67 
68  // ---------- member data --------------------------------
69 
70  virtual void modelChanges(const FWModelIds&, Product*);
71 
72  static TString getTooltip(TEveDigitSet* set, int idx);
73 
74  TEveDigitSet* digitSet(TEveElement* product);
75 
76 };
77 
78 
79 #endif
static TString getTooltip(TEveDigitSet *set, int idx)
const FWDigitSetProxyBuilder & operator=(const FWDigitSetProxyBuilder &)
virtual void modelChanges(const FWModelIds &, Product *)
std::set< FWModelId > FWModelIds
auto dp
Definition: deltaR.h:24
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
virtual bool willHandleInteraction() const
TEveBoxSet * addBoxSetToProduct(TEveElementList *product)
void addBox(TEveBoxSet *set, const float *pnts, const FWDisplayProperties &dp)
TEveDigitSet * digitSet(TEveElement *product)