#include <Fireworks/Core/interface/FWRPZView.h>
Public Member Functions | |
void | addTo (FWConfiguration &) const override |
void | eventBegin () override |
void | eventEnd () override |
FWRPZView (TEveWindowSlot *iParent, FWViewType::EType) | |
FWRPZView (const FWRPZView &)=delete | |
TEveCaloViz * | getEveCalo () const override |
void | importElements (TEveElement *iProjectableChild, float layer, TEveElement *iProjectedParent=nullptr) |
const FWRPZView & | operator= (const FWRPZView &)=delete |
void | populateController (ViewerParameterGUI &) const override |
void | resetOrigin () |
void | setContext (const fireworks::Context &) override |
void | setFrom (const FWConfiguration &) override |
void | setupEventCenter () override |
void | shiftOrigin (TEveVector ¢er) |
void | voteCaloMaxVal () override |
~FWRPZView () override | |
Public Member Functions inherited from FWEveView | |
const fireworks::Context & | context () |
FWViewContextMenuHandlerBase * | contextMenuHandler () const override |
TEveScene * | eventScene () |
FWEveView (TEveWindowSlot *, FWViewType::EType, unsigned int version=7) | |
FWEveView (const FWEveView &)=delete | |
FWTEveViewer * | fwViewer () |
FWTGLViewer * | fwViewerGL () const |
TEveScene * | geoScene () |
virtual bool | isEnergyScaleGlobal () const |
const FWEveView & | operator= (const FWEveView &)=delete |
TEveElement * | ownedProducts () |
virtual bool | requestGLHandlerPick () const |
void | saveImageTo (const std::string &iName) const override |
virtual void | setBackgroundColor (Color_t) |
virtual void | setupEnergyScale () |
virtual void | useGlobalEnergyScaleChanged () |
FWViewContext * | viewContext () |
TEveViewer * | viewer () |
TGLViewer * | viewerGL () const |
~FWEveView () override | |
Public Member Functions inherited from FWViewBase | |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
FWViewBase (const FWViewBase &)=delete | |
const FWViewBase & | operator= (const FWViewBase &)=delete |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
FWConfigurableParameterizable (const FWConfigurableParameterizable &)=delete | |
const FWConfigurableParameterizable & | operator= (const FWConfigurableParameterizable &)=delete |
unsigned int | version () const |
~FWConfigurableParameterizable () override | |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
FWParameterizable (const FWParameterizable &)=delete | |
const FWParameterizable & | operator= (const FWParameterizable &)=delete |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
FWConfigurable (const FWConfigurable &)=delete | |
const FWConfigurable & | operator= (const FWConfigurable &)=delete |
virtual | ~FWConfigurable () |
Private Member Functions | |
void | doCompression (bool) |
void | doFishEyeDistortion () |
void | doPreScaleDistortion () |
void | doShiftOriginToBeamSpot () |
void | projectionAxesLabelSize () |
void | setEtaRng () |
void | showProjectionAxes () |
Static Private Attributes | |
static const float | s_distortF = 0.001 |
static const float | s_distortFInv = 1000 |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
Public Attributes inherited from FWViewBase | |
sigc::signal< void(const FWViewBase *)> | beingDestroyed_ |
sigc::signal< void(Int_t, Int_t)> | openSelectedModelContextMenu_ |
Protected Member Functions inherited from FWEveView | |
void | addToOrthoCamera (TGLOrthoCamera *, FWConfiguration &) const |
void | addToPerspectiveCamera (TGLPerspectiveCamera *, const std::string &, FWConfiguration &) const |
virtual void | cameraGuideChanged () |
virtual void | pointLineScalesChanged () |
virtual void | resetCamera () |
void | setFromOrthoCamera (TGLOrthoCamera *, const FWConfiguration &) |
void | setFromPerspectiveCamera (TGLPerspectiveCamera *, const std::string &, const FWConfiguration &) |
Protected Member Functions inherited from FWViewBase | |
~FWViewBase () override | |
Protected Attributes inherited from FWEveView | |
const fireworks::Context * | m_context |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 40 of file FWRPZView.h.
FWRPZView::FWRPZView | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | id | ||
) |
Definition at line 46 of file FWRPZView.cc.
References fireworks::Context::caloR1(), FWGenericParameter< T >::changed_, doCompression(), doFishEyeDistortion(), doPreScaleDistortion(), doShiftOriginToBeamSpot(), FWEveView::eventScene(), FWEveView::geoScene(), FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_axes, m_caloDistortion, m_compressMuon, m_fishEyeDistortion, m_fishEyeR, m_muonDistortion, m_projectionAxesLabelSize, m_projMgr, m_shiftOrigin, m_showEndcaps, m_showHF, m_showProjectionAxes, projectionAxesLabelSize(), s_distortF, setEtaRng(), showProjectionAxes(), FWGenericParameter< T >::value(), and FWEveView::viewerGL().
|
override |
|
delete |
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 299 of file FWRPZView.cc.
References FWEveView::addTo(), FWEveView::addToOrthoCamera(), and FWEveView::viewerGL().
|
private |
Definition at line 283 of file FWRPZView.cc.
References RemoveAddSevLevel::flag, and m_projMgr.
Referenced by FWRPZView().
|
private |
Definition at line 257 of file FWRPZView.cc.
References m_fishEyeDistortion, m_fishEyeR, m_projMgr, AlCaHLTBitMon_ParallelJobs::p, s_distortF, s_distortFInv, and FWGenericParameter< T >::value().
Referenced by FWRPZView().
|
private |
Definition at line 268 of file FWRPZView.cc.
References FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, m_caloDistortion, m_muonDistortion, m_projMgr, FWViewBase::typeId(), and FWGenericParameter< T >::value().
Referenced by FWRPZView().
|
private |
Definition at line 216 of file FWRPZView.cc.
References m_projMgr, m_shiftOrigin, AlCaHLTBitMon_ParallelJobs::p, and FWGenericParameter< T >::value().
Referenced by FWRPZView().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 181 of file FWRPZView.cc.
References DummyCfis::c, fireworks::Context::commonPrefs(), FWEveView::context(), CmsShowCommon::getEventCenter(), FWViewType::kRhoZ, m_projMgr, alignCSCRings::r, FWViewBase::typeId(), and FWEveView::viewerGL().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 202 of file FWRPZView.cc.
References DummyCfis::c, fireworks::Context::commonPrefs(), FWEveView::context(), FWEveView::eventEnd(), CmsShowCommon::getEventCenter(), and m_projMgr.
|
overridevirtual |
void FWRPZView::importElements | ( | TEveElement * | iProjectableChild, |
float | layer, | ||
TEveElement * | iProjectedParent = nullptr |
||
) |
Definition at line 290 of file FWRPZView.cc.
References m_projMgr.
Referenced by addElements(), and FWEveViewManager::finishViewCreate().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 373 of file FWRPZView.cc.
References ViewerParameterGUI::addParam(), f, fireworks::Context::getGeom(), ViewerParameterGUI::getTabContainer(), FWGeometry::VersionInfo::haveExtraDet(), FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, m_caloDistortion, m_compressMuon, FWEveView::m_context, m_fishEyeDistortion, m_fishEyeR, m_muonDistortion, m_projectionAxesLabelSize, m_shiftOrigin, m_showEndcaps, m_showGEM, m_showHF, m_showME0, m_showMtdBarrel, m_showMtdEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showProjectionAxes, m_showRpcEndcap, m_showTrackerBarrel, FWEveView::populateController(), ViewerParameterGUI::requestTab(), ViewerParameterGUI::separator(), FWViewBase::typeId(), and FWGeometry::versionInfo().
|
private |
Definition at line 368 of file FWRPZView.cc.
References m_axes, m_projectionAxesLabelSize, FWGenericParameter< T >::value(), and FWEveView::viewerGL().
Referenced by FWRPZView().
void FWRPZView::resetOrigin | ( | ) |
Definition at line 244 of file FWRPZView.cc.
References b, FWEveView::context(), fireworks::Context::getBeamSpot(), and m_projMgr.
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 142 of file FWRPZView.cc.
References FWPFGeom::caloR1(), FWPFGeom::caloZ1(), FWGenericParameter< T >::changed_, FWEveView::context(), data, FWEveView::eventScene(), FWEveView::geoScene(), fireworks::Context::getCaloData(), FWRPZViewGeometry::initStdGeoElements(), FWViewType::kRhoPhiPF, m_calo, m_geometryList, m_projMgr, m_showGEM, m_showME0, m_showMtdBarrel, m_showMtdEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showRpcEndcap, m_showTrackerBarrel, m_showTrackerEndcap, AlCaHLTBitMon_ParallelJobs::p, FWEveView::setContext(), FWRPZViewGeometry::showGEM(), FWRPZViewGeometry::showME0(), FWRPZViewGeometry::showMtdBarrel(), FWRPZViewGeometry::showMtdEndcap(), FWRPZViewGeometry::showPixelBarrel(), FWRPZViewGeometry::showPixelEndcap(), FWRPZViewGeometry::showRpcEndcap(), FWRPZViewGeometry::showTrackerBarrel(), FWRPZViewGeometry::showTrackerEndcap(), and FWViewBase::typeId().
|
private |
Definition at line 320 of file FWRPZView.cc.
References fireworks::Context::caloMaxEta(), fireworks::Context::caloTransEta(), FWEveView::context(), FWViewType::kRhoZ, m_calo, m_showEndcaps, m_showHF, FWEveView::setupEnergyScale(), FWViewBase::typeId(), and FWGenericParameter< T >::value().
Referenced by FWRPZView().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 306 of file FWRPZView.cc.
References m_showProjectionAxes, FWGenericParameter< T >::set(), FWEveView::setFrom(), FWEveView::setFromOrthoCamera(), FWConfiguration::valueForKey(), FWConfiguration::version(), and FWEveView::viewerGL().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 209 of file FWRPZView.cc.
References DummyCfis::c, fireworks::Context::commonPrefs(), FWEveView::context(), CmsShowCommon::getEventCenter(), m_projMgr, and FWEveView::setupEventCenter().
void FWRPZView::shiftOrigin | ( | TEveVector & | center | ) |
|
private |
Definition at line 362 of file FWRPZView.cc.
References m_axes, m_showProjectionAxes, FWGenericParameter< T >::value(), and FWEveView::viewerGL().
Referenced by FWRPZView().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 334 of file FWRPZView.cc.
References a, FWEveView::context(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmdumpme::k, m_calo, objects.METAnalyzer::sumEt, and fireworks::Context::voteMaxEtAndEnergy().
|
private |
Definition at line 86 of file FWRPZView.h.
Referenced by FWRPZView(), projectionAxesLabelSize(), and showProjectionAxes().
|
private |
Definition at line 87 of file FWRPZView.h.
Referenced by getEveCalo(), setContext(), setEtaRng(), voteCaloMaxVal(), and ~FWRPZView().
|
private |
Definition at line 105 of file FWRPZView.h.
Referenced by doPreScaleDistortion(), FWRPZView(), and populateController().
|
private |
Definition at line 109 of file FWRPZView.h.
Referenced by FWRPZView(), and populateController().
|
private |
Definition at line 102 of file FWRPZView.h.
Referenced by doFishEyeDistortion(), FWRPZView(), and populateController().
|
private |
Definition at line 103 of file FWRPZView.h.
Referenced by doFishEyeDistortion(), FWRPZView(), and populateController().
|
private |
Definition at line 84 of file FWRPZView.h.
Referenced by setContext().
|
private |
Definition at line 106 of file FWRPZView.h.
Referenced by doPreScaleDistortion(), FWRPZView(), and populateController().
|
private |
Definition at line 108 of file FWRPZView.h.
Referenced by FWRPZView(), populateController(), and projectionAxesLabelSize().
|
private |
Definition at line 85 of file FWRPZView.h.
Referenced by doCompression(), doFishEyeDistortion(), doPreScaleDistortion(), doShiftOriginToBeamSpot(), eventBegin(), eventEnd(), FWRPZView(), importElements(), resetOrigin(), setContext(), setupEventCenter(), shiftOrigin(), and ~FWRPZView().
|
private |
Definition at line 101 of file FWRPZView.h.
Referenced by doShiftOriginToBeamSpot(), FWRPZView(), and populateController().
|
private |
Definition at line 112 of file FWRPZView.h.
Referenced by FWRPZView(), populateController(), and setEtaRng().
|
private |
Definition at line 96 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 111 of file FWRPZView.h.
Referenced by FWRPZView(), populateController(), and setEtaRng().
|
private |
Definition at line 97 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 98 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 99 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 91 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 92 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 107 of file FWRPZView.h.
Referenced by FWRPZView(), populateController(), setFrom(), and showProjectionAxes().
|
private |
Definition at line 95 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 93 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 94 of file FWRPZView.h.
Referenced by setContext().
|
staticprivate |
Definition at line 81 of file FWRPZView.h.
Referenced by doFishEyeDistortion(), and FWRPZView().
|
staticprivate |
Definition at line 82 of file FWRPZView.h.
Referenced by doFishEyeDistortion().