CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWPFTrack3DProxyBuilder Class Reference

#include <FWPFTrack3DProxyBuilder.h>

Inheritance diagram for FWPFTrack3DProxyBuilder:
FWPFTrackBaseProxyBuilder FWSimpleProxyBuilderTemplate< reco::Track > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWPFTrack3DProxyBuilder ()
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWPFTrack3DProxyBuilder ()

Private Member Functions

virtual void build (const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc)
 FWPFTrack3DProxyBuilder (const FWPFTrack3DProxyBuilder &)
float linearInterpolation (const TEveVector &p1, const TEveVector &p2, float r)
const FWPFTrack3DProxyBuilderoperator= (const FWPFTrack3DProxyBuilder &)

Detailed Description

Definition at line 25 of file FWPFTrack3DProxyBuilder.h.


Constructor & Destructor Documentation

FWPFTrack3DProxyBuilder::FWPFTrack3DProxyBuilder ( ) [inline]

Definition at line 29 of file FWPFTrack3DProxyBuilder.h.

{}
virtual FWPFTrack3DProxyBuilder::~FWPFTrack3DProxyBuilder ( ) [inline, virtual]

Definition at line 30 of file FWPFTrack3DProxyBuilder.h.

{}
FWPFTrack3DProxyBuilder::FWPFTrack3DProxyBuilder ( const FWPFTrack3DProxyBuilder ) [private]

Member Function Documentation

void FWPFTrack3DProxyBuilder::build ( const reco::Track iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
const FWViewContext  
) [private, virtual]

iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement

Reimplemented from FWSimpleProxyBuilderTemplate< reco::Track >.

Definition at line 5 of file FWPFTrack3DProxyBuilder.cc.

References FWPFTrackUtils::getCollisionMarkers(), FWPFTrackBaseProxyBuilder::m_trackUtils, FWProxyBuilderBase::setupAddElement(), and FWPFTrackUtils::setupRPZTrack().

{
   TEveTrack *trk = m_trackUtils->setupRPZTrack( iData );
   TEvePointSet *ps = m_trackUtils->getCollisionMarkers( trk );
   setupAddElement( trk, &oItemHolder );
   if( ps->GetN() != 0 )
      setupAddElement( ps, &oItemHolder );
   else
      delete ps;
}
float FWPFTrack3DProxyBuilder::linearInterpolation ( const TEveVector &  p1,
const TEveVector &  p2,
float  r 
) [private]
const FWPFTrack3DProxyBuilder& FWPFTrack3DProxyBuilder::operator= ( const FWPFTrack3DProxyBuilder ) [private]
FWPFTrack3DProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )

Reimplemented from FWPFTrackBaseProxyBuilder.