CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWL1EmParticleProxyBuilder Class Reference

Inheritance diagram for FWL1EmParticleProxyBuilder:
FWSimpleProxyBuilderTemplate< l1extra::L1EmParticle > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWL1EmParticleProxyBuilder (void)
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWL1EmParticleProxyBuilder (void)

Private Member Functions

virtual void build (const l1extra::L1EmParticle &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWL1EmParticleProxyBuilder (const FWL1EmParticleProxyBuilder &)
const FWL1EmParticleProxyBuilderoperator= (const FWL1EmParticleProxyBuilder &)

Detailed Description

Definition at line 19 of file FWL1EmParticleProxyBuilder.cc.


Constructor & Destructor Documentation

FWL1EmParticleProxyBuilder::FWL1EmParticleProxyBuilder ( void  ) [inline]

Definition at line 22 of file FWL1EmParticleProxyBuilder.cc.

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

Definition at line 23 of file FWL1EmParticleProxyBuilder.cc.

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

Member Function Documentation

void FWL1EmParticleProxyBuilder::build ( const l1extra::L1EmParticle 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< l1extra::L1EmParticle >.

Definition at line 35 of file FWL1EmParticleProxyBuilder.cc.

References fireworks::addDashedLine(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), and reco::LeafCandidate::theta().

{
   double scale = 10;

   fireworks::addDashedLine( iData.phi(), iData.theta(), iData.pt() * scale, &oItemHolder, this );
}
const FWL1EmParticleProxyBuilder& FWL1EmParticleProxyBuilder::operator= ( const FWL1EmParticleProxyBuilder ) [private]
FWL1EmParticleProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )