|
void | build (const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc) override |
|
void | cleanLocal () override |
|
| FWPFClusterRPZProxyBuilder () |
|
| FWPFClusterRPZProxyBuilder (const FWPFClusterRPZProxyBuilder &)=delete |
|
bool | havePerViewProduct (FWViewType::EType) const override |
|
const FWPFClusterRPZProxyBuilder & | operator= (const FWPFClusterRPZProxyBuilder &)=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 |
|
| ~FWPFClusterRPZProxyBuilder () override |
|
| FWSimpleProxyBuilderTemplate () |
|
| FWSimpleProxyBuilderTemplate (const FWSimpleProxyBuilderTemplate &)=delete |
|
const FWSimpleProxyBuilderTemplate & | operator= (const FWSimpleProxyBuilderTemplate &)=delete |
|
| FWSimpleProxyBuilder (const std::type_info &iType) |
|
| FWSimpleProxyBuilder (const FWSimpleProxyBuilder &)=delete |
|
const FWSimpleProxyBuilder & | operator= (const FWSimpleProxyBuilder &)=delete |
|
| ~FWSimpleProxyBuilder () 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 () |
|
|
virtual void | sharedBuild (const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0 |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
virtual void | buildViewType (const reco::PFCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::PFCluster & | modelData (int index) |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | clean () override |
|
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 * |
|
|
) |
| |
|
overridevirtual |
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 46 of file FWPFClusterRPZProxyBuilder.cc.
References FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWPFMaths::calculateEt(), fireworks::Context::caloR1(), fireworks::Context::caloZ1(), FWProxyBuilderBase::context(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, HCALHighEnergyHPDFilter_cfi::energy, reco::PFCluster::energy(), EgHLTOffHistBins_cfi::et, FWProxyBuilderBase::item(), eostools::ls(), m_clusters, m_clusterUtils, FWProxyBuilderBase::setupAddElement(), fireworks::Context::voteMaxEtAndEnergy(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
55 TEveScalableStraightLineSet *
ls;
56 TEveVector centre = TEveVector(iData.
x(), iData.
y(), iData.
z());
63 ls->SetLineColor(
dp.color());
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
double x() const
x coordinate of cluster centroid
const fireworks::Context & context() const
std::vector< ScalableLines > m_clusters
const FWDisplayProperties & defaultDisplayProperties() const
void voteMaxEtAndEnergy(float Et, float energy) const
double energy() const
cluster energy
static float caloR1(bool offset=true)
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
double z() const
z coordinate of cluster centroid
double y() const
y coordinate of cluster centroid
float calculateEt(const TEveVector ¢re, float e)
FWPFClusterRPZUtils * m_clusterUtils
static float caloZ1(bool offset=true)
const FWEventItem * item() const