CMS 3D CMS Logo

Public Member Functions | Private Member Functions

FWPFEcalClusterRPZProxyBuilder Class Reference

#include <FWPFClusterRPZProxyBuilder.h>

Inheritance diagram for FWPFEcalClusterRPZProxyBuilder:
FWPFClusterRPZProxyBuilder FWSimpleProxyBuilderTemplate< reco::PFCluster > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

virtual void build (const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc)
 FWPFEcalClusterRPZProxyBuilder ()
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWPFEcalClusterRPZProxyBuilder ()

Private Member Functions

 FWPFEcalClusterRPZProxyBuilder (const FWPFEcalClusterRPZProxyBuilder &)
const
FWPFEcalClusterRPZProxyBuilder
operator= (const FWPFEcalClusterRPZProxyBuilder &)

Detailed Description

Definition at line 61 of file FWPFClusterRPZProxyBuilder.h.


Constructor & Destructor Documentation

FWPFEcalClusterRPZProxyBuilder::FWPFEcalClusterRPZProxyBuilder ( ) [inline]

Definition at line 65 of file FWPFClusterRPZProxyBuilder.h.

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

Definition at line 66 of file FWPFClusterRPZProxyBuilder.h.

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

Member Function Documentation

void FWPFEcalClusterRPZProxyBuilder::build ( const reco::PFCluster iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
const FWViewContext  
) [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 FWPFClusterRPZProxyBuilder.

Definition at line 81 of file FWPFClusterRPZProxyBuilder.cc.

References FWEventItem::ModelInfo::displayProperties(), FWPFUtils::getCaloR1(), FWPFUtils::getCaloR2(), info, FWDisplayProperties::isVisible(), FWProxyBuilderBase::item(), reco::PFCluster::layer(), FWProxyBuilderBase::layer(), FWPFClusterRPZProxyBuilder::m_pfUtils, FWEventItem::modelInfo(), and FWPFClusterRPZProxyBuilder::sharedBuild().

{
   PFLayer::Layer layer = iData.layer();
   const FWEventItem::ModelInfo &info = item()->modelInfo( iIndex );
   if( info.displayProperties().isVisible() )
   {
      if( layer < 0 )
         sharedBuild( iData, iIndex, oItemHolder, vc, m_pfUtils->getCaloR1() );
      else
         sharedBuild( iData, iIndex, oItemHolder, vc, m_pfUtils->getCaloR2() );
   }
}
const FWPFEcalClusterRPZProxyBuilder& FWPFEcalClusterRPZProxyBuilder::operator= ( const FWPFEcalClusterRPZProxyBuilder ) [private]
FWPFEcalClusterRPZProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )

Reimplemented from FWPFClusterRPZProxyBuilder.