#include <FWCaloDataHistProxyBuilder.h>
Public Member Functions | |
FWCaloDataHistProxyBuilder () | |
~FWCaloDataHistProxyBuilder () override | |
Public Member Functions inherited from FWCaloDataProxyBuilderBase | |
FWCaloDataProxyBuilderBase () | |
bool | willHandleInteraction () const override |
~FWCaloDataProxyBuilderBase () 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 |
virtual bool | havePerViewProduct (FWViewType::EType) const |
virtual bool | haveSingleProduct () const |
const FWEventItem * | item () const |
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 | ~FWProxyBuilderBase () |
Protected Member Functions | |
void | addEntryToTEveCaloData (float eta, float phi, float Et, bool isSelected) |
bool | assertCaloDataSlice () override |
virtual FWHistSliceSelector * | instantiateSliceSelector ()=0 |
void | itemBeingDestroyed (const FWEventItem *) override |
void | setCaloData (const fireworks::Context &) override |
Protected Member Functions inherited from FWCaloDataProxyBuilderBase | |
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
virtual void | fillCaloData ()=0 |
void | itemBeingDestroyed (const FWEventItem *) override |
Protected Member Functions inherited from FWProxyBuilderBase | |
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
virtual void | clean () |
virtual void | cleanLocal () |
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) |
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
Protected Attributes | |
TH2F * | m_hist |
FWHistSliceSelector * | m_sliceSelector |
Protected Attributes inherited from FWCaloDataProxyBuilderBase | |
TEveCaloData * | m_caloData |
Int_t | m_sliceIndex |
Protected Attributes inherited from FWProxyBuilderBase | |
std::vector< Product * > | m_products |
Additional Inherited Members | |
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 10 of file FWCaloDataHistProxyBuilder.h.
FWCaloDataHistProxyBuilder::FWCaloDataHistProxyBuilder | ( | ) |
Definition at line 14 of file FWCaloDataHistProxyBuilder.cc.
|
override |
Definition at line 15 of file FWCaloDataHistProxyBuilder.cc.
|
protected |
Definition at line 76 of file FWCaloDataHistProxyBuilder.cc.
References Abs(), FWHistSliceSelector::aggregatePhiCells(), ztail::d, PVValHelper::eta, isSelected(), FWCaloDataProxyBuilderBase::m_caloData, m_hist, FWCaloDataProxyBuilderBase::m_sliceIndex, m_sliceSelector, phi, Pi, and fw3dlego::xbins.
Referenced by FWHGCalMultiClusterLegoProxyBuilder::fillCaloData(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), and FWCaloTowerProxyBuilderBase::fillCaloData().
|
overrideprotectedvirtual |
Implements FWCaloDataProxyBuilderBase.
Definition at line 40 of file FWCaloDataHistProxyBuilder.cc.
References cms::cuda::assert(), newFWLiteAna::base, instantiateSliceSelector(), FWProxyBuilderBase::item(), FWCaloDataProxyBuilderBase::m_caloData, m_hist, M_PI, FWCaloDataProxyBuilderBase::m_sliceIndex, m_sliceSelector, Skims_PA_cff::name, EgammaValidation_Wenu_cff::sel, mps_update::status, fw3dlego::xbins, and fw3dlego::xbins_n.
|
protectedpure virtual |
Implemented in FWCaloTowerProxyBuilderBase, FWPFCandidateTowerProxyBuilder, FWCandidateTowerProxyBuilder, and FWHGCalMultiClusterLegoProxyBuilder.
Referenced by assertCaloDataSlice().
|
overrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 33 of file FWCaloDataHistProxyBuilder.cc.
References FWCaloDataProxyBuilderBase::itemBeingDestroyed(), and m_hist.
|
overrideprotectedvirtual |
Implements FWCaloDataProxyBuilderBase.
Definition at line 31 of file FWCaloDataHistProxyBuilder.cc.
References FWProxyBuilderBase::context(), fireworks::Context::getCaloData(), and FWCaloDataProxyBuilderBase::m_caloData.
|
protected |
Definition at line 22 of file FWCaloDataHistProxyBuilder.h.
Referenced by addEntryToTEveCaloData(), assertCaloDataSlice(), FWHGCalMultiClusterLegoProxyBuilder::fillCaloData(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHGCalMultiClusterLegoProxyBuilder::instantiateSliceSelector(), FWCandidateTowerProxyBuilder::instantiateSliceSelector(), FWPFCandidateTowerProxyBuilder::instantiateSliceSelector(), FWCaloTowerProxyBuilderBase::instantiateSliceSelector(), and itemBeingDestroyed().
|
protected |
Definition at line 23 of file FWCaloDataHistProxyBuilder.h.
Referenced by addEntryToTEveCaloData(), and assertCaloDataSlice().