#include <FWPFCandidateWithHitsProxyBuilder.h>
Public Member Functions | |
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
FWPFCandidateWithHitsProxyBuilder () | |
bool | havePerViewProduct (FWViewType::EType) const override |
const std::string & | purpose () const |
void | scaleProduct (TEveElementList *parent, FWViewType::EType type, const FWViewContext *vc) override |
const std::string & | typeName () const |
const std::string & | view () const |
~FWPFCandidateWithHitsProxyBuilder () override | |
Public Member Functions inherited from FWProxyBuilderBase | |
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 () |
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 | |
void | addHitsForCandidate (const reco::PFCandidate &c, TEveElement *holder, const FWViewContext *vc) |
FWPFCandidateWithHitsProxyBuilder (const FWPFCandidateWithHitsProxyBuilder &)=delete | |
const reco::PFRecHit * | getHitForDetId (unsigned detId) |
void | initPFRecHitsCollections () |
const FWPFCandidateWithHitsProxyBuilder & | operator= (const FWPFCandidateWithHitsProxyBuilder &)=delete |
void | viewContextBoxScale (const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const reco::PFRecHit *) |
Private Attributes | |
const reco::PFRecHitCollection * | m_collectionHCAL |
Additional Inherited Members | |
Protected Types inherited from FWProxyBuilderBase | |
typedef std::vector< Product * >::iterator | Product_it |
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) |
virtual void | modelChanges (const FWModelIds &, Product *) |
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
Protected Attributes inherited from FWProxyBuilderBase | |
std::vector< Product * > | m_products |
Definition at line 12 of file FWPFCandidateWithHitsProxyBuilder.h.
|
inline |
Definition at line 15 of file FWPFCandidateWithHitsProxyBuilder.h.
|
inlineoverride |
Definition at line 16 of file FWPFCandidateWithHitsProxyBuilder.h.
|
privatedelete |
|
private |
Definition at line 248 of file FWPFCandidateWithHitsProxyBuilder.cc.
References FWProxyBuilderBase::context(), reco::PFCandidate::elementsInBlocks(), reco::PFRecHit::energy(), fwLog, edm::Ref< C, T, F >::get(), FWGeometry::getCorners(), FWViewContext::getEnergyScale(), fireworks::Context::getGeom(), getHitForDetId(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), reco::CaloCluster::hitsAndFractions(), edm::Ref< C, T, F >::id(), createfilelist::int, edm::Ref< C, T, F >::key(), fwlog::kInfo, fwlog::kWarning, m_collectionHCAL, Scenarios_cff::scale, FWProxyBuilderBase::setupAddElement(), and viewContextBoxScale().
Referenced by build().
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 79 of file FWPFCandidateWithHitsProxyBuilder.cc.
References addHitsForCandidate(), objects.IsoTrackAnalyzer::candidates, reco::LeafCandidate::charge(), FWDisplayProperties::color(), AlCaHLTBitMon_QueryRunRegistry::comp, FWProxyBuilderBase::context(), FWProxyBuilderBase::createCompound(), FWEventItem::defaultDisplayProperties(), FWEventItem::get(), training_settings::idx, initPFRecHitsCollections(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), fireworks::setTrackTypePF(), FWProxyBuilderBase::setupAddElement(), lumiQTWidget::t, and reco::PFCandidate::vertex().
|
static |
Definition at line 345 of file FWPFCandidateWithHitsProxyBuilder.cc.
|
static |
Definition at line 345 of file FWPFCandidateWithHitsProxyBuilder.cc.
|
static |
Definition at line 345 of file FWPFCandidateWithHitsProxyBuilder.cc.
|
static |
Definition at line 345 of file FWPFCandidateWithHitsProxyBuilder.cc.
|
private |
Definition at line 174 of file FWPFCandidateWithHitsProxyBuilder.cc.
References m_collectionHCAL.
Referenced by addHitsForCandidate().
|
inlineoverridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 20 of file FWPFCandidateWithHitsProxyBuilder.h.
References class-composition::parent.
|
private |
Definition at line 119 of file FWPFCandidateWithHitsProxyBuilder.cc.
References fwLog, edm::EventBase::getByLabel(), FWEventItem::getEvent(), edm::HandleBase::isValid(), FWProxyBuilderBase::item(), fwlog::kError, m_collectionHCAL, FWEventItem::name(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by build().
|
privatedelete |
|
inline |
Definition at line 24 of file FWPFCandidateWithHitsProxyBuilder.h.
|
overridevirtual |
Reimplemented from FWProxyBuilderBase.
Definition at line 189 of file FWPFCandidateWithHitsProxyBuilder.cc.
References reco::PFRecHit::detId(), reco::PFRecHit::energy(), FWGeometry::getCorners(), FWViewContext::getEnergyScale(), FWEventItem::getGeom(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), mps_fire::i, training_settings::idx, FWProxyBuilderBase::item(), AlCaHLTBitMon_ParallelJobs::p, Scenarios_cff::scale, viewContextBoxScale(), and geometryCSVtoXML::xx.
|
inline |
Definition at line 24 of file FWPFCandidateWithHitsProxyBuilder.h.
|
inline |
Definition at line 24 of file FWPFCandidateWithHitsProxyBuilder.h.
|
private |
Definition at line 147 of file FWPFCandidateWithHitsProxyBuilder.cc.
References f, and mps_fire::i.
Referenced by addHitsForCandidate(), and scaleProduct().
|
private |
Definition at line 35 of file FWPFCandidateWithHitsProxyBuilder.h.
Referenced by addHitsForCandidate(), getHitForDetId(), and initPFRecHitsCollections().