CMS 3D CMS Logo

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

#include <FWPFCandidateTowerProxyBuilder.h>

Inheritance diagram for FWECalPFCandidateProxyBuilder:
FWPFCandidateTowerProxyBuilder FWCaloDataHistProxyBuilder FWCaloDataProxyBuilderBase FWProxyBuilderBase

Public Member Functions

 FWECalPFCandidateProxyBuilder ()
 
virtual double getEt (const reco::PFCandidate &iTower) const
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
virtual ~FWECalPFCandidateProxyBuilder ()
 
- Public Member Functions inherited from FWPFCandidateTowerProxyBuilder
 FWPFCandidateTowerProxyBuilder ()
 
virtual ~FWPFCandidateTowerProxyBuilder ()
 
- Public Member Functions inherited from FWCaloDataHistProxyBuilder
 FWCaloDataHistProxyBuilder ()
 
virtual ~FWCaloDataHistProxyBuilder ()
 
- Public Member Functions inherited from FWCaloDataProxyBuilderBase
 FWCaloDataProxyBuilderBase ()
 
virtual bool willHandleInteraction () const
 
virtual ~FWCaloDataProxyBuilderBase ()
 
- 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
 
virtual bool havePerViewProduct (FWViewType::EType) const
 
virtual bool haveSingleProduct () const
 
const FWEventItemitem () const
 
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 ~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 FWProxyBuilderBase
static bool representsSubPart ()
 
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 

Private Member Functions

 FWECalPFCandidateProxyBuilder (const FWECalPFCandidateProxyBuilder &)
 
const
FWECalPFCandidateProxyBuilder
operator= (const FWECalPFCandidateProxyBuilder &)
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >
::iterator 
Product_it
 
- Protected Member Functions inherited from FWPFCandidateTowerProxyBuilder
virtual void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *)
 
virtual void fillCaloData ()
 
virtual FWHistSliceSelectorinstantiateSliceSelector ()
 
- Protected Member Functions inherited from FWCaloDataHistProxyBuilder
void addEntryToTEveCaloData (float eta, float phi, float Et, bool isSelected)
 
virtual bool assertCaloDataSlice ()
 
virtual void itemBeingDestroyed (const FWEventItem *)
 
virtual void setCaloData (const fireworks::Context &)
 
- Protected Member Functions inherited from FWProxyBuilderBase
virtual void buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
 
virtual void clean ()
 
virtual void cleanLocal ()
 
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)
 
const FWProxyBuilderBaseoperator= (const FWProxyBuilderBase &)
 
virtual void scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
 
virtual bool visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *)
 
- Protected Attributes inherited from FWCaloDataHistProxyBuilder
TH2F * m_hist
 
FWHistSliceSelectorm_sliceSelector
 
- Protected Attributes inherited from FWCaloDataProxyBuilderBase
TEveCaloData * m_caloData
 
Int_t m_sliceIndex
 
- Protected Attributes inherited from FWProxyBuilderBase
std::vector< Product * > m_products
 

Detailed Description

Definition at line 58 of file FWPFCandidateTowerProxyBuilder.h.

Constructor & Destructor Documentation

FWECalPFCandidateProxyBuilder::FWECalPFCandidateProxyBuilder ( )
inline

Definition at line 60 of file FWPFCandidateTowerProxyBuilder.h.

60  {
61  }
virtual FWECalPFCandidateProxyBuilder::~FWECalPFCandidateProxyBuilder ( )
inlinevirtual

Definition at line 62 of file FWPFCandidateTowerProxyBuilder.h.

62  {
63  }
FWECalPFCandidateProxyBuilder::FWECalPFCandidateProxyBuilder ( const FWECalPFCandidateProxyBuilder )
private

Member Function Documentation

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

Definition at line 89 of file FWPFCandidateTowerProxyBuilder.cc.

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

Definition at line 89 of file FWPFCandidateTowerProxyBuilder.cc.

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

Definition at line 89 of file FWPFCandidateTowerProxyBuilder.cc.

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

Definition at line 89 of file FWPFCandidateTowerProxyBuilder.cc.

virtual double FWECalPFCandidateProxyBuilder::getEt ( const reco::PFCandidate iTower) const
inlinevirtual

Implements FWPFCandidateTowerProxyBuilder.

Definition at line 67 of file FWPFCandidateTowerProxyBuilder.h.

References reco::PFCandidate::ecalEnergy(), and reco::LeafCandidate::theta().

67  {
68  return iTower.ecalEnergy()* TMath::Sin(iTower.theta());
69  }
double ecalEnergy() const
return corrected Ecal energy
Definition: PFCandidate.h:221
virtual double theta() const final
momentum polar angle
const FWECalPFCandidateProxyBuilder& FWECalPFCandidateProxyBuilder::operator= ( const FWECalPFCandidateProxyBuilder )
private
const std::string& FWECalPFCandidateProxyBuilder::purpose ( ) const
inline
const std::string& FWECalPFCandidateProxyBuilder::typeName ( ) const
inline
const std::string& FWECalPFCandidateProxyBuilder::view ( ) const
inline