#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 () | |
FWPFEcalRecHitLegoProxyBuilder (const FWPFEcalRecHitLegoProxyBuilder &)=delete | |
float | getMaxVal (bool et) const |
float | getMaxValLog (bool et) const |
bool | havePerViewProduct (FWViewType::EType) const override |
const FWPFEcalRecHitLegoProxyBuilder & | operator= (const FWPFEcalRecHitLegoProxyBuilder &)=delete |
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 (const FWProxyBuilderTemplate &)=delete | |
const FWProxyBuilderTemplate & | operator= (const FWProxyBuilderTemplate &)=delete |
~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 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 39 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inlineoverride |
Definition at line 40 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
delete |
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 51 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References calculateCentre(), FWPFMaths::calculateEt(), FWProxyBuilderBase::context(), FWProxyBuilderBase::createCompound(), cuy::cv, EcalRecHit::detid(), hcalRecHitTable_cff::energy, EcalRecHit::energy(), l1tnanotables_cff::et, FWGeometry::getCorners(), FWEventItem::getGeom(), mps_fire::i, FWProxyBuilderBase::item(), dqmiolumiharvest::j, dqmdumpme::k, FWViewType::kLegoPFECAL, dqm-mbProfile::log, m_maxEnergy, m_maxEnergyLog, m_maxEt, m_maxEtLog, m_recHits, FWProxyBuilderTemplate< EcalRecHit >::modelData(), Pi, rpcPointValidation_cfi::recHit, scaleProduct(), FWEventItem::size(), and fireworks::Context::voteMaxEtAndEnergy().
TEveVector FWPFEcalRecHitLegoProxyBuilder::calculateCentre | ( | const std::vector< TEveVector > & | corners | ) | const |
Definition at line 37 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References mps_fire::i.
Referenced by build().
|
static |
Definition at line 130 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 130 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 130 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
static |
Definition at line 130 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 122 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References mps_fire::i, and m_recHits.
|
inline |
Definition at line 54 of file FWPFEcalRecHitLegoProxyBuilder.h.
References l1tnanotables_cff::et, m_maxEnergy, and m_maxEt.
Referenced by scaleProduct().
|
inline |
Definition at line 53 of file FWPFEcalRecHitLegoProxyBuilder.h.
References l1tnanotables_cff::et, m_maxEnergyLog, and m_maxEtLog.
Referenced by scaleProduct().
|
inlineoverridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 48 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
overrideprotectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 22 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References mps_fire::i, FWModelId::index(), FWProxyBuilderBase::item(), mps_splice::line, and class-composition::parent.
|
delete |
|
inline |
Definition at line 56 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 4 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References b, FWViewContext::getEnergyScale(), getMaxVal(), getMaxValLog(), FWViewEnergyScale::getPlotEt(), mps_fire::i, and m_recHits.
Referenced by build().
|
inline |
Definition at line 56 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inlinestatic |
Definition at line 42 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inline |
Definition at line 56 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
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 74 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxVal().
|
private |
Definition at line 76 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), and getMaxValLog().
|
private |
Definition at line 77 of file FWPFEcalRecHitLegoProxyBuilder.h.
Referenced by build(), cleanLocal(), and scaleProduct().