CMS 3D CMS Logo

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 public:
17  ~FWSimVertexProxyBuilder(void) override {}
18 
20 
21 private:
22  // Disable default copy constructor
24  // Disable default assignment operator
26 
28  void build(const SimVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
29 };
30 
32  unsigned int iIndex,
33  TEveElement& oItemHolder,
34  const FWViewContext*) {
35  TEvePointSet* pointSet = new TEvePointSet;
36  setupAddElement(pointSet, &oItemHolder);
37  pointSet->SetNextPoint(iData.position().x(), iData.position().y(), iData.position().z());
38 }
39 
41  SimVertex,
42  "SimVertices",
SimVertex
Definition: SimVertex.h:5
FWSimpleProxyBuilderTemplate.h
FWViewType::kAllRPZBits
static const int kAllRPZBits
Definition: FWViewType.h:67
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition: FWProxyBuilderFactory.h:33
FWSimVertexProxyBuilder::~FWSimVertexProxyBuilder
~FWSimVertexProxyBuilder(void) override
Definition: FWSimVertexProxyBuilder.cc:17
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:28
FWViewType::kAll3DBits
static const int kAll3DBits
Definition: FWViewType.h:68
SimVertex.h
FWSimVertexProxyBuilder::operator=
const FWSimVertexProxyBuilder & operator=(const FWSimVertexProxyBuilder &)=delete
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition: FWProxyBuilderBase.cc:350
CoreSimVertex::position
const math::XYZTLorentzVectorD & position() const
Definition: CoreSimVertex.h:21
FWSimVertexProxyBuilder
Definition: FWSimVertexProxyBuilder.cc:14
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
FWSimVertexProxyBuilder::FWSimVertexProxyBuilder
FWSimVertexProxyBuilder(void)
Definition: FWSimVertexProxyBuilder.cc:16