|
virtual void | build (const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc) |
|
virtual void | cleanLocal () |
|
| FWPFClusterRPZProxyBuilder () |
|
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 | ~FWPFClusterRPZProxyBuilder () |
|
| FWSimpleProxyBuilderTemplate () |
|
| FWSimpleProxyBuilder (const std::type_info &iType) |
|
virtual | ~FWSimpleProxyBuilder () |
|
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 () |
|
|
virtual void | sharedBuild (const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius) |
|
virtual void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) |
|
virtual void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) |
|
virtual void | buildViewType (const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::PFCluster & | modelData (int index) |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, 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 &) |
|
void FWPFClusterRPZProxyBuilder::build |
( |
const reco::PFCluster & |
iData, |
|
|
unsigned int |
iIndex, |
|
|
TEveElement & |
oItemHolder, |
|
|
const FWViewContext * |
|
|
) |
| |
|
virtual |
iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement
Reimplemented from FWSimpleProxyBuilderTemplate< reco::PFCluster >.
Reimplemented in FWPFHcalClusterRPZProxyBuilder, and FWPFEcalClusterRPZProxyBuilder.
Definition at line 57 of file FWPFClusterRPZProxyBuilder.cc.
References FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWPFMaths::calculateEt(), fireworks::Context::caloR1(), fireworks::Context::caloZ1(), FWDisplayProperties::color(), FWProxyBuilderBase::context(), FWEventItem::defaultDisplayProperties(), reco::dp, relval_parameters_module::energy, reco::PFCluster::energy(), FWProxyBuilderBase::item(), eostools::ls(), m_clusters, m_clusterUtils, FWProxyBuilderBase::setupAddElement(), fireworks::Context::voteMaxEtAndEnergy(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
65 TEveScalableStraightLineSet *
ls;
66 TEveVector centre = TEveVector( iData.
x(), iData.
y(), iData.
z() );
73 ls->SetLineColor( dp.
color() );
const fireworks::Context & context() const
const FWDisplayProperties & defaultDisplayProperties() const
void voteMaxEtAndEnergy(float Et, float energy) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
double z() const
z coordinate of cluster centroid
const FWEventItem * item() const
std::vector< ScalableLines > m_clusters
static float caloR1(bool offset=true)
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
double x() const
x coordinate of cluster centroid
float calculateEt(const TEveVector ¢re, float e)
FWPFClusterRPZUtils * m_clusterUtils
double energy() const
cluster energy
static float caloZ1(bool offset=true)
double y() const
y coordinate of cluster centroid