CMS 3D CMS Logo

FWTrackingVertexProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWTrackingVertexProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 10/6/10.
6  *
7  */
8 
13 
14 #include "TEveTrack.h"
15 
17 public:
20 
22 
23  // Disable default copy constructor
25  // Disable default assignment operator
27 
28 private:
30  void build(const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
31 };
32 
34  unsigned int iIndex,
35  TEveElement& oItemHolder,
36  const FWViewContext*) {
37  TEvePointSet* pointSet = new TEvePointSet;
38  setupAddElement(pointSet, &oItemHolder);
39  pointSet->SetNextPoint(iData.position().x(), iData.position().y(), iData.position().z());
40 }
41 
44  "TrackingVertices",
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:67
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
Definition: FWViewType.h:68
const LorentzVector & position() const
const FWTrackingVertexProxyBuilder & operator=(const FWTrackingVertexProxyBuilder &)=delete