#include <FWPFClusterRPZProxyBuilder.h>
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 &) |
Definition at line 60 of file FWPFClusterRPZProxyBuilder.h.
FWPFEcalClusterRPZProxyBuilder::FWPFEcalClusterRPZProxyBuilder | ( | ) | [inline] |
Definition at line 64 of file FWPFClusterRPZProxyBuilder.h.
{}
virtual FWPFEcalClusterRPZProxyBuilder::~FWPFEcalClusterRPZProxyBuilder | ( | ) | [inline, virtual] |
Definition at line 65 of file FWPFClusterRPZProxyBuilder.h.
{}
FWPFEcalClusterRPZProxyBuilder::FWPFEcalClusterRPZProxyBuilder | ( | const FWPFEcalClusterRPZProxyBuilder & | ) | [private] |
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 FWPFGeom::caloR1(), FWPFGeom::caloR2(), FWEventItem::ModelInfo::displayProperties(), info, FWDisplayProperties::isVisible(), FWProxyBuilderBase::item(), reco::PFCluster::layer(), FWProxyBuilderBase::layer(), 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, FWPFGeom::caloR1() ); else sharedBuild( iData, iIndex, oItemHolder, vc, FWPFGeom::caloR2() ); } }
const FWPFEcalClusterRPZProxyBuilder& FWPFEcalClusterRPZProxyBuilder::operator= | ( | const FWPFEcalClusterRPZProxyBuilder & | ) | [private] |
FWPFEcalClusterRPZProxyBuilder::REGISTER_PROXYBUILDER_METHODS | ( | ) |
Reimplemented from FWPFClusterRPZProxyBuilder.