#include <Fireworks/Core/interface/FWEventItem.h>
Classes | |
struct | ModelInfo |
Public Member Functions | |
FWModelChangeManager * | changeManager () const |
FWColorManager * | colorManager () const |
const fireworks::Context & | context () const |
const void * | data (const std::type_info &) const |
const FWDisplayProperties & | defaultDisplayProperties () const |
void | destroy () const |
const std::string & | errorMessage () const |
returns error string if there was a problem this event More... | |
const std::string & | filterExpression () const |
FWEventItem (fireworks::Context *iContext, unsigned int iItemId, std::shared_ptr< FWItemAccessorBase > iAccessor, const FWPhysicsObjectDesc &iDesc, const FWConfiguration *pbConf=nullptr) | |
template<class T > | |
void | get (const T *&oData) const |
FWProxyBuilderConfiguration * | getConfig () const |
const edm::EventBase * | getEvent () const |
const FWGeometry * | getGeom () const |
void | getPrimaryData () const |
bool | hasError () const |
returns true if failed to get data for this event More... | |
bool | hasEvent () const |
bool | haveInterestingValue () const |
unsigned int | id () const |
bool | isCollection () const |
bool | isInBack () const |
returns true if item is behind all other items More... | |
bool | isInFront () const |
returns true if item is in front of all other items More... | |
bool | itemIsSelected () const |
int | layer () const |
const void * | modelData (int iIndex) const |
ModelInfo | modelInfo (int iIndex) const |
const std::string & | modelInterestingValueAsString (int iIndex) const |
std::string | modelName (int iIndex) const |
const TClass * | modelType () const |
const std::string & | moduleLabel () const |
void | moveToBack () |
void | moveToFront () |
void | moveToLayer (int layer) |
const std::string & | name () const |
const std::string & | processName () const |
const std::string & | productInstanceLabel () const |
void | proxyConfigChanged () |
const std::string & | purpose () const |
void | resetColor () |
void | select (int iIndex) const |
FWSelectionManager * | selectionManager () const |
void | selectItem () |
void | setData (const edm::ObjectWithDict &) const |
void | setDefaultDisplayProperties (const FWDisplayProperties &) |
void | setDisplayProperties (int iIndex, const FWDisplayProperties &) const |
void | setEvent (const edm::EventBase *iEvent) |
void | setFilterExpression (const std::string &) |
void | setLabels (const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess) |
void | setName (const std::string &iName) |
size_t | size () const |
void | toggleSelect (int iIndex) const |
void | toggleSelectItem () |
const TClass * | type () const |
void | unselect (int iIndex) const |
void | unselectItem () |
const FWItemValueGetter & | valueGetter () const |
one value from the model which is normally used for the popup More... | |
virtual | ~FWEventItem () |
Static Public Member Functions | |
static int | maxLayerValue () |
static int | minLayerValue () |
Private Member Functions | |
void | handleChange () |
void | runFilter () |
Private Attributes | |
std::shared_ptr< FWItemAccessorBase > | m_accessor |
const fireworks::Context * | m_context |
FWDisplayProperties | m_displayProperties |
std::string | m_errorMessage |
const edm::EventBase * | m_event |
FWModelFilter | m_filter |
unsigned int | m_id |
FWItemValueGetter | m_interestingValueGetter |
bool | m_isSelected |
std::vector< ModelInfo > | m_itemInfos |
int | m_layer |
std::string | m_moduleLabel |
std::string | m_name |
Color_t | m_origColor |
bool | m_printedErrorThisEvent |
std::string | m_processName |
std::string | m_productInstanceLabel |
FWProxyBuilderConfiguration * | m_proxyBuilderConfig |
std::string | m_purpose |
const TClass * | m_type |
edm::TypeWithDict | m_wrapperType |
Description: Stand in for a top level item in an Event
Usage: <usage>
Definition at line 56 of file FWEventItem.h.
FWEventItem::FWEventItem | ( | fireworks::Context * | iContext, |
unsigned int | iItemId, | ||
std::shared_ptr< FWItemAccessorBase > | iAccessor, | ||
const FWPhysicsObjectDesc & | iDesc, | ||
const FWConfiguration * | pbConf = nullptr |
||
) |
Definition at line 52 of file FWEventItem.cc.
References FWDisplayProperties::color(), FWPhysicsObjectDesc::displayProperties(), m_accessor, m_filter, m_itemInfos, m_origColor, m_proxyBuilderConfig, modelType(), and FWModelFilter::setClassName().
|
virtual |
Definition at line 101 of file FWEventItem.cc.
References m_proxyBuilderConfig.
|
inline |
Definition at line 132 of file FWEventItem.h.
Referenced by FWFromSliceSelector::changeManager(), CmsShowEDI::changeSelectionColor(), CmsShowEDI::deselectAll(), destroy(), FWHistSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), handleChange(), FWCollectionSummaryWidget::modelSelected(), resetColor(), runFilter(), FWModelExpressionSelector::select(), select(), CmsShowEDI::selectAll(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelect(), and unselect().
|
inline |
Definition at line 139 of file FWEventItem.h.
Referenced by FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), and FWCollectionSummaryWidget::itemColorClicked().
|
inline |
Definition at line 128 of file FWEventItem.h.
Referenced by FWCaloDataProxyBuilderBase::build(), FWDetailViewBase::context(), FWProxyBuilderBase::context(), and FWPFCandidateDetailView::voteMaxEtEVal().
const void * FWEventItem::data | ( | const std::type_info & | iInfo | ) | const |
Definition at line 394 of file FWEventItem.cc.
References cppFunctionSkipper::exception, edm::EventBase::getByLabel(), cmsBatch::handle, m_accessor, m_errorMessage, m_event, m_moduleLabel, m_printedErrorThisEvent, m_processName, m_productInstanceLabel, m_type, name(), alignCSCRings::s, setData(), GlobalPosition_Frontier_DevDB_cff::tag, and type().
Referenced by getPrimaryData().
const FWDisplayProperties & FWEventItem::defaultDisplayProperties | ( | ) | const |
Definition at line 453 of file FWEventItem.cc.
References m_displayProperties.
Referenced by FWInteractionList::added(), FWTrackHitsDetailView::addHits(), FWConvTrackHitsDetailView::addHits(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), FWPFCandidateWithHitsProxyBuilder::build(), FWBeamSpotProxyBuilder::build(), FWPFClusterRPZProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), CmsShowEDI::changeItemColor(), CmsShowEDI::changeItemOpacity(), CmsShowEDI::changeSelectionColor(), FWCollectionSummaryWidget::colorChangeRequested(), FWCollectionSummaryWidget::colorClicked(), CmsShowEDI::colorSetChanged(), FWCollectionSummaryWidget::createColorPopup(), FWProxyBuilderBase::createCompound(), FWCollectionSummaryWidget::displayChanged(), CmsShowEDI::fillEDIFrame(), fireworks::makeRhoPhiSuperCluster(), FWCollectionSummaryWidget::setBackgroundToWhite(), fireworks::setupAddElement(), FWPFBlockProxyBuilder::setupClusterElement(), FWProxyBuilderBase::setupElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), FWCollectionSummaryWidget::toggleItemVisible(), CmsShowEDI::toggleItemVisible(), and CmsShowEDI::updateDisplay().
void FWEventItem::destroy | ( | ) | const |
Definition at line 610 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), goingToBeDestroyed_, id(), m_itemInfos, selectionManager(), size(), FWSelectionManager::unselect(), and unselectItem().
Referenced by FWEventItemsManager::clearItems(), and CmsShowEDI::removeItem().
const std::string & FWEventItem::errorMessage | ( | ) | const |
returns error string if there was a problem this event
Definition at line 674 of file FWEventItem.cc.
References getPrimaryData(), and m_errorMessage.
Referenced by Vispa.Main.Application.Application::_loadPlugins(), hasError(), FWCollectionSummaryWidget::itemChanged(), Vispa.Main.Application.Application::openFile(), and ConfigToolBase.ConfigToolBase::typeError().
const std::string & FWEventItem::filterExpression | ( | ) | const |
Definition at line 604 of file FWEventItem.cc.
References FWModelFilter::expression(), and m_filter.
Referenced by CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::itemChanged(), and CmsShowEDI::updateFilter().
|
inline |
Definition at line 85 of file FWEventItem.h.
References data, triggerObjects_cff::id, ecalBarrelClusterFastTimer_cfi::modelName, dataset::name, modifiedElectrons_cfi::processName, trackingPlots::purpose, findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), FWPFCandidateWithHitsProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWME0DigiProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWGEMDigiProxyBuilder::build(), FWPFCandidateTowerProxyBuilder::build(), FWCaloTowerProxyBuilderBase::build(), FWTrackProxyBuilderFullFramework::build(), FWHFTowerProxyBuilderBase::build(), FWHGTowerProxyBuilderBase::build(), FWGEMPadDigiProxyBuilder::build(), FWPFTauProxyBuilder::buildViewType(), FWCaloTauProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), FWHFTowerSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), betterConfigParser.BetterConfigParser::getCompares(), FWPFCandidateTowerSliceSelector::getItemEntryEtaPhi(), FWCaloTowerSliceSelector::getItemEntryEtaPhi(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 169 of file FWEventItem.h.
References pyrootRender::destroy(), TauGenJetsDecayModeSelectorAllHadrons_cfi::select, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWMuonRhoPhiProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWMuonProxyBuilder::build(), FWTrackProxyBuilder::build(), FWTrackProxyBuilderFullFramework::build(), FWVertexCandidateProxyBuilder::build(), FWVertexProxyBuilder::build(), FWJetProxyBuilder::buildViewType(), CmsShowEDI::fillEDIFrame(), FWElectronProxyBuilder::requestCommon(), FWCaloRecHitDigitSetProxyBuilder::setItem(), FWGenParticleLegoProxyBuilder::setItem(), FWMuonRhoPhiProxyBuilder::setItem(), FWTrackingParticleProxyBuilder::setItem(), FWMuonProxyBuilder::setItem(), FWCaloParticleProxyBuilder::setItem(), FWCandidateProxyBuilder::setItem(), FWTrackProxyBuilder::setItem(), FWTrackProxyBuilderFullFramework::setItem(), FWVertexCandidateProxyBuilder::setItem(), FWVertexProxyBuilder::setItem(), FWElectronProxyBuilder::setItem(), FWTauProxyBuilderBase::setItem(), FWJetProxyBuilder::setItem(), and FWJetProxyBuilder::setTextPos().
|
inline |
Definition at line 148 of file FWEventItem.h.
References iEvent, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fireworks::addSiStripClusters(), FWSimTrackProxyBuilder::build(), FWTrackingParticleProxyBuilderFullFramework::build(), FWTrackProxyBuilderFullFramework::build(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), and fireworks::pushNearbyPixelHits().
const FWGeometry * FWEventItem::getGeom | ( | ) | const |
Definition at line 683 of file FWEventItem.cc.
References fireworks::Context::getGeom(), and m_context.
Referenced by FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), FWPRCaloTowerProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWHGCalMultiClusterProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), FWME0DigiProxyBuilder::build(), FWME0SegmentProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWCSCRecHitProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWGEMDigiProxyBuilder::build(), FWTrackingParticleProxyBuilderFullFramework::build(), FWCaloParticleProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWTrajectorySeedProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWGEMPadDigiProxyBuilder::build(), FWGEMSegmentProxyBuilder::buildViewType(), FWME0RecHitProxyBuilder::buildViewType(), FWPSimHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWGEMRecHitProxyBuilder::buildViewType(), FWPhotonProxyBuilder::buildViewType(), FWDTSegmentProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), FWHGTowerProxyBuilderBase::fillTowerForDetId(), FWHGTowerSliceSelector::findBinFromId(), FWHFTowerSliceSelector::findBinFromId(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), and FWPFCandidateWithHitsProxyBuilder::scaleProduct().
void FWEventItem::getPrimaryData | ( | ) | const |
Definition at line 445 of file FWEventItem.cc.
References data(), m_accessor, and m_type.
Referenced by errorMessage(), handleChange(), modelData(), modelInfo(), modelInterestingValueAsString(), FWFileEntry::runFilter(), and size().
|
private |
Definition at line 380 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), getPrimaryData(), preItemChanged_, and runFilter().
Referenced by moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), setEvent(), and setLabels().
bool FWEventItem::hasError | ( | void | ) | const |
returns true if failed to get data for this event
Definition at line 669 of file FWEventItem.cc.
References errorMessage(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWCollectionSummaryWidget::itemChanged().
|
inline |
bool FWEventItem::haveInterestingValue | ( | ) | const |
Definition at line 589 of file FWEventItem.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWInteractionList::added(), and FWInteractionList::itemChanged().
unsigned int FWEventItem::id | ( | void | ) | const |
Unique ID for the item. This number starts at 0 and increments by one for each new item.
Definition at line 496 of file FWEventItem.cc.
References m_id, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWModelChangeManager::changed(), destroy(), FWSelectionManager::itemChanged(), FWSummaryManager::itemDestroyed(), FWGUIManager::newItem(), FWModelChangeManager::newItemSlot(), FWEventItemsManager::removeItem(), resetColor(), runFilter(), FWSelectionManager::select(), select(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelect(), FWSelectionManager::unselect(), and unselect().
bool FWEventItem::isCollection | ( | ) | const |
Definition at line 557 of file FWEventItem.cc.
References m_accessor.
bool FWEventItem::isInBack | ( | ) | const |
returns true if item is behind all other items
Definition at line 480 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), layer(), and m_context.
Referenced by CmsShowEDI::updateLayerControls().
bool FWEventItem::isInFront | ( | ) | const |
returns true if item is in front of all other items
Definition at line 465 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), layer(), and m_context.
Referenced by CmsShowEDI::updateLayerControls().
bool FWEventItem::itemIsSelected | ( | ) | const |
Definition at line 663 of file FWEventItem.cc.
References m_isSelected.
Referenced by FWCollectionSummaryWidget::displayChanged(), FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::stateClicked().
int FWEventItem::layer | ( | ) | const |
objects with a larger layer number are drawn on top of objects with a lower number
Definition at line 459 of file FWEventItem.cc.
References m_layer.
Referenced by addElements(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), isInBack(), isInFront(), FWProxyBuilderBase::itemChanged(), FWProxyBuilderBase::layer(), moveToBack(), moveToFront(), and CmsShowEDI::updateLayerControls().
|
static |
Definition at line 43 of file FWEventItem.cc.
Referenced by CmsShowEDI::CmsShowEDI(), moveToFront(), and moveToLayer().
|
static |
Definition at line 38 of file FWEventItem.cc.
Referenced by CmsShowEDI::CmsShowEDI(), moveToBack(), and moveToLayer().
const void * FWEventItem::modelData | ( | int | iIndex | ) | const |
Definition at line 569 of file FWEventItem.cc.
References getPrimaryData(), m_accessor, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWDetailViewBase::build(), FWSimpleProxyBuilder::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWCandidateTowerProxyBuilder::fillCaloData(), FWCandidateTowerSliceSelector::getItemEntryEtaPhi(), FWTableViewTableManager::rowHeader(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), FWViewContextMenuHandlerGL::select(), FWModelExpressionSelector::select(), FWSimpleProxyBuilder::visibilityModelChanges(), and FWCollectionSummaryTableManager::~FWCollectionSummaryTableManager().
FWEventItem::ModelInfo FWEventItem::modelInfo | ( | int | iIndex | ) | const |
Definition at line 537 of file FWEventItem.cc.
References getPrimaryData(), FWDisplayProperties::isVisible(), m_displayProperties, m_itemInfos, FWDisplayProperties::setIsVisible(), and lumiQTWidget::t.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWSimpleProxyBuilder::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWFromSliceSelector::clear(), FWCollectionSummaryWidget::colorChangeRequested(), FWTableViewTableManager::dataChanged(), FWHistSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWModelIdFromEveSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWModelIdFromEveSelector::doUnselect(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), FWHGTowerProxyBuilderBase::fillCaloData(), CmsShowModelPopup::fillModelPopup(), FWProxyBuilderBase::increaseComponentTransparency(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), FWBeamSpotProxyBuilder::localModelChanges(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWTableViewTableManager::rowHeader(), FWModelExpressionSelector::select(), FWCollectionSummaryModelCellRenderer::setData(), FWSecondarySelectableSelector::syncSelection(), FWTrackProxyBuilderFullFramework::visibilityModelChanges(), FWSimpleProxyBuilder::visibilityModelChanges(), and FWModelContextMenuHandler::~FWModelContextMenuHandler().
const std::string & FWEventItem::modelInterestingValueAsString | ( | int | iIndex | ) | const |
Definition at line 596 of file FWEventItem.cc.
References getPrimaryData(), FWItemValueGetter::getToolTip(), m_accessor, m_interestingValueGetter, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWInteractionList::added(), FWDigitSetProxyBuilder::getTooltip(), and FWInteractionList::itemChanged().
std::string FWEventItem::modelName | ( | int | iIndex | ) | const |
Definition at line 576 of file FWEventItem.cc.
References name(), and alignCSCRings::s.
Referenced by FWInteractionList::added(), CmsShowModelPopup::fillModelPopup(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), and FWCollectionSummaryModelCellRenderer::setData().
const TClass * FWEventItem::modelType | ( | ) | const |
Definition at line 563 of file FWEventItem.cc.
References m_accessor.
Referenced by FWDetailViewManager::detailViewsFor(), CmsShowEDI::fillEDIFrame(), FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWEventItem(), FWSimpleProxyHelper::itemChanged(), FWEveViewManager::newItem(), FWModelExpressionSelector::select(), FWTableView::selectCollection(), and FWTableViewTableManager::updateEvaluators().
const std::string & FWEventItem::moduleLabel | ( | ) | const |
Definition at line 520 of file FWEventItem.cc.
References m_moduleLabel, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CmsShowEDI::fillEDIFrame(), FWFileEntry::getBranchName(), and FWFileEntry::runFilter().
void FWEventItem::moveToBack | ( | ) |
Definition at line 335 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, SiStripPI::max, and minLayerValue().
Referenced by CmsShowEDI::moveToBack().
void FWEventItem::moveToFront | ( | ) |
change layering
Definition at line 312 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, maxLayerValue(), and min().
Referenced by CmsShowEDI::moveToFront().
void FWEventItem::moveToLayer | ( | int | layer | ) |
Definition at line 358 of file FWEventItem.cc.
References fireworks::Context::eventItemsManager(), handleChange(), m_accessor, m_context, m_itemInfos, m_layer, SiStripPI::max, maxLayerValue(), min(), and minLayerValue().
Referenced by CmsShowEDI::moveToLayer().
const std::string & FWEventItem::name | ( | void | ) | const |
Definition at line 502 of file FWEventItem.cc.
References m_name.
Referenced by config.CFG::__str__(), FWProxyBuilderBase::build(), FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), data(), validation.Sample::digest(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWEventItemsManager::find(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWDigitSetProxyBuilder::getTooltip(), VIDSelectorBase.VIDSelectorBase::initialize(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), modelName(), FWGUIManager::newItem(), FWViewManagerManager::registerEventItem(), FWViewManagerManager::removeEventItem(), CmsShowEDI::removeItem(), runFilter(), FWTableView::updateItems(), and Vispa.Views.PropertyView.Property::valueChanged().
const std::string & FWEventItem::processName | ( | ) | const |
Definition at line 531 of file FWEventItem.cc.
References m_processName.
Referenced by CmsShowEDI::fillEDIFrame(), FWFileEntry::getBranchName(), and FWFileEntry::runFilter().
const std::string & FWEventItem::productInstanceLabel | ( | ) | const |
Definition at line 525 of file FWEventItem.cc.
References m_productInstanceLabel, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CmsShowEDI::fillEDIFrame(), FWFileEntry::getBranchName(), and FWFileEntry::runFilter().
void FWEventItem::proxyConfigChanged | ( | ) |
Definition at line 370 of file FWEventItem.cc.
References fireworks::Context::eventItemsManager(), handleChange(), m_accessor, m_context, and m_itemInfos.
Referenced by FWProxyBuilderConfiguration::assertParam().
const std::string & FWEventItem::purpose | ( | ) | const |
Since the same C++ type can be used for multiple purposes, this string disambiguates them.
Definition at line 514 of file FWEventItem.cc.
References m_purpose, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWProxyBuilderBase::canHandle(), and FWEveViewManager::newItem().
void FWEventItem::resetColor | ( | ) |
Definition at line 687 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), defaultDisplayPropertiesChanged_, id(), m_displayProperties, m_itemInfos, m_origColor, FWDisplayProperties::setColor(), and size().
|
private |
Definition at line 209 of file FWEventItem.cc.
References MessageLogger_cfi::cerr, FWModelChangeManager::changed(), changeManager(), cppFunctionSkipper::exception, id(), m_accessor, m_filter, m_itemInfos, name(), FWModelFilter::passesFilter(), and size().
Referenced by handleChange(), and setFilterExpression().
void FWEventItem::select | ( | int | iIndex | ) | const |
Definition at line 252 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, triggerObjects_cff::sel, FWSelectionManager::select(), selectionManager(), and selectItem().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), FWHistSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), FWModelExpressionSelector::select(), FWModelId::select(), CmsShowEDI::selectAll(), and FWSecondarySelectableSelector::syncSelection().
|
inline |
Definition at line 135 of file FWEventItem.h.
Referenced by CmsShowEDI::changeSelectionColor(), destroy(), FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), CmsShowEDI::runSelection(), select(), selectItem(), FWCollectionSummaryWidget::stateClicked(), toggleSelect(), toggleSelectItem(), unselect(), and unselectItem().
void FWEventItem::selectItem | ( | ) |
Select the item (i.e. container) itself
Definition at line 634 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), and FWSelectionManager::selectItem().
Referenced by FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), select(), and FWCollectionSummaryWidget::stateClicked().
void FWEventItem::setData | ( | const edm::ObjectWithDict & | iData | ) | const |
Definition at line 432 of file FWEventItem.cc.
References m_accessor, m_displayProperties, and m_itemInfos.
Referenced by data().
void FWEventItem::setDefaultDisplayProperties | ( | const FWDisplayProperties & | iProp | ) |
This is the place where not only display properties are changed, but which is also responsible to notify the FWModelChangeManager about the change. If you've just added some property, you have a nice GUI for it and still nothing works, this is probably the place where you want to look.
Definition at line 157 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), FWDisplayProperties::color(), defaultDisplayPropertiesChanged_, id(), FWDisplayProperties::isVisible(), m_displayProperties, m_itemInfos, FWDisplayProperties::setColor(), FWDisplayProperties::setTransparency(), size(), FWDisplayProperties::transparency(), and runTauDisplay::vis.
Referenced by CmsShowEDI::changeItemColor(), CmsShowEDI::changeItemOpacity(), FWCollectionSummaryWidget::colorChangeRequested(), FWCollectionSummaryWidget::toggleItemVisible(), and CmsShowEDI::toggleItemVisible().
void FWEventItem::setDisplayProperties | ( | int | iIndex, |
const FWDisplayProperties & | iProps | ||
) | const |
Definition at line 278 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), defaultDisplayPropertiesChanged_, id(), FWDisplayProperties::isVisible(), m_accessor, m_displayProperties, m_itemInfos, FWDisplayProperties::setIsVisible(), and size().
Referenced by FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), CmsShowEDI::changeSelectionColor(), FWCollectionSummaryWidget::colorChangeRequested(), FWModelExpressionSelector::select(), and FWModelContextMenuHandler::~FWModelContextMenuHandler().
void FWEventItem::setEvent | ( | const edm::EventBase * | iEvent | ) |
Definition at line 122 of file FWEventItem.cc.
References handleChange(), iEvent, m_accessor, m_event, m_itemInfos, and m_printedErrorThisEvent.
Referenced by FWEventItemsManager::newEvent(), and FWFileEntry::runFilter().
void FWEventItem::setFilterExpression | ( | const std::string & | iExpression | ) |
Throws an FWExpresionException if there is a problem with the expression
Definition at line 201 of file FWEventItem.cc.
References filterChanged_, m_filter, runFilter(), and FWModelFilter::setExpression().
Referenced by CmsShowEDI::runFilter().
void FWEventItem::setLabels | ( | const std::string & | iModule, |
const std::string & | iProductInstance, | ||
const std::string & | iProcess | ||
) |
Definition at line 132 of file FWEventItem.cc.
References handleChange(), m_accessor, m_itemInfos, m_moduleLabel, m_processName, and m_productInstanceLabel.
void FWEventItem::setName | ( | const std::string & | iName | ) |
Definition at line 145 of file FWEventItem.cc.
References m_name.
Referenced by Vispa.Gui.PortWidget.PortWidget::__init__(), and Vispa.Views.PropertyView.Property::__init__().
size_t FWEventItem::size | ( | void | ) | const |
Definition at line 550 of file FWEventItem.cc.
References getPrimaryData(), and m_itemInfos.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), FWCaloRecHitDigitSetProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWSimpleProxyBuilder::build(), FWProxyBuilderBase::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWFromSliceSelector::clear(), FWCollectionSummaryTableManager::dataChanged(), FWTableViewTableManager::dataChanged(), CmsShowEDI::deselectAll(), destroy(), FWHistSliceSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWCandidateTowerProxyBuilder::fillCaloData(), FWInteractionList::itemChanged(), FWInteractionList::modelChanges(), FWProxyBuilderBase::modelChanges(), FWTableViewTableManager::numberOfRows(), FWCollectionSummaryTableManager::numberOfRows(), FWConversionProxyBuilder::requestCommon(), FWElectronProxyBuilder::requestCommon(), FWJetProxyBuilder::requestCommon(), resetColor(), FWCollectionSummaryTableManager::rowHeader(), FWTableViewTableManager::rowHeader(), runFilter(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), FWModelExpressionSelector::select(), CmsShowEDI::selectAll(), setDefaultDisplayProperties(), setDisplayProperties(), FWSecondarySelectableSelector::syncSelection(), and FWCollectionSummaryTableManager::~FWCollectionSummaryTableManager().
void FWEventItem::toggleSelect | ( | int | iIndex | ) | const |
Definition at line 266 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, triggerObjects_cff::sel, FWSelectionManager::select(), selectionManager(), and FWSelectionManager::unselect().
Referenced by FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), and FWModelId::toggleSelect().
void FWEventItem::toggleSelectItem | ( | ) |
Definition at line 652 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), FWSelectionManager::selectItem(), and FWSelectionManager::unselectItem().
const TClass * FWEventItem::type | ( | ) | const |
Definition at line 508 of file FWEventItem.cc.
References m_type, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by data(), CmsShowEDI::fillEDIFrame(), FWFileEntry::getBranchName(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), FWEveViewManager::newItem(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and FWFileEntry::runFilter().
void FWEventItem::unselect | ( | int | iIndex | ) | const |
Definition at line 241 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, triggerObjects_cff::sel, selectionManager(), and FWSelectionManager::unselect().
Referenced by FWFromSliceSelector::clear(), CmsShowEDI::deselectAll(), FWHistSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWSecondarySelectableSelector::syncSelection(), and FWModelId::unselect().
void FWEventItem::unselectItem | ( | ) |
Definition at line 643 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), and FWSelectionManager::unselectItem().
Referenced by destroy().
|
inline |
one value from the model which is normally used for the popup
Definition at line 119 of file FWEventItem.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), FWCollectionSummaryTableManager::getTitles(), FWCollectionSummaryTableManager::implSort(), FWCollectionSummaryTableManager::numberOfColumns(), and FWViewContextMenuHandlerGL::select().
|
mutable |
connect to this signal if you want to know when models held by the item change
Definition at line 199 of file FWEventItem.h.
Referenced by CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWEveViewManager::newItem(), and FWModelChangeManager::newItemSlot().
|
mutable |
connect to this signal if you want to know that the default display properties of the item have changed. This is only useful if you are displaying these properties and not just the underlying models.
Definition at line 211 of file FWEventItem.h.
Referenced by CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), resetColor(), selectItem(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelectItem(), and unselectItem().
|
mutable |
connect to this signal if you want to know that the filter being applied to the item was changed.
Definition at line 214 of file FWEventItem.h.
Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and setFilterExpression().
|
mutable |
connect to this signal if you need to know that this item is going to be destroyed.
Definition at line 218 of file FWEventItem.h.
Referenced by destroy(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWTableViewManager::newItem(), FWEveViewManager::newItem(), FWSummaryManager::newItem(), and FWViewManagerManager::registerEventItem().
|
mutable |
connect to this signal if you want to know when the data underlying the item changes
Definition at line 202 of file FWEventItem.h.
Referenced by FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWEveViewManager::newItem(), FWSummaryManager::newItem(), and FWModelChangeManager::newItemSlot().
|
private |
Definition at line 233 of file FWEventItem.h.
Referenced by data(), FWEventItem(), getPrimaryData(), isCollection(), modelData(), modelInterestingValueAsString(), modelType(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), runFilter(), setData(), setDisplayProperties(), setEvent(), and setLabels().
|
private |
Definition at line 228 of file FWEventItem.h.
Referenced by getGeom(), isInBack(), isInFront(), moveToBack(), moveToFront(), moveToLayer(), and proxyConfigChanged().
|
private |
Definition at line 234 of file FWEventItem.h.
Referenced by defaultDisplayProperties(), modelInfo(), resetColor(), setData(), setDefaultDisplayProperties(), and setDisplayProperties().
|
mutableprivate |
Definition at line 248 of file FWEventItem.h.
Referenced by data(), and errorMessage().
|
private |
Definition at line 242 of file FWEventItem.h.
Referenced by data(), and setEvent().
|
private |
Definition at line 246 of file FWEventItem.h.
Referenced by filterExpression(), FWEventItem(), runFilter(), and setFilterExpression().
|
private |
Definition at line 229 of file FWEventItem.h.
Referenced by id().
|
private |
Definition at line 244 of file FWEventItem.h.
Referenced by modelInterestingValueAsString().
|
private |
Definition at line 250 of file FWEventItem.h.
Referenced by itemIsSelected(), selectItem(), toggleSelectItem(), and unselectItem().
|
mutableprivate |
Definition at line 236 of file FWEventItem.h.
Referenced by destroy(), FWEventItem(), modelInfo(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), resetColor(), runFilter(), select(), setData(), setDefaultDisplayProperties(), setDisplayProperties(), setEvent(), setLabels(), size(), toggleSelect(), and unselect().
|
private |
Definition at line 235 of file FWEventItem.h.
Referenced by layer(), moveToBack(), moveToFront(), and moveToLayer().
|
private |
Definition at line 239 of file FWEventItem.h.
Referenced by data(), moduleLabel(), and setLabels().
|
private |
Definition at line 230 of file FWEventItem.h.
|
private |
Definition at line 251 of file FWEventItem.h.
Referenced by FWEventItem(), and resetColor().
|
mutableprivate |
Definition at line 247 of file FWEventItem.h.
Referenced by data(), and setEvent().
|
private |
Definition at line 241 of file FWEventItem.h.
Referenced by data(), processName(), and setLabels().
|
private |
Definition at line 240 of file FWEventItem.h.
Referenced by data(), productInstanceLabel(), and setLabels().
|
private |
Definition at line 253 of file FWEventItem.h.
Referenced by FWEventItem(), and ~FWEventItem().
|
private |
Definition at line 232 of file FWEventItem.h.
Referenced by purpose().
|
private |
Definition at line 231 of file FWEventItem.h.
Referenced by data(), getPrimaryData(), and type().
|
private |
Definition at line 243 of file FWEventItem.h.
|
mutable |
connect to this signal if you want to know immediately when the data underlying the item changes only intended to be used by the FWSelectionManager
Definition at line 207 of file FWEventItem.h.
Referenced by handleChange(), and FWSelectionManager::select().