#include <FWPFBlockProxyBuilder.h>
Public Types | |
enum | BuilderType { BASE =0, ECAL =1, HCAL =2 } |
Public Member Functions | |
FWPFBlockProxyBuilder () | |
REGISTER_PROXYBUILDER_METHODS () | |
virtual | ~FWPFBlockProxyBuilder () |
Public Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::PFBlock > | |
FWSimpleProxyBuilderTemplate () | |
Public Member Functions inherited from FWSimpleProxyBuilder | |
FWSimpleProxyBuilder (const std::type_info &iType) | |
virtual | ~FWSimpleProxyBuilder () |
Public Member Functions inherited from FWProxyBuilderBase | |
void | build () |
virtual bool | canHandle (const FWEventItem &) |
const fireworks::Context & | context () const |
TEveElementList * | createProduct (FWViewType::EType, const FWViewContext *) |
FWProxyBuilderBase () | |
bool | getHaveWindow () const |
const FWEventItem * | item () const |
virtual void | itemBeingDestroyed (const FWEventItem *) |
void | itemChanged (const FWEventItem *) |
int | layer () const |
void | modelChanges (const FWModelIds &) |
void | removePerViewProduct (FWViewType::EType, const FWViewContext *vc) |
void | scaleChanged (const FWViewContext *) |
void | setHaveWindow (bool iFlag) |
virtual void | setInteractionList (FWInteractionList *, const std::string &) |
virtual void | setItem (const FWEventItem *iItem) |
void | setupAddElement (TEveElement *el, TEveElement *parent, bool set_color=true) const |
void | setupElement (TEveElement *el, bool color=true) const |
virtual bool | willHandleInteraction () const |
virtual | ~FWProxyBuilderBase () |
Protected Member Functions | |
virtual void | buildViewType (const reco::PFBlock &, unsigned int, TEveElement &, FWViewType::EType, const FWViewContext *) |
virtual void | cleanLocal () |
void | clusterSharedBuild (const reco::PFCluster &, TEveElement &, const FWViewContext *) |
virtual bool | havePerViewProduct (FWViewType::EType) const |
virtual bool | haveSingleProduct () const |
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
void | setupClusterElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType, float r) |
void | setupTrackElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType) |
Protected Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::PFBlock > | |
virtual void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) |
virtual void | build (const reco::PFBlock &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
virtual void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) |
const reco::PFBlock & | modelData (int index) |
Protected Member Functions inherited from FWSimpleProxyBuilder | |
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) |
virtual void | clean () |
Protected Member Functions inherited from FWProxyBuilderBase | |
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
FWProxyBuilderBase (const FWProxyBuilderBase &) | |
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
virtual void | modelChanges (const FWModelIds &, Product *) |
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
Protected Attributes | |
BuilderType | e_builderType |
std::vector< ScalableLines > | m_clusters |
Protected Attributes inherited from FWSimpleProxyBuilder | |
FWSimpleProxyHelper | m_helper |
Protected Attributes inherited from FWProxyBuilderBase | |
std::vector< Product * > | m_products |
Private Member Functions | |
FWPFBlockProxyBuilder (const FWPFBlockProxyBuilder &) | |
const FWPFBlockProxyBuilder & | operator= (const FWPFBlockProxyBuilder &) |
Additional Inherited Members | |
Static Public Member Functions inherited from FWSimpleProxyBuilder | |
static std::string | typeOfBuilder () |
Used by the plugin system to determine how the proxy uses the data from FWEventItem. More... | |
Static Public Member Functions inherited from FWProxyBuilderBase | |
static bool | representsSubPart () |
static std::string | typeOfBuilder () |
Used by the plugin system to determine how the proxy uses the data from FWEventItem. More... | |
Protected Types inherited from FWProxyBuilderBase | |
typedef std::vector< Product * > ::iterator | Product_it |
Definition at line 37 of file FWPFBlockProxyBuilder.h.
|
inline |
Definition at line 43 of file FWPFBlockProxyBuilder.h.
|
inlinevirtual |
Definition at line 44 of file FWPFBlockProxyBuilder.h.
|
private |
|
protectedvirtual |
Reimplemented from FWSimpleProxyBuilderTemplate< reco::PFBlock >.
Definition at line 158 of file FWPFBlockProxyBuilder.cc.
References BASE, FWPFGeom::caloR1(), FWPFGeom::caloR2(), FWProxyBuilderBase::context(), e_builderType, ECAL, reco::PFBlock::elements(), asciidump::elements, HCAL, i, FWViewType::kRhoPhiPF, setupClusterElement(), setupTrackElement(), and edm::OwnVector< T, P >::size().
|
inlineprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 65 of file FWPFBlockProxyBuilder.h.
References m_clusters.
|
protected |
|
inlineprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 56 of file FWPFBlockProxyBuilder.h.
|
inlineprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 59 of file FWPFBlockProxyBuilder.h.
|
private |
FWPFBlockProxyBuilder::REGISTER_PROXYBUILDER_METHODS | ( | ) |
|
protectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 6 of file FWPFBlockProxyBuilder.cc.
References FWProxyBuilderBase::context(), FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), i, j, FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_clusters, FWLegoCandidate::updateScale(), and relativeConstraints::value.
|
protected |
Definition at line 112 of file FWPFBlockProxyBuilder.cc.
References FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWPFMaths::calculateEt(), FWPFGeom::caloZ1(), reco::PFBlockElement::clusterRef(), FWDisplayProperties::color(), create_public_lumi_plots::color, FWProxyBuilderBase::context(), FWEventItem::defaultDisplayProperties(), reco::dp, relval_parameters_module::energy, reco::PFCluster::energy(), reco::CaloCluster::eta(), eta(), FWProxyBuilderBase::item(), FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_clusters, phi, reco::CaloCluster::phi(), RecoTauCleanerPlugins::pt, FWProxyBuilderBase::setupAddElement(), fireworks::Context::voteMaxEtAndEnergy(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
Referenced by buildViewType().
|
protected |
Definition at line 45 of file FWPFBlockProxyBuilder.cc.
References a, b, trackerHits::c, reco::PFBlockElement::DEFAULT, FWPFTrackUtils::getCollisionMarkers(), i, FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, prof2calltree::last, FWProxyBuilderBase::setupAddElement(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), reco::PFBlockElement::trackRef(), reco::PFBlockElement::trackType(), detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by buildViewType().
|
protected |
Definition at line 72 of file FWPFBlockProxyBuilder.h.
Referenced by buildViewType(), FWPFBlockEcalProxyBuilder::FWPFBlockEcalProxyBuilder(), and FWPFBlockHcalProxyBuilder::FWPFBlockHcalProxyBuilder().
|
protected |
Definition at line 73 of file FWPFBlockProxyBuilder.h.
Referenced by cleanLocal(), scaleProduct(), and setupClusterElement().