#include <FWPFEcalRecHitRPProxyBuilder.h>
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
void | cleanLocal () override |
|
| FWPFEcalRecHitRPProxyBuilder () |
|
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 |
|
| ~FWPFEcalRecHitRPProxyBuilder () override |
|
| FWProxyBuilderTemplate () |
|
| ~FWProxyBuilderTemplate () override |
|
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 () |
|
|
typedef std::vector< Product * >::iterator | Product_it |
|
const EcalRecHit & | modelData (int index) |
|
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 | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
|
std::vector< Product * > | m_products |
|
◆ FWPFEcalRecHitRPProxyBuilder() [1/2]
FWPFEcalRecHitRPProxyBuilder::FWPFEcalRecHitRPProxyBuilder |
( |
| ) |
|
|
inline |
◆ ~FWPFEcalRecHitRPProxyBuilder()
FWPFEcalRecHitRPProxyBuilder::~FWPFEcalRecHitRPProxyBuilder |
( |
| ) |
|
|
inlineoverride |
◆ FWPFEcalRecHitRPProxyBuilder() [2/2]
◆ build()
void FWPFEcalRecHitRPProxyBuilder::build |
( |
const FWEventItem * |
iItem, |
|
|
TEveElementList * |
product, |
|
|
const FWViewContext * |
vc |
|
) |
| |
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 42 of file FWPFEcalRecHitRPProxyBuilder.cc.
44 for (
unsigned int index = 0; index < static_cast<unsigned int>(iItem->
size()); ++
index) {
46 product->AddElement(itemHolder);
49 if (
info.displayProperties().isVisible()) {
66 for (
unsigned int i = 0;
i <
m_towers.size();
i++) {
68 if ((lPhi ==
phi) || ((lPhi <
phi + 0.0005) && (lPhi >
phi - 0.0005))) {
77 rVec.fX = ecalR *
cos(rPhi);
78 rVec.fY = ecalR *
sin(rPhi);
79 lVec.fX = ecalR *
cos(lPhi);
80 lVec.fY = ecalR *
sin(lPhi);
81 std::vector<TEveVector> bCorners(2);
References calculateCentre(), FWPFMaths::calculateEt(), FWPFGeom::caloR1(), FWProxyBuilderBase::context(), funct::cos(), FWProxyBuilderBase::createCompound(), EcalRecHit::detid(), EcalRecHit::energy(), EgHLTOffHistBins_cfi::et, FWGeometry::getCorners(), FWEventItem::getGeom(), mps_fire::i, info(), FWProxyBuilderBase::item(), m_towers, FWProxyBuilderTemplate< EcalRecHit >::modelData(), FWEventItem::modelInfo(), phi, funct::sin(), FWEventItem::size(), AlignmentTracksFromVertexSelector_cfi::vertices, and fireworks::Context::voteMaxEtAndEnergy().
◆ calculateCentre()
TEveVector FWPFEcalRecHitRPProxyBuilder::calculateCentre |
( |
const float * |
corners | ) |
|
|
private |
◆ classPurpose()
const std::string & FWPFEcalRecHitRPProxyBuilder::classPurpose |
( |
| ) |
|
|
static |
◆ classRegisterTypeName()
const std::string & FWPFEcalRecHitRPProxyBuilder::classRegisterTypeName |
( |
| ) |
|
|
static |
◆ classTypeName()
const std::string & FWPFEcalRecHitRPProxyBuilder::classTypeName |
( |
| ) |
|
|
static |
◆ classView()
const std::string & FWPFEcalRecHitRPProxyBuilder::classView |
( |
| ) |
|
|
static |
◆ cleanLocal()
void FWPFEcalRecHitRPProxyBuilder::cleanLocal |
( |
| ) |
|
|
overridevirtual |
◆ havePerViewProduct()
◆ operator=()
◆ purpose()
const std::string& FWPFEcalRecHitRPProxyBuilder::purpose |
( |
| ) |
const |
|
inline |
◆ scaleProduct()
◆ typeName()
const std::string& FWPFEcalRecHitRPProxyBuilder::typeName |
( |
| ) |
const |
|
inline |
◆ typeOfBuilder()
static std::string FWPFEcalRecHitRPProxyBuilder::typeOfBuilder |
( |
| ) |
|
|
inlinestatic |
◆ view()
const std::string& FWPFEcalRecHitRPProxyBuilder::view |
( |
| ) |
const |
|
inline |
◆ m_towers
void voteMaxEtAndEnergy(float Et, float energy) const