CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWMuonGlimpseProxyBuilder Class Reference

Inheritance diagram for FWMuonGlimpseProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Muon > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWMuonGlimpseProxyBuilder (void)
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWMuonGlimpseProxyBuilder (void)

Private Member Functions

void build (const reco::Muon &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWMuonGlimpseProxyBuilder (const FWMuonGlimpseProxyBuilder &)
const FWMuonGlimpseProxyBuilderoperator= (const FWMuonGlimpseProxyBuilder &)

Detailed Description

Definition at line 14 of file FWMuonGlimpseProxyBuilder.cc.


Constructor & Destructor Documentation

FWMuonGlimpseProxyBuilder::FWMuonGlimpseProxyBuilder ( void  ) [inline]

Definition at line 17 of file FWMuonGlimpseProxyBuilder.cc.

{}
virtual FWMuonGlimpseProxyBuilder::~FWMuonGlimpseProxyBuilder ( void  ) [inline, virtual]

Definition at line 18 of file FWMuonGlimpseProxyBuilder.cc.

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

Member Function Documentation

void FWMuonGlimpseProxyBuilder::build ( const reco::Muon 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::Muon >.

Definition at line 32 of file FWMuonGlimpseProxyBuilder.cc.

References fireworks::addStraightLineSegment(), create_public_lumi_plots::marker, and FWProxyBuilderBase::setupAddElement().

{
   TEveScalableStraightLineSet* marker = new TEveScalableStraightLineSet( "", "" );
   marker->SetLineWidth( 2 );
   fireworks::addStraightLineSegment( marker, &iData, 1.0 );
   setupAddElement( marker, &oItemHolder );
   //add to scaler at end so that it can scale the line after all ends have been added
   // FIXME:   scaler()->addElement(marker);
}
const FWMuonGlimpseProxyBuilder& FWMuonGlimpseProxyBuilder::operator= ( const FWMuonGlimpseProxyBuilder ) [private]
FWMuonGlimpseProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )