#include <FWPFEcalRecHitRPProxyBuilder.h>
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
void | cleanLocal () override |
|
| FWPFEcalRecHitRPProxyBuilder () |
|
| FWPFEcalRecHitRPProxyBuilder (const FWPFEcalRecHitRPProxyBuilder &)=delete |
|
bool | havePerViewProduct (FWViewType::EType) const override |
|
const FWPFEcalRecHitRPProxyBuilder & | operator= (const FWPFEcalRecHitRPProxyBuilder &)=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 |
|
| ~FWPFEcalRecHitRPProxyBuilder () override |
|
| FWProxyBuilderTemplate () |
|
| FWProxyBuilderTemplate (const FWProxyBuilderTemplate &)=delete |
|
const FWProxyBuilderTemplate & | operator= (const FWProxyBuilderTemplate &)=delete |
|
| ~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.
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().
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);
Sin< T >::type sin(const T &t)
const fireworks::Context & context() const
const EcalRecHit & modelData(int index)
const float * getCorners(unsigned int id) const
void voteMaxEtAndEnergy(float Et, float energy) const
Cos< T >::type cos(const T &t)
TEveVector calculateCentre(const float *corners)
float calculateEt(const TEveVector ¢re, float e)
const FWGeometry * getGeom() const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
const DetId & detid() const
std::vector< FWPFRhoPhiRecHit * > m_towers
ModelInfo modelInfo(int iIndex) const
const FWEventItem * item() const
◆ 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