CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
FWPFBlockProxyBuilder Class Reference

#include <FWPFBlockProxyBuilder.h>

Inheritance diagram for FWPFBlockProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::PFBlock > FWSimpleProxyBuilder FWProxyBuilderBase FWPFBlockEcalProxyBuilder FWPFBlockHcalProxyBuilder

Public Types

enum  BuilderType { BASE =0, ECAL =1, HCAL =2 }
 

Public Member Functions

 FWPFBlockProxyBuilder ()
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
virtual ~FWPFBlockProxyBuilder ()
 
- Public Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::PFBlock >
 FWSimpleProxyBuilderTemplate ()
 
- Public Member Functions inherited from FWSimpleProxyBuilder
 FWSimpleProxyBuilder (const std::type_info &iType)
 
virtual ~FWSimpleProxyBuilder ()
 
- Public Member Functions inherited from FWProxyBuilderBase
void build ()
 
virtual bool canHandle (const FWEventItem &)
 
const fireworks::Contextcontext () const
 
TEveElementList * createProduct (FWViewType::EType, const FWViewContext *)
 
 FWProxyBuilderBase ()
 
bool getHaveWindow () const
 
const FWEventItemitem () 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 Public Member Functions inherited from FWSimpleProxyBuilder
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 
- 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 buildViewType (const reco::PFBlock &, unsigned int, TEveElement &, FWViewType::EType, const FWViewContext *)
 
virtual void cleanLocal ()
 
void clusterSharedBuild (const reco::PFCluster &, TEveElement &, const FWViewContext *)
 
virtual bool havePerViewProduct (FWViewType::EType) const
 
virtual bool haveSingleProduct () const
 
virtual void scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
 
void setupClusterElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType, float r)
 
void setupTrackElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType)
 
- Protected Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::PFBlock >
virtual void build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context)
 
virtual void build (const reco::PFBlock &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 
virtual void buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context)
 
const reco::PFBlockmodelData (int index)
 
- Protected Member Functions inherited from FWSimpleProxyBuilder
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 ()
 
- Protected Member Functions inherited from FWProxyBuilderBase
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 FWProxyBuilderBaseoperator= (const FWProxyBuilderBase &)
 

Protected Attributes

BuilderType e_builderType
 
std::vector< ScalableLinesm_clusters
 
- Protected Attributes inherited from FWSimpleProxyBuilder
FWSimpleProxyHelper m_helper
 
- Protected Attributes inherited from FWProxyBuilderBase
std::vector< Product * > m_products
 

Private Member Functions

 FWPFBlockProxyBuilder (const FWPFBlockProxyBuilder &)
 
const FWPFBlockProxyBuilderoperator= (const FWPFBlockProxyBuilder &)
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >
::iterator 
Product_it
 

Detailed Description

Definition at line 37 of file FWPFBlockProxyBuilder.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

FWPFBlockProxyBuilder::FWPFBlockProxyBuilder ( )
inline
virtual FWPFBlockProxyBuilder::~FWPFBlockProxyBuilder ( )
inlinevirtual

Definition at line 44 of file FWPFBlockProxyBuilder.h.

44 {}
FWPFBlockProxyBuilder::FWPFBlockProxyBuilder ( const FWPFBlockProxyBuilder )
private

Member Function Documentation

void FWPFBlockProxyBuilder::buildViewType ( const reco::PFBlock iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
FWViewType::EType  viewType,
const FWViewContext vc 
)
protectedvirtual

Reimplemented from FWSimpleProxyBuilderTemplate< reco::PFBlock >.

Definition at line 158 of file FWPFBlockProxyBuilder.cc.

const std::string & FWPFBlockProxyBuilder::classPurpose ( )
static

Definition at line 196 of file FWPFBlockProxyBuilder.cc.

const std::string & FWPFBlockProxyBuilder::classRegisterTypeName ( )
static

Definition at line 196 of file FWPFBlockProxyBuilder.cc.

const std::string & FWPFBlockProxyBuilder::classTypeName ( )
static

Definition at line 196 of file FWPFBlockProxyBuilder.cc.

const std::string & FWPFBlockProxyBuilder::classView ( )
static

Definition at line 196 of file FWPFBlockProxyBuilder.cc.

virtual void FWPFBlockProxyBuilder::cleanLocal ( )
inlineprotectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 65 of file FWPFBlockProxyBuilder.h.

References m_clusters.

65 { m_clusters.clear(); }
std::vector< ScalableLines > m_clusters
void FWPFBlockProxyBuilder::clusterSharedBuild ( const reco::PFCluster ,
TEveElement &  ,
const FWViewContext  
)
protected
virtual bool FWPFBlockProxyBuilder::havePerViewProduct ( FWViewType::EType  ) const
inlineprotectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 56 of file FWPFBlockProxyBuilder.h.

56 { return true; }
virtual bool FWPFBlockProxyBuilder::haveSingleProduct ( void  ) const
inlineprotectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 59 of file FWPFBlockProxyBuilder.h.

59 { return false; } // different view types
const FWPFBlockProxyBuilder& FWPFBlockProxyBuilder::operator= ( const FWPFBlockProxyBuilder )
private
const std::string& FWPFBlockProxyBuilder::purpose ( ) const
inline

Definition at line 46 of file FWPFBlockProxyBuilder.h.

48 :
49  // --------------------- Member Functions --------------------------
void FWPFBlockProxyBuilder::scaleProduct ( TEveElementList *  parent,
FWViewType::EType  viewType,
const FWViewContext vc 
)
protectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 6 of file FWPFBlockProxyBuilder.cc.

void FWPFBlockProxyBuilder::setupClusterElement ( const reco::PFBlockElement blockElement,
TEveElement &  oItemHolder,
const FWViewContext vc,
FWViewType::EType  viewType,
float  r 
)
protected

Definition at line 112 of file FWPFBlockProxyBuilder.cc.

void FWPFBlockProxyBuilder::setupTrackElement ( const reco::PFBlockElement blockElement,
TEveElement &  oItemHolder,
const FWViewContext vc,
FWViewType::EType  viewType 
)
protected

Definition at line 45 of file FWPFBlockProxyBuilder.cc.

const std::string& FWPFBlockProxyBuilder::typeName ( ) const
inline

Definition at line 46 of file FWPFBlockProxyBuilder.h.

48 :
49  // --------------------- Member Functions --------------------------
const std::string& FWPFBlockProxyBuilder::view ( ) const
inline

Definition at line 46 of file FWPFBlockProxyBuilder.h.

48 :
49  // --------------------- Member Functions --------------------------

Member Data Documentation

BuilderType FWPFBlockProxyBuilder::e_builderType
protected
std::vector<ScalableLines> FWPFBlockProxyBuilder::m_clusters
protected

Definition at line 73 of file FWPFBlockProxyBuilder.h.

Referenced by cleanLocal().