#include <FWPFBlockProxyBuilder.h>
Public Types | |
enum | BuilderType { BASE =0, ECAL =1, HCAL =2 } |
Public Member Functions | |
FWPFBlockProxyBuilder () | |
const std::string & | purpose () const |
const std::string & | typeName () const |
const std::string & | view () const |
~FWPFBlockProxyBuilder () override | |
Public Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::PFBlock > | |
FWSimpleProxyBuilderTemplate () | |
Public Member Functions inherited from FWSimpleProxyBuilder | |
FWSimpleProxyBuilder (const std::type_info &iType) | |
~FWSimpleProxyBuilder () override | |
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 () |
Static Public Member Functions | |
static const std::string & | classPurpose () |
static const std::string & | classRegisterTypeName () |
static const std::string & | classTypeName () |
static const std::string & | classView () |
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 Member Functions | |
void | buildViewType (const reco::PFBlock &, unsigned int, TEveElement &, FWViewType::EType, const FWViewContext *) override |
void | cleanLocal () override |
void | clusterSharedBuild (const reco::PFCluster &, TEveElement &, const FWViewContext *) |
bool | havePerViewProduct (FWViewType::EType) const override |
bool | haveSingleProduct () const override |
void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override |
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 > | |
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
virtual void | build (const reco::PFBlock &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
const reco::PFBlock & | modelData (int index) |
Protected Member Functions inherited from FWSimpleProxyBuilder | |
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
void | clean () override |
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 | |
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.
|
inlineoverride |
Definition at line 44 of file FWPFBlockProxyBuilder.h.
|
private |
|
overrideprotectedvirtual |
Reimplemented from FWSimpleProxyBuilderTemplate< reco::PFBlock >.
Definition at line 158 of file FWPFBlockProxyBuilder.cc.
References BASE, FWPFGeom::caloR1(), FWPFGeom::caloR2(), FWProxyBuilderBase::context(), e_builderType, ECAL, allElectronIsolations_cfi::elements, reco::PFBlock::elements(), mps_fire::i, FWViewType::kLegoBit, FWViewType::kRhoPhiPF, FWViewType::kRhoPhiPFBit, REGISTER_FWPROXYBUILDER, setupClusterElement(), setupTrackElement(), and edm::OwnVector< T, P >::size().
Referenced by cleanLocal().
|
static |
Definition at line 196 of file FWPFBlockProxyBuilder.cc.
|
static |
Definition at line 196 of file FWPFBlockProxyBuilder.cc.
|
static |
Definition at line 196 of file FWPFBlockProxyBuilder.cc.
|
static |
Definition at line 196 of file FWPFBlockProxyBuilder.cc.
|
inlineoverrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 65 of file FWPFBlockProxyBuilder.h.
References buildViewType(), and m_clusters.
|
protected |
|
inlineoverrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 56 of file FWPFBlockProxyBuilder.h.
References FWProxyBuilderBase::haveSingleProduct().
|
inlineoverrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 59 of file FWPFBlockProxyBuilder.h.
References FWProxyBuilderBase::cleanLocal(), class-composition::parent, scaleProduct(), and FWProxyBuilderBase::scaleProduct().
|
private |
|
inline |
Definition at line 46 of file FWPFBlockProxyBuilder.h.
|
overrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 6 of file FWPFBlockProxyBuilder.cc.
References FWProxyBuilderBase::context(), FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), mps_fire::i, FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_clusters, FWLegoCandidate::updateScale(), and relativeConstraints::value.
Referenced by haveSingleProduct().
|
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, reco::PFCluster::energy(), stringResolutionProvider_cfi::et, PVValHelper::eta, reco::CaloCluster::eta(), FWProxyBuilderBase::item(), FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_clusters, phi, reco::CaloCluster::phi(), EnergyCorrector::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, EnergyCorrector::c, reco::PFBlockElement::DEFAULT, FWPFTrackUtils::getCollisionMarkers(), mps_fire::i, FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, plotBeamSpotDB::last, FWProxyBuilderBase::setupAddElement(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), HiIsolationCommonParameters_cff::track, reco::PFBlockElement::trackRef(), reco::PFBlockElement::trackType(), y, and z.
Referenced by buildViewType().
|
inline |
Definition at line 46 of file FWPFBlockProxyBuilder.h.
|
inline |
Definition at line 46 of file FWPFBlockProxyBuilder.h.
|
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().