CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWCandidateProxyBuilder Class Reference

Inheritance diagram for FWCandidateProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Candidate > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWCandidateProxyBuilder ()
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWCandidateProxyBuilder ()

Private Member Functions

void build (const reco::Candidate &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWCandidateProxyBuilder (const FWCandidateProxyBuilder &)
const FWCandidateProxyBuilderoperator= (const FWCandidateProxyBuilder &)

Detailed Description

Definition at line 24 of file FWCandidateProxyBuilder.cc.


Constructor & Destructor Documentation

FWCandidateProxyBuilder::FWCandidateProxyBuilder ( ) [inline]

Definition at line 27 of file FWCandidateProxyBuilder.cc.

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

Definition at line 28 of file FWCandidateProxyBuilder.cc.

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

Member Function Documentation

void FWCandidateProxyBuilder::build ( const reco::Candidate 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::Candidate >.

Definition at line 41 of file FWCandidateProxyBuilder.cc.

References FWProxyBuilderBase::context(), fireworks::prepareCandidate(), and FWProxyBuilderBase::setupAddElement().

{
   TEveTrack* trk = fireworks::prepareCandidate( iData, context().getTrackPropagator() ); 
   
   trk->MakeTrack();
   setupAddElement(trk, &oItemHolder);
}
const FWCandidateProxyBuilder& FWCandidateProxyBuilder::operator= ( const FWCandidateProxyBuilder ) [private]
FWCandidateProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )