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 {
18 public:
20  virtual ~FWTrackingVertexProxyBuilder( void ) {}
21 
23 
24 private:
25  // Disable default copy constructor
27  // Disable default assignment operator
29 
31  void build( const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* ) override;
32 };
33 
34 void
35 FWTrackingVertexProxyBuilder::build( const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* )
36 {
37  TEvePointSet* pointSet = new TEvePointSet;
38  setupAddElement( pointSet, &oItemHolder );
39  pointSet->SetNextPoint( iData.position().x(), iData.position().y(), iData.position().z() );
40 }
41 
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:58
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
Definition: FWViewType.h:59
const FWTrackingVertexProxyBuilder & operator=(const FWTrackingVertexProxyBuilder &)
const LorentzVector & position() const