CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
30  void build( const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* ) override;
31 };
32 
33 void
34 FWTrackingVertexProxyBuilder::build( const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* )
35 {
36  TEvePointSet* pointSet = new TEvePointSet;
37  setupAddElement( pointSet, &oItemHolder );
38  pointSet->SetNextPoint( iData.position().x(), iData.position().y(), iData.position().z() );
39 }
40 
#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