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 
29  void build( const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* ) override;
30 };
31 
32 void
33 FWSimVertexProxyBuilder::build( const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* )
34 {
35  TEvePointSet* pointSet = new TEvePointSet;
36  setupAddElement( pointSet, &oItemHolder );
37  pointSet->SetNextPoint( iData.position().x(), iData.position().y(), iData.position().z());
38 }
39 
#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 FWSimVertexProxyBuilder & operator=(const FWSimVertexProxyBuilder &)
const math::XYZTLorentzVectorD & position() const
Definition: CoreSimVertex.h:26