#include <FWPFEcalRecHitLegoProxyBuilder.h>
Public Member Functions | |
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
TEveVector | calculateCentre (const std::vector< TEveVector > &corners) const |
virtual void | cleanLocal () |
FWPFEcalRecHitLegoProxyBuilder () | |
float | getMaxVal (bool et) const |
float | getMaxValLog (bool et) const |
virtual bool | havePerViewProduct (FWViewType::EType) const |
const std::string & | purpose () const |
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
const std::string & | typeName () const |
const std::string & | view () const |
virtual | ~FWPFEcalRecHitLegoProxyBuilder () |
Public Member Functions inherited from FWProxyBuilderTemplate< EcalRecHit > | |
FWProxyBuilderTemplate () | |
virtual | ~FWProxyBuilderTemplate () |
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 | |
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
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 &) | |
const FWPFEcalRecHitLegoProxyBuilder & | operator= (const FWPFEcalRecHitLegoProxyBuilder &) |
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.
|
inlinevirtual |
Definition at line 41 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
private |
|
virtual |
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(), relval_parameters_module::energy, EcalRecHit::energy(), FWGeometry::getCorners(), FWEventItem::getGeom(), i, cmsHarvester::index, FWProxyBuilderBase::item(), j, gen::k, FWViewType::kLegoPFECAL, fff_deleter::log, m_maxEnergy, m_maxEnergyLog, m_maxEt, m_maxEtLog, m_recHits, FWProxyBuilderTemplate< EcalRecHit >::modelData(), Pi, 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 i.
Referenced by build().
|
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.
|
virtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 131 of file FWPFEcalRecHitLegoProxyBuilder.cc.
|
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().
|
inlinevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 49 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
protectedvirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 24 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References FWDisplayProperties::color(), i, FWModelId::index(), FWProxyBuilderBase::item(), geometryCSVtoXML::line, FWEventItem::modelInfo(), and AlCaHLTBitMon_ParallelJobs::p.
|
private |
|
inline |
Definition at line 57 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
virtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 5 of file FWPFEcalRecHitLegoProxyBuilder.cc.
References b, FWViewContext::getEnergyScale(), getMaxVal(), getMaxValLog(), FWViewEnergyScale::getPlotEt(), i, and m_recHits.
Referenced by build().
|
inline |
Definition at line 57 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
inlinestatic |
Definition at line 43 of file FWPFEcalRecHitLegoProxyBuilder.h.
|
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().