#include <FWPFEcalRecHitLegoProxyBuilder.h>
Public Member Functions | |
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
TEveVector | calculateCentre (const std::vector< TEveVector > &corners) const |
void | cleanLocal () override |
FWPFEcalRecHitLegoProxyBuilder () | |
float | getMaxVal (bool et) const |
float | getMaxValLog (bool et) const |
bool | havePerViewProduct (FWViewType::EType) const override |
const std::string & | purpose () const |
void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override |
const std::string & | typeName () const |
const std::string & | view () const |
~FWPFEcalRecHitLegoProxyBuilder () override | |
Public Member Functions inherited from FWProxyBuilderTemplate< EcalRecHit > | |
FWProxyBuilderTemplate () | |
~FWProxyBuilderTemplate () 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 | haveSingleProduct () 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 std::string | typeOfBuilder () |
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 | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override |
Protected Member Functions inherited from FWProxyBuilderTemplate< EcalRecHit > | |
const EcalRecHit & | modelData (int index) |
Protected Member Functions inherited from FWProxyBuilderBase | |
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
virtual void | clean () |
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 | modelChanges (const FWModelIds &, Product *) |
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
Private Member Functions | |
FWPFEcalRecHitLegoProxyBuilder (const FWPFEcalRecHitLegoProxyBuilder &)=delete | |
const FWPFEcalRecHitLegoProxyBuilder & | operator= (const FWPFEcalRecHitLegoProxyBuilder &)=delete |
Private Attributes | |
float | m_maxEnergy |
float | m_maxEnergyLog |
float | m_maxEt |
float | m_maxEtLog |
std::vector< FWPFLegoRecHit * > | m_recHits |
Additional Inherited Members | |
Protected Types inherited from FWProxyBuilderBase | |
typedef std::vector< Product * >::iterator | Product_it |
Protected Attributes inherited from FWProxyBuilderBase | |
std::vector< Product * > | m_products |
Definition at line 36 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inline |
Definition at line 40 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inlineoverride |
Definition at line 41 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
privatedelete |
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 59 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References calculateCentre(), FWPFMaths::calculateEt(), create_public_lumi_plots::color, FWProxyBuilderBase::context(), FWProxyBuilderBase::createCompound(), cuy::cv, EcalRecHit::detid(), EcalRecHit::energy(), stringResolutionProvider_cfi::et, FWGeometry::getCorners(), FWEventItem::getGeom(), mps_fire::i, FWProxyBuilderBase::item(), gen::k, FWViewType::kLegoPFECAL, cmsBatch::log, m_maxEnergy, m_maxEnergyLog, m_maxEt, m_maxEtLog, m_recHits, FWProxyBuilderTemplate< EcalRecHit >::modelData(), Pi, rpcPointValidation_cfi::recHit, scaleProduct(), FWPFLegoRecHit::setSquareColor(), FWEventItem::size(), and fireworks::Context::voteMaxEtAndEnergy().
TEveVector FWPFEcalRecHitLegoProxyBuilder::calculateCentre | ( | const std::vector< TEveVector > & | corners | ) | const |
Definition at line 42 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References mps_fire::i.
Referenced by build(), and havePerViewProduct().
|
static |
Definition at line 140 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 140 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 140 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 140 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 131 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References mps_fire::i, and m_recHits.
Referenced by havePerViewProduct().
|
inline |
Definition at line 55 of file FWPFEcalRecHitLegoProxyBuilder.h.
References m_maxEnergy, and m_maxEt.
Referenced by scaleProduct().
|
inline |
Definition at line 54 of file FWPFEcalRecHitLegoProxyBuilder.h.
References m_maxEnergyLog, and m_maxEtLog.
Referenced by scaleProduct().
|
inlineoverridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 49 of file FWPFEcalRecHitLegoProxyBuilder.h.
References calculateCentre(), and cleanLocal().
|
overrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 24 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References FWDisplayProperties::color(), mps_fire::i, FWModelId::index(), FWProxyBuilderBase::item(), geometryCSVtoXML::line, FWEventItem::modelInfo(), and AlCaHLTBitMon_ParallelJobs::p.
|
privatedelete |
|
inline |
Definition at line 57 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 5 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References b, FWViewContext::getEnergyScale(), getMaxVal(), getMaxValLog(), FWViewEnergyScale::getPlotEt(), mps_fire::i, and m_recHits.
Referenced by build(), and typeOfBuilder().
|
inline |
Definition at line 57 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inlinestatic |
Definition at line 43 of file FWPFEcalRecHitLegoProxyBuilder.h.
References FWProxyBuilderBase::build(), class-composition::parent, and scaleProduct().
|
inline |
Definition at line 57 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
private |
Definition at line 72 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxVal().
|
private |
Definition at line 74 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxValLog().
|
private |
Definition at line 73 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxVal().
|
private |
Definition at line 75 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxValLog().
|
private |
Definition at line 76 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), cleanLocal(), and scaleProduct().