|
void | buildViewType (const reco::Jet &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override |
|
void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override |
|
void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | build (const reco::Jet &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
|
virtual void | build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0 |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) 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 |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
const reco::Jet & | 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 | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
Definition at line 47 of file FWJetProxyBuilder.cc.
Reimplemented from FWSimpleProxyBuilderTemplate< reco::Jet >.
Definition at line 118 of file FWJetProxyBuilder.cc.
125 TEveElement::List_i coneIt = cones->BeginChildren();
126 std::advance(coneIt, iIndex);
130 (*coneIt)->SetMainTransparency(
TMath::Min(100, 80 +
dp.transparency() / 5));
146 static const float_t offr = 4;
165 markers.
m_ls->SetScaleCenter(
p1.fX,
p1.fY,
p1.fZ);
168 markers.
m_ls->SetLineWidth(4);
169 markers.
m_ls->SetLineColor(
dp.color());
176 markers.
m_text->SetMainColor(
item()->defaultDisplayProperties().color());
180 markers.
m_ls->SetMarkerColor(markers.
m_ls->GetMainColor());
References fireworks::Context::caloR1(), fireworks::Context::caloZ1(), fireworks::Context::caloZ2(), FWProxyBuilderBase::context(), funct::cos(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), FWEventItem::getConfig(), FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), FWViewType::isProjected(), FWProxyBuilderBase::item(), kJetLabelsRhoPhiOn(), kJetLabelsRhoZOn(), FWViewType::kRhoPhi, FWViewType::kRhoZ, m_lines, fireworks::scaleMarker::m_ls, M_PI, fireworks::jetScaleMarker::m_text, Min(), p1, p2, phi, reco::LeafCandidate::phi(), alignCSCRings::r, requestCommon(), setTextPos(), FWProxyBuilderBase::setupAddElement(), funct::sin(), findQualityFiles::size, funct::tan(), theta(), reco::LeafCandidate::theta(), FWProxyBuilderConfiguration::value(), and fireworks::Context::voteMaxEtAndEnergy().
Definition at line 233 of file FWJetProxyBuilder.cc.
234 TEveChunkManager::iterator li(
s.m_ls->GetLinePlex());
236 TEveStraightLineSet::Line_t&
l = *(TEveStraightLineSet::Line_t*)li();
237 TEveVector
v(
l.fV2[0] -
l.fV1[0],
l.fV2[1] -
l.fV1[1],
l.fV2[2] -
l.fV1[2]);
245 float x =
l.fV1[0] +
v[0];
246 float y =
l.fV1[1] +
v[1];
247 float z =
l.fV1[2] +
v[2];
250 s.m_text->RefMainTrans().SetPos(
x,
y,
z);
251 if ((
s.m_text)->BeginProjecteds() != (
s.m_text)->EndProjecteds()) {
References FWProxyBuilderBase::context(), FWEventItem::getConfig(), FWViewContext::getEnergyScale(), fireworks::Context::getMaxEnergyInEvent(), FWViewEnergyScale::getPlotEt(), FWProxyBuilderBase::item(), kJetOffset(), cmsLHEtoEOSManager::l, alignCSCRings::s, FWEveTextProjected::UpdateProjection(), findQualityFiles::v, FWProxyBuilderConfiguration::value(), x, y, and z.
Referenced by buildViewType(), and scaleProduct().