#include <Fireworks/Core/interface/CmsShowCommon.h>
Protected Member Functions | |
const FWColorManager * | colorManager () const |
Protected Attributes | |
FWLongParameter | m_backgroundColor |
fireworks::Context * | m_context |
TGLColorSet | m_darkColorSet |
FWBoolParameter | m_drawBreakPoints |
std::auto_ptr< FWViewEnergyScale > | m_energyScale |
FWLongParameter | m_gamma |
FWLongParameter * | m_geomColors [kFWGeomColorSize] |
FWLongParameter | m_geomTransparency2D |
FWLongParameter | m_geomTransparency3D |
TGLColorSet | m_lightColorSet |
FWEnumParameter | m_trackBreak |
Private Member Functions | |
CmsShowCommon (const CmsShowCommon &) | |
const CmsShowCommon & | operator= (const CmsShowCommon &) |
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 31 of file CmsShowCommon.cc.
References FWEnumParameter::addEntry(), FWGenericParameter< T >::changed_, colorManager(), i, kFWGeomColorSize, cmsLHEtoEOSManager::l, m_darkColorSet, m_drawBreakPoints, m_gamma, m_geomColors, m_lightColorSet, m_trackBreak, mergeVDriftHistosByStation::name, setDrawBreakMarkers(), setGamma(), and setTrackBreakMode().
|
virtual |
Definition at line 63 of file CmsShowCommon.cc.
|
private |
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 167 of file CmsShowCommon.cc.
References FWConfigurableParameterizable::addTo(), colorManager(), m_backgroundColor, m_darkColorSet, m_energyScale, m_lightColorSet, and FWGenericParameter< T >::set().
|
protected |
Definition at line 68 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 60 of file CmsShowCommon.h.
References m_gamma, and FWGenericParameter< T >::value().
|
inline |
Definition at line 70 of file CmsShowCommon.h.
References m_darkColorSet.
Referenced by FWEveView::setFrom().
|
inline |
Definition at line 67 of file CmsShowCommon.h.
References m_energyScale.
Referenced by FWEveViewManager::setContext(), and FWEveView::useGlobalEnergyScaleChanged().
|
inline |
Definition at line 69 of file CmsShowCommon.h.
References m_lightColorSet.
Referenced by FWEveView::setFrom().
|
inline |
Definition at line 73 of file CmsShowCommon.h.
References m_trackBreak, and FWGenericParameter< T >::value().
Referenced by fireworks::Context::initEveElements().
|
inline |
Definition at line 74 of file CmsShowCommon.h.
References m_drawBreakPoints, and FWGenericParameter< T >::value().
Referenced by fireworks::Context::initEveElements().
|
private |
void CmsShowCommon::setDrawBreakMarkers | ( | ) |
Definition at line 91 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().
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 184 of file CmsShowCommon.cc.
References FWParameterizable::begin(), fireworks::Context::colorManager(), fileCollector::convert(), FWParameterizable::end(), i, kFWGeomColorSize, m_backgroundColor, m_context, m_darkColorSet, m_energyScale, m_gamma, m_geomColors, m_geomTransparency2D, m_geomTransparency3D, m_lightColorSet, alignBH_cfg::mode, FWColorManager::setBackgroundAndBrightness(), FWColorManager::setGeomColor(), FWColorManager::setGeomTransparency(), FWConfiguration::value(), relativeConstraints::value, FWGenericParameter< T >::value(), and FWConfiguration::valueForKey().
void CmsShowCommon::setGamma | ( | ) |
Definition at line 103 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 116 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 123 of file CmsShowCommon.cc.
References fireworks::Context::colorManager(), m_context, m_geomTransparency2D, m_geomTransparency3D, FWGenericParameter< T >::set(), and FWColorManager::setGeomTransparency().
Referenced by CmsShowCommonPopup::changeGeomTransparency2D(), and CmsShowCommonPopup::changeGeomTransparency3D().
void CmsShowCommon::setTrackBreakMode | ( | ) |
Definition at line 78 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().
void CmsShowCommon::switchBackground | ( | ) |
Definition at line 109 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 43 of file CmsShowCommon.h.
|
mutableprotected |
Definition at line 88 of file CmsShowCommon.h.
Referenced by addTo(), setFrom(), and switchBackground().
|
protected |
Definition at line 82 of file CmsShowCommon.h.
Referenced by colorManager(), setDrawBreakMarkers(), setFrom(), setGamma(), setGeomColor(), setGeomTransparency(), setTrackBreakMode(), and switchBackground().
|
protected |
Definition at line 97 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommon(), CmsShowCommonPopup::getColorSetColors(), getDarkColorSet(), and setFrom().
|
protected |
Definition at line 85 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), getRnrPTBMarkers(), and setDrawBreakMarkers().
|
protected |
Definition at line 99 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommonPopup::CmsShowCommonPopup(), getEnergyScale(), and setFrom().
|
protected |
Definition at line 89 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), gamma(), setFrom(), and setGamma().
|
protected |
Definition at line 94 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), setFrom(), and setGeomColor().
|
protected |
Definition at line 92 of file CmsShowCommon.h.
Referenced by setFrom(), and setGeomTransparency().
|
protected |
Definition at line 93 of file CmsShowCommon.h.
Referenced by setFrom(), and setGeomTransparency().
|
protected |
Definition at line 96 of file CmsShowCommon.h.
Referenced by addTo(), CmsShowCommon(), CmsShowCommonPopup::getColorSetColors(), getLightColorSet(), and setFrom().
|
protected |
Definition at line 84 of file CmsShowCommon.h.
Referenced by CmsShowCommon(), CmsShowCommonPopup::CmsShowCommonPopup(), getProjTrackBreaking(), and setTrackBreakMode().