#include <Fireworks/Core/interface/CmsShowCommon.h>
Public Member Functions | |
void | addTo (FWConfiguration &) const override |
CmsShowCommon (fireworks::Context *) | |
int | gamma () |
const TGLColorSet & | getDarkColorSet () const |
FWViewEnergyScale * | getEnergyScale () const |
void | getEventCenter (float *inC) const |
const TGLColorSet & | getLightColorSet () const |
UChar_t | getProjTrackBreaking () const |
bool | getRnrPTBMarkers () const |
void | loopPalettes () |
void | permuteColors () |
void | randomizeColors () |
void | resetEventCenter () |
void | setDrawBreakMarkers () |
void | setEventCenter (float, float, float) |
void | setFrom (const FWConfiguration &) override |
void | setGamma () |
void | setGeomColor (FWGeomColorIndex, Color_t) |
void | setGeomTransparency (int val, bool projected) |
void | setTrackBreakMode () |
void | setView (CmsShowCommonPopup *x) |
void | switchBackground () |
~CmsShowCommon () override | |
Public Member Functions inherited from FWConfigurableParameterizable | |
void | addTo (FWConfiguration &) const override |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
void | setFrom (const FWConfiguration &) override |
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 () |
Public Attributes | |
sigc::signal< void, const CmsShowCommon * > | eventCenterChanged_ |
Protected Member Functions | |
const FWColorManager * | colorManager () const |
void | setPalette () |
Private Member Functions | |
CmsShowCommon (const CmsShowCommon &)=delete | |
const CmsShowCommon & | operator= (const CmsShowCommon &)=delete |
Friends | |
class | CmsShowCommonPopup |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
CmsShowCommon::CmsShowCommon | ( | fireworks::Context * | c | ) |
Definition at line 40 of file CmsShowCommon.cc.
References FWEnumParameter::addEntry(), FWGenericParameter< T >::changed_, fireworks::Context::colorManager(), colorManager(), FWColorManager::getPalette(), mps_fire::i, FWColorManager::kArctic, FWColorManager::kClassic, FWColorManager::kFall, kFWGeomColorSize, FWColorManager::kPurple, FWColorManager::kSpring, cmsLHEtoEOSManager::l, m_context, m_darkColorSet, m_drawBreakPoints, m_gamma, m_geomColors, m_lightColorSet, m_palette, m_trackBreak, m_viewContext, Skims_PA_cff::name, FWGenericParameter< T >::set(), setDrawBreakMarkers(), FWViewContext::setEnergyScale(), setGamma(), and setTrackBreakMode().
|
override |
Definition at line 81 of file CmsShowCommon.cc.
|
privatedelete |
|
overridevirtual |
Implements FWConfigurable.
Definition at line 199 of file CmsShowCommon.cc.
References FWConfigurableParameterizable::addTo(), colorManager(), FWViewContext::getEnergyScale(), m_backgroundColor, m_darkColorSet, m_lightColorSet, m_viewContext, and FWGenericParameter< T >::set().
|
protected |
Definition at line 83 of file CmsShowCommon.cc.
References fireworks::Context::colorManager(), and m_context.
Referenced by addTo(), CmsShowCommonPopup::changeSelectionColorSet(), CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), CmsShowCommonPopup::colorSetChanged(), CmsShowCommonPopup::getColorSetColors(), and switchBackground().
|
inline |
Definition at line 61 of file CmsShowCommon.h.
References CmsShowCommonPopup::permuteColors(), CmsShowCommonPopup::randomizeColors(), CmsShowCommonPopup::switchBackground(), and heppy_batch::val.
|
inline |
|
inline |
Definition at line 70 of file CmsShowCommon.h.
Referenced by CmsShowCommonPopup::CmsShowCommonPopup(), FWEveViewManager::setContext(), and FWEveView::useGlobalEnergyScaleChanged().
void CmsShowCommon::getEventCenter | ( | float * | inC | ) | const |
Definition at line 294 of file CmsShowCommon.cc.
References pwdgSkimBPark_cfi::beamSpot, dqmMemoryStats::float, fireworks::Context::getBeamSpot(), fireworks::Context::getInstance(), m_externalEventCenter, m_useBeamSpot, FWBeamSpot::x0(), FWBeamSpot::y0(), and FWBeamSpot::z0().
Referenced by FWRPZView::eventBegin(), FWRPZView::eventEnd(), FWJetProxyBuilder::scaleProduct(), and FWRPZView::setupEventCenter().
|
inline |
|
inline |
|
inline |
void CmsShowCommon::loopPalettes | ( | ) |
Definition at line 278 of file CmsShowCommon.cc.
References CmsShowCommonPopup::getCombo(), FWColorManager::kPaletteFirst, FWColorManager::kPaletteLast, m_palette, m_view, FWGenericParameter< T >::set(), setPalette(), heppy_batch::val, and FWGenericParameter< T >::value().
|
privatedelete |
void CmsShowCommon::permuteColors | ( | ) |
Definition at line 113 of file CmsShowCommon.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), mps_fire::i, m_context, and FWDisplayProperties::setColor().
Referenced by CmsShowCommonPopup::permuteColors().
void CmsShowCommon::randomizeColors | ( | ) |
Definition at line 137 of file CmsShowCommon.cc.
References FWEventItemsManager::begin(), cuy::col, FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), mps_fire::i, m_context, rand(), and FWDisplayProperties::setColor().
Referenced by CmsShowCommonPopup::randomizeColors().
void CmsShowCommon::resetEventCenter | ( | ) |
Definition at line 313 of file CmsShowCommon.cc.
References pwdgSkimBPark_cfi::beamSpot, fwLog, fireworks::Context::getBeamSpot(), fireworks::Context::getInstance(), fwlog::kInfo, m_useBeamSpot, setEventCenter(), FWBeamSpot::x0(), FWBeamSpot::y0(), and FWBeamSpot::z0().
Referenced by FWVertexProxyBuilder::build().
void CmsShowCommon::setDrawBreakMarkers | ( | ) |
Definition at line 97 of file CmsShowCommon.cc.
References fireworks::Context::getMuonTrackPropagator(), fireworks::Context::getTrackerTrackPropagator(), fireworks::Context::getTrackPropagator(), m_context, m_drawBreakPoints, and FWGenericParameter< T >::value().
Referenced by CmsShowCommon().
void CmsShowCommon::setEventCenter | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 307 of file CmsShowCommon.cc.
References eventCenterChanged_, m_externalEventCenter, and m_useBeamSpot.
Referenced by FWVertexProxyBuilder::build(), and resetEventCenter().
|
overridevirtual |
Implements FWConfigurable.
Definition at line 213 of file CmsShowCommon.cc.
References FWParameterizable::begin(), fireworks::Context::colorManager(), fileCollector::convert(), FWParameterizable::end(), EgHLTOffHistBins_cfi::et, FWViewContext::getEnergyScale(), mps_fire::i, kFWGeomColorSize, m_backgroundColor, m_context, m_darkColorSet, m_gamma, m_geomColors, m_geomTransparency2D, m_geomTransparency3D, m_lightColorSet, m_viewContext, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, FWColorManager::setBackgroundAndBrightness(), FWViewEnergyScale::SetFromCmsShowCommonConfig(), FWColorManager::setGeomColor(), FWColorManager::setGeomTransparency(), setPalette(), FWConfiguration::value(), FWGenericParameter< T >::value(), relativeConstraints::value, and FWConfiguration::valueForKey().
void CmsShowCommon::setGamma | ( | ) |
Definition at line 106 of file CmsShowCommon.cc.
References fireworks::Context::colorManager(), m_context, m_gamma, FWColorManager::setBrightness(), and FWGenericParameter< T >::value().
Referenced by CmsShowCommon().
void CmsShowCommon::setGeomColor | ( | FWGeomColorIndex | cidx, |
Color_t | iColor | ||
) |
Definition at line 154 of file CmsShowCommon.cc.
References fireworks::Context::colorManager(), m_context, m_geomColors, FWGenericParameter< T >::set(), and FWColorManager::setGeomColor().
Referenced by CmsShowCommonPopup::changeGeomColor().
void CmsShowCommon::setGeomTransparency | ( | int | val, |
bool | projected | ||
) |
Definition at line 159 of file CmsShowCommon.cc.
References FWConfiguration::addKeyValue(), HltBtagPostValidation_cff::c, fireworks::Context::colorManager(), ztail::d, createfilelist::int, m_context, m_geomTransparency2D, m_geomTransparency3D, FWGenericParameter< T >::set(), FWColorManager::setGeomTransparency(), FWConfiguration::value(), and FWConfiguration::valueForKey().
Referenced by CmsShowCommonPopup::changeGeomTransparency2D(), and CmsShowCommonPopup::changeGeomTransparency3D().
|
protected |
Definition at line 260 of file CmsShowCommon.cc.
References FWEventItemsManager::begin(), fireworks::Context::colorManager(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), FWColorManager::geomColor(), mps_fire::i, kFWGeomColorSize, m_context, m_geomColors, m_palette, FWColorManager::propagatePaletteChanges(), FWGenericParameter< T >::set(), FWColorManager::setPalette(), and FWGenericParameter< T >::value().
Referenced by Vispa.Views.LineDecayView.LineDecayView::__init__(), loopPalettes(), setFrom(), and CmsShowCommonPopup::setPaletteGUI().
void CmsShowCommon::setTrackBreakMode | ( | ) |
Definition at line 88 of file CmsShowCommon.cc.
References fireworks::Context::getMuonTrackPropagator(), fireworks::Context::getTrackerTrackPropagator(), fireworks::Context::getTrackPropagator(), m_context, m_trackBreak, and FWGenericParameter< T >::value().
Referenced by CmsShowCommon().
|
inline |
Definition at line 78 of file CmsShowCommon.h.
References x.
Referenced by FWGUIManager::showCommonPopup().
void CmsShowCommon::switchBackground | ( | ) |
Definition at line 108 of file CmsShowCommon.cc.
References fireworks::Context::colorManager(), colorManager(), m_backgroundColor, m_context, FWGenericParameter< T >::set(), and FWColorManager::switchBackground().
Referenced by CmsShowCommonPopup::switchBackground().
|
friend |
Definition at line 44 of file CmsShowCommon.h.
|
mutable |
Definition at line 84 of file CmsShowCommon.h.
Referenced by FWEveViewManager::setContext(), and setEventCenter().
|
mutableprotected |
Definition at line 98 of file CmsShowCommon.h.
Referenced by addTo(), setFrom(), and switchBackground().
|
protected |
Definition at line 92 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), colorManager(), permuteColors(), randomizeColors(), setDrawBreakMarkers(), setFrom(), setGamma(), setGeomColor(), setGeomTransparency(), setPalette(), CmsShowCommonPopup::setPaletteGUI(), setTrackBreakMode(), and switchBackground().
|
protected |
Definition at line 108 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommon(), CmsShowCommonPopup::getColorSetColors(), and setFrom().
|
protected |
Definition at line 95 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), and setDrawBreakMarkers().
|
protected |
Definition at line 113 of file CmsShowCommon.h.
Referenced by getEventCenter(), and setEventCenter().
|
protected |
Definition at line 99 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), setFrom(), and setGamma().
|
protected |
Definition at line 105 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), setFrom(), setGeomColor(), and setPalette().
|
protected |
Definition at line 103 of file CmsShowCommon.h.
Referenced by setFrom(), and setGeomTransparency().
|
protected |
Definition at line 104 of file CmsShowCommon.h.
Referenced by setFrom(), and setGeomTransparency().
|
protected |
Definition at line 107 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommon(), CmsShowCommonPopup::getColorSetColors(), and setFrom().
|
mutableprotected |
Definition at line 100 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), loopPalettes(), and setPalette().
|
protected |
Definition at line 94 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), and setTrackBreakMode().
|
protected |
Definition at line 112 of file CmsShowCommon.h.
Referenced by getEventCenter(), resetEventCenter(), and setEventCenter().
|
protected |
Definition at line 91 of file CmsShowCommon.h.
Referenced by loopPalettes().
|
protected |
Definition at line 110 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommon(), and setFrom().