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 public:
20 
22 
23 private:
24  // Disable default copy constructor
26  // Disable default assignment operator
28 
30  void build(const TrackingVertex& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
31 };
32 
34  unsigned int iIndex,
35  TEveElement& oItemHolder,
36  const FWViewContext*) {
37  TEvePointSet* pointSet = new TEvePointSet;
38  setupAddElement(pointSet, &oItemHolder);
39  pointSet->SetNextPoint(iData.position().x(), iData.position().y(), iData.position().z());
40 }
41 
44  "TrackingVertices",
FWTrackingVertexProxyBuilder::FWTrackingVertexProxyBuilder
FWTrackingVertexProxyBuilder(void)
Definition: FWTrackingVertexProxyBuilder.cc:18
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
TrackingVertex::position
const LorentzVector & position() const
Definition: TrackingVertex.h:71
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:27
TrackingVertex.h
FWViewType::kAll3DBits
static const int kAll3DBits
Definition: FWViewType.h:68
FWTrackingVertexProxyBuilder
Definition: FWTrackingVertexProxyBuilder.cc:16
TrackingVertex
Definition: TrackingVertex.h:22
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition: FWProxyBuilderBase.cc:350
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWEventItem.h
FWViewContext
Definition: FWViewContext.h:32
FWTrackingVertexProxyBuilder::operator=
const FWTrackingVertexProxyBuilder & operator=(const FWTrackingVertexProxyBuilder &)=delete
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
FWTrackingVertexProxyBuilder::~FWTrackingVertexProxyBuilder
~FWTrackingVertexProxyBuilder(void) override
Definition: FWTrackingVertexProxyBuilder.cc:19
Context.h