CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
FWHCalPFCandidateProxyBuilder Class Reference

#include <FWPFCandidateTowerProxyBuilder.h>

Inheritance diagram for FWHCalPFCandidateProxyBuilder:
FWPFCandidateTowerProxyBuilder FWCaloDataHistProxyBuilder FWCaloDataProxyBuilderBase FWProxyBuilderBase

Public Member Functions

 FWHCalPFCandidateProxyBuilder ()
 
double getEt (const reco::PFCandidate &iTower) const override
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
 ~FWHCalPFCandidateProxyBuilder () override
 
- Public Member Functions inherited from FWPFCandidateTowerProxyBuilder
 FWPFCandidateTowerProxyBuilder ()
 
 ~FWPFCandidateTowerProxyBuilder () override
 
- Public Member Functions inherited from FWCaloDataHistProxyBuilder
 FWCaloDataHistProxyBuilder ()
 
 ~FWCaloDataHistProxyBuilder () override
 
- Public Member Functions inherited from FWCaloDataProxyBuilderBase
 FWCaloDataProxyBuilderBase ()
 
bool willHandleInteraction () const override
 
 ~FWCaloDataProxyBuilderBase () override
 
- 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

 FWHCalPFCandidateProxyBuilder (const FWHCalPFCandidateProxyBuilder &)=delete
 
const FWHCalPFCandidateProxyBuilderoperator= (const FWHCalPFCandidateProxyBuilder &)=delete
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >::iterator Product_it
 
- Protected Member Functions inherited from FWPFCandidateTowerProxyBuilder
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override
 
void fillCaloData () override
 
FWHistSliceSelectorinstantiateSliceSelector () override
 
- Protected Member Functions inherited from FWCaloDataHistProxyBuilder
void addEntryToTEveCaloData (float eta, float phi, float Et, bool isSelected)
 
bool assertCaloDataSlice () override
 
void itemBeingDestroyed (const FWEventItem *) override
 
void setCaloData (const fireworks::Context &) override
 
- Protected Member Functions inherited from FWCaloDataProxyBuilderBase
void itemBeingDestroyed (const FWEventItem *) override
 
- 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 76 of file FWPFCandidateTowerProxyBuilder.h.

Constructor & Destructor Documentation

◆ FWHCalPFCandidateProxyBuilder() [1/2]

FWHCalPFCandidateProxyBuilder::FWHCalPFCandidateProxyBuilder ( )
inline

Definition at line 78 of file FWPFCandidateTowerProxyBuilder.h.

78 {}

◆ ~FWHCalPFCandidateProxyBuilder()

FWHCalPFCandidateProxyBuilder::~FWHCalPFCandidateProxyBuilder ( )
inlineoverride

Definition at line 79 of file FWPFCandidateTowerProxyBuilder.h.

79 {}

◆ FWHCalPFCandidateProxyBuilder() [2/2]

FWHCalPFCandidateProxyBuilder::FWHCalPFCandidateProxyBuilder ( const FWHCalPFCandidateProxyBuilder )
privatedelete

Member Function Documentation

◆ classPurpose()

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

Definition at line 78 of file FWPFCandidateTowerProxyBuilder.cc.

◆ classRegisterTypeName()

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

Definition at line 78 of file FWPFCandidateTowerProxyBuilder.cc.

◆ classTypeName()

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

Definition at line 78 of file FWPFCandidateTowerProxyBuilder.cc.

◆ classView()

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

Definition at line 78 of file FWPFCandidateTowerProxyBuilder.cc.

◆ getEt()

double FWHCalPFCandidateProxyBuilder::getEt ( const reco::PFCandidate iTower) const
inlineoverridevirtual

Implements FWPFCandidateTowerProxyBuilder.

Definition at line 83 of file FWPFCandidateTowerProxyBuilder.h.

83  {
84  return iTower.hcalEnergy() * TMath::Sin(iTower.theta());
85  }

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

◆ operator=()

const FWHCalPFCandidateProxyBuilder& FWHCalPFCandidateProxyBuilder::operator= ( const FWHCalPFCandidateProxyBuilder )
privatedelete

◆ purpose()

const std::string& FWHCalPFCandidateProxyBuilder::purpose ( ) const
inline

Definition at line 87 of file FWPFCandidateTowerProxyBuilder.h.

89 :
90  FWHCalPFCandidateProxyBuilder(const FWHCalPFCandidateProxyBuilder&) = delete; // stop default

◆ typeName()

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

Definition at line 87 of file FWPFCandidateTowerProxyBuilder.h.

89 :
90  FWHCalPFCandidateProxyBuilder(const FWHCalPFCandidateProxyBuilder&) = delete; // stop default

◆ view()

const std::string& FWHCalPFCandidateProxyBuilder::view ( ) const
inline

Definition at line 87 of file FWPFCandidateTowerProxyBuilder.h.

89 :
90  FWHCalPFCandidateProxyBuilder(const FWHCalPFCandidateProxyBuilder&) = delete; // stop default
reco::LeafCandidate::theta
double theta() const final
momentum polar angle
Definition: LeafCandidate.h:150
FWHCalPFCandidateProxyBuilder
Definition: FWPFCandidateTowerProxyBuilder.h:76
reco::PFCandidate::hcalEnergy
double hcalEnergy() const
return corrected Hcal energy
Definition: PFCandidate.h:232
FWHCalPFCandidateProxyBuilder::FWHCalPFCandidateProxyBuilder
FWHCalPFCandidateProxyBuilder()
Definition: FWPFCandidateTowerProxyBuilder.h:78