#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) | |
TEveCaloViz * | getEveCalo () const override |
void | importElements (TEveElement *iProjectableChild, float layer, TEveElement *iProjectedParent=nullptr) |
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) | |
FWTEveViewer * | fwViewer () |
FWTGLViewer * | fwViewerGL () const |
TEveScene * | geoScene () |
virtual bool | isEnergyScaleGlobal () const |
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) | |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
unsigned int | version () const |
~FWConfigurableParameterizable () override | |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Private Member Functions | |
void | doCompression (bool) |
void | doFishEyeDistortion () |
void | doPreScaleDistortion () |
void | doShiftOriginToBeamSpot () |
FWRPZView (const FWRPZView &)=delete | |
const FWRPZView & | operator= (const FWRPZView &)=delete |
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 |
|
privatedelete |
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 329 of file FWRPZView.cc.
References FWEveView::addTo(), FWEveView::addToOrthoCamera(), and FWEveView::viewerGL().
|
private |
|
private |
Definition at line 277 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 290 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 228 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 183 of file FWRPZView.cc.
References EnergyCorrector::c, fireworks::Context::commonPrefs(), FWEveView::context(), CmsShowCommon::getEventCenter(), FWViewType::kRhoZ, m_projMgr, alignCSCRings::r, Sign(), FWViewBase::typeId(), and FWEveView::viewerGL().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 210 of file FWRPZView.cc.
References EnergyCorrector::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 316 of file FWRPZView.cc.
References m_projMgr.
Referenced by addElements(), and FWEveViewManager::finishViewCreate().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 413 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_showPixelBarrel, m_showPixelEndcap, m_showProjectionAxes, m_showRpcEndcap, m_showTrackerBarrel, FWEveView::populateController(), ViewerParameterGUI::requestTab(), mps_merge::separator, FWViewBase::typeId(), and FWGeometry::versionInfo().
|
private |
Definition at line 406 of file FWRPZView.cc.
References m_axes, m_projectionAxesLabelSize, FWGenericParameter< T >::value(), and FWEveView::viewerGL().
Referenced by FWRPZView().
void FWRPZView::resetOrigin | ( | ) |
Definition at line 261 of file FWRPZView.cc.
References b, FWEveView::context(), fireworks::Context::getBeamSpot(), m_projMgr, FWBeamSpot::x0(), FWBeamSpot::y0(), and FWBeamSpot::z0().
Referenced by FWViewContextMenuHandlerGL::select().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 147 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_showPixelBarrel, m_showPixelEndcap, m_showRpcEndcap, m_showTrackerBarrel, m_showTrackerEndcap, AlCaHLTBitMon_ParallelJobs::p, FWEveView::setContext(), FWRPZViewGeometry::showGEM(), FWRPZViewGeometry::showME0(), FWRPZViewGeometry::showPixelBarrel(), FWRPZViewGeometry::showPixelEndcap(), FWRPZViewGeometry::showRpcEndcap(), FWRPZViewGeometry::showTrackerBarrel(), FWRPZViewGeometry::showTrackerEndcap(), and FWViewBase::typeId().
|
private |
Definition at line 353 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 337 of file FWRPZView.cc.
References m_showProjectionAxes, FWGenericParameter< T >::set(), FWEveView::setFrom(), FWEveView::setFromOrthoCamera(), FWConfiguration::value(), FWConfiguration::valueForKey(), FWConfiguration::version(), and FWEveView::viewerGL().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 219 of file FWRPZView.cc.
References EnergyCorrector::c, fireworks::Context::commonPrefs(), FWEveView::context(), CmsShowCommon::getEventCenter(), m_projMgr, and FWEveView::setupEventCenter().
void FWRPZView::shiftOrigin | ( | TEveVector & | center | ) |
Definition at line 243 of file FWRPZView.cc.
References m_projMgr, and FWEveView::viewerGL().
Referenced by FWViewContextMenuHandlerGL::select().
|
private |
Definition at line 399 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 368 of file FWRPZView.cc.
References a, FWEveView::context(), gen::k, m_calo, objects.METAnalyzer::sumEt, and fireworks::Context::voteMaxEtAndEnergy().
|
private |
Definition at line 87 of file FWRPZView.h.
Referenced by FWRPZView(), projectionAxesLabelSize(), and showProjectionAxes().
|
private |
Definition at line 88 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 85 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 86 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 98 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 99 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 populateController(), and setContext().
|
private |
Definition at line 107 of file FWRPZView.h.
Referenced by FWRPZView(), populateController(), setFrom(), and showProjectionAxes().
|
private |
Definition at line 97 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 95 of file FWRPZView.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 96 of file FWRPZView.h.
Referenced by setContext().
|
staticprivate |
Definition at line 82 of file FWRPZView.h.
Referenced by doFishEyeDistortion(), and FWRPZView().
|
staticprivate |
Definition at line 83 of file FWRPZView.h.
Referenced by doFishEyeDistortion().