|
void | buildViewType (const reco::PFBlock &, unsigned int, TEveElement &, FWViewType::EType, const FWViewContext *) override |
|
virtual void | cleanLocal () |
|
void | cleanLocal () override |
|
void | clusterSharedBuild (const reco::PFCluster &, TEveElement &, const FWViewContext *) |
|
virtual bool | havePerViewProduct (FWViewType::EType) const |
|
bool | havePerViewProduct (FWViewType::EType) const override |
|
virtual bool | haveSingleProduct () const |
|
bool | haveSingleProduct () const override |
|
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
|
void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override |
|
void | setupClusterElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType, float r) |
|
void | setupTrackElement (const reco::PFBlockElement &, TEveElement &, const FWViewContext *, FWViewType::EType) |
|
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 | build (const reco::PFBlock &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
|
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 |
|
const reco::PFBlock & | 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 &) |
|
Definition at line 35 of file FWPFBlockProxyBuilder.h.
Definition at line 98 of file FWPFBlockProxyBuilder.cc.
References FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWPFMaths::calculateEt(), FWPFGeom::caloZ1(), reco::PFBlockElement::clusterRef(), FWProxyBuilderBase::context(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, hcalRecHitTable_cff::energy, reco::PFCluster::energy(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, reco::CaloCluster::eta(), FWProxyBuilderBase::item(), FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_clusters, phi, reco::CaloCluster::phi(), DiDispStaMuonMonitor_cfi::pt, alignCSCRings::r, FWProxyBuilderBase::setupAddElement(), fireworks::Context::voteMaxEtAndEnergy(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
Referenced by buildViewType().
105 TEveVector centre = TEveVector(cluster.
x(), cluster.
y(), cluster.
z());
109 float eta = cluster.
eta();
110 float phi = cluster.
phi();
117 legoCluster->SetElementName(
"BlockCluster");
124 rpCluster->SetLineColor(
dp.color());
133 rzCluster->SetLineColor(
dp.color());
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
std::vector< ScalableLines > m_clusters
double x() const
x coordinate of cluster centroid
TEveScalableStraightLineSet * buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r)
double phi() const
azimuthal angle of cluster centroid
const fireworks::Context & context() const
const FWDisplayProperties & defaultDisplayProperties() const
void voteMaxEtAndEnergy(float Et, float energy) const
double energy() const
cluster energy
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
virtual const PFClusterRef & clusterRef() const
float calculateEt(const TEveVector ¢re, float e)
double eta() const
pseudorapidity of cluster centroid
const FWEventItem * item() const
Definition at line 35 of file FWPFBlockProxyBuilder.cc.
References a, b, HltBtagPostValidation_cff::c, reco::PFBlockElement::DEFAULT, FWPFTrackUtils::getCollisionMarkers(), mps_fire::i, FWViewType::kLego, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, dqmdumpme::last, pv::markers, FWProxyBuilderBase::setupAddElement(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), HLT_2024v11_cff::track, reco::PFBlockElement::trackRef(), reco::PFBlockElement::trackType(), y, and z.
Referenced by buildViewType().
60 TEvePointSet *ps =
new TEvePointSet();
63 Float_t *trackPoints = trk->GetP();
64 unsigned int last = (trk->GetN() - 1) * 3;
65 float y = trackPoints[
last + 1];
66 float z = trackPoints[
last + 2];
69 for (
signed int i = 0;
i <
markers->GetN(); ++
i) {
75 else if (
y > 0 &&
b < 0)
80 else if (
z > 0 &&
c < 0)
83 ps->SetNextPoint(
a,
b,
c);
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEvePointSet * getCollisionMarkers(const TEveTrack *)
TEveTrack * setupTrack(const reco::Track &)
virtual const reco::TrackRef & trackRef() const
TEveStraightLineSet * setupLegoTrack(const reco::Track &)
virtual bool trackType(TrackType trType) const