CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWSimVertexProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWSimVertexProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/9/10.
6  *
7  */
8 
11 
12 #include "TEvePointSet.h"
13 
15 {
16 public:
18  virtual ~FWSimVertexProxyBuilder( void ) {}
19 
21 
22 private:
23  // Disable default copy constructor
25  // Disable default assignment operator
27 
28  void build( const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* );
29 };
30 
31 void
32 FWSimVertexProxyBuilder::build( const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* )
33 {
34  TEvePointSet* pointSet = new TEvePointSet;
35  setupAddElement( pointSet, &oItemHolder );
36  pointSet->SetNextPoint( iData.position().x(), iData.position().y(), iData.position().z());
37 }
38 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:59
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
Definition: FWViewType.h:60
const FWSimVertexProxyBuilder & operator=(const FWSimVertexProxyBuilder &)
const math::XYZTLorentzVectorD & position() const
Definition: CoreSimVertex.h:26