#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 (bool k=false) |
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 45 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 94 of file FWEventItem.cc.
References m_proxyBuilderConfig.
|
inline |
Definition at line 123 of file FWEventItem.h.
References m_context, and fireworks::Context::modelChangeManager().
Referenced by FWFromSliceSelector::changeManager(), CmsShowEDI::changeSelectionColor(), CmsShowEDI::deselectAll(), destroy(), FWHistSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), handleChange(), FWCollectionSummaryWidget::modelSelected(), proxyConfigChanged(), resetColor(), runFilter(), FWModelExpressionSelector::select(), select(), CmsShowEDI::selectAll(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelect(), and unselect().
|
inline |
Definition at line 126 of file FWEventItem.h.
References fireworks::Context::colorManager(), and m_context.
Referenced by FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), and FWCollectionSummaryWidget::itemColorClicked().
|
inline |
Definition at line 121 of file FWEventItem.h.
References m_context.
Referenced by FWCaloDataProxyBuilderBase::build(), FWDetailViewBase::context(), FWProxyBuilderBase::context(), and FWPFCandidateDetailView::voteMaxEtEVal().
const void * FWEventItem::data | ( | const std::type_info & | iInfo | ) | const |
Definition at line 353 of file FWEventItem.cc.
References cms::cuda::assert(), cppFunctionSkipper::exception, edm::EventBase::getByLabel(), patZpeak::handle, m_accessor, m_errorMessage, m_event, m_moduleLabel, m_printedErrorThisEvent, m_processName, m_productInstanceLabel, m_type, name(), alignCSCRings::s, setData(), makeGlobalPositionRcd_cfg::tag, and type().
Referenced by get(), and getPrimaryData().
const FWDisplayProperties & FWEventItem::defaultDisplayProperties | ( | ) | const |
Definition at line 403 of file FWEventItem.cc.
References m_displayProperties.
Referenced by FWInteractionList::added(), FWConvTrackHitsDetailView::addHits(), FWTrackHitsDetailView::addHits(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFClusterRPZProxyBuilder::build(), FWBeamSpotProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::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(), FWPFBlockProxyBuilder::setupClusterElement(), FWProxyBuilderBase::setupElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), FWCollectionSummaryWidget::toggleItemVisible(), CmsShowEDI::toggleItemVisible(), and CmsShowEDI::updateDisplay().
void FWEventItem::destroy | ( | ) | const |
Definition at line 493 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), goingToBeDestroyed_, id(), m_itemInfos, selectionManager(), size(), FWSelectionManager::unselect(), and unselectItem().
Referenced by CmsShowEDI::removeItem().
const std::string & FWEventItem::errorMessage | ( | ) | const |
returns error string if there was a problem this event
Definition at line 541 of file FWEventItem.cc.
References getPrimaryData(), and m_errorMessage.
Referenced by hasError(), FWCollectionSummaryWidget::itemChanged(), and ConfigToolBase.ConfigToolBase::typeError().
const std::string & FWEventItem::filterExpression | ( | ) | const |
Definition at line 491 of file FWEventItem.cc.
References FWModelFilter::expression(), and m_filter.
Referenced by CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::itemChanged(), and CmsShowEDI::updateFilter().
|
inline |
Definition at line 78 of file FWEventItem.h.
References data().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), FWPFCandidateWithHitsProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWME0DigiProxyBuilder::build(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWHGCalMultiClusterLegoProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWGEMDigiProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWPFCandidateTowerProxyBuilder::build(), FWCaloTowerProxyBuilderBase::build(), FWTrackProxyBuilderFullFramework::build(), FWHGTowerProxyBuilderBase::build(), FWHFTowerProxyBuilderBase::build(), FWGEMPadDigiProxyBuilder::build(), FWPFTauProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), FWHGTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), FWPFCandidateTowerSliceSelector::getItemEntryEtaPhi(), FWHGCalMultiClusterSliceSelector::getItemEntryEtaPhi(), FWCaloTowerSliceSelector::getItemEntryEtaPhi(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.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 150 of file FWEventItem.h.
References m_proxyBuilderConfig.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWHGCalMultiClusterProxyBuilder::build(), FWHGCalTriggerCellProxyBuilder::build(), FWHGCalTriggerClusterProxyBuilder::build(), FWMuonRhoPhiProxyBuilder::build(), FWCaloParticleProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWMuonProxyBuilder::build(), FWTrackProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTrackProxyBuilderFullFramework::build(), FWTracksterLayersProxyBuilder::build(), FWHGCRecHitProxyBuilder::build(), FWVertexCandidateProxyBuilder::build(), FWVertexProxyBuilder::build(), FWJetProxyBuilder::buildViewType(), CmsShowEDI::fillEDIFrame(), FWElectronProxyBuilder::requestCommon(), FWCaloRecHitDigitSetProxyBuilder::setItem(), FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::setItem(), FWGenParticleLegoProxyBuilder::setItem(), FWMuonRhoPhiProxyBuilder::setItem(), FWTrackingParticleProxyBuilder::setItem(), FWMuonProxyBuilder::setItem(), FWCandidateProxyBuilder::setItem(), FWCaloClusterProxyBuilder::setItem(), FWTrackProxyBuilder::setItem(), FWTracksterHitsProxyBuilder::setItem(), FWTrackProxyBuilderFullFramework::setItem(), FWTracksterLayersProxyBuilder::setItem(), FWVertexProxyBuilder::setItem(), FWVertexCandidateProxyBuilder::setItem(), FWHGCRecHitProxyBuilder::setItem(), FWTauProxyBuilderBase::setItem(), FWElectronProxyBuilder::setItem(), FWJetProxyBuilder::setItem(), FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::setItem(), and FWJetProxyBuilder::setTextPos().
|
inline |
Definition at line 131 of file FWEventItem.h.
References m_event.
Referenced by fireworks::addSiStripClusters(), FWCaloClusterProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWTrackingParticleProxyBuilderFullFramework::build(), FWTracksterHitsProxyBuilder::build(), FWTrackProxyBuilderFullFramework::build(), FWTracksterLayersProxyBuilder::build(), FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::build(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), and fireworks::pushNearbyPixelHits().
const FWGeometry * FWEventItem::getGeom | ( | ) | const |
Definition at line 548 of file FWEventItem.cc.
References fireworks::Context::getGeom(), and m_context.
Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), FWPRCaloTowerProxyBuilder::build(), FWHGCalMultiClusterProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), FWECaloParticleProxyBuilder::build(), FWME0SegmentProxyBuilder::build(), FWPhase2TrackerCluster1DDetProxyBuilder::build(), FWME0DigiProxyBuilder::build(), FWHGCalTriggerCellProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWCSCRecHitProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), FWHGCalTriggerClusterProxyBuilder::build(), FWCaloParticleProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWPhase2TrackerCluster1DProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWGEMDigiProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTrackingParticleProxyBuilderFullFramework::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWTrajectorySeedProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), FWHGCRecHitProxyBuilder::build(), FWGEMPadDigiProxyBuilder::build(), FWME0RecHitProxyBuilder::buildViewType(), FWGEMSegmentProxyBuilder::buildViewType(), FWPSimHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWGEMRecHitProxyBuilder::buildViewType(), FWPhotonProxyBuilder::buildViewType(), FWDTSegmentProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), FWHGTowerProxyBuilderBase::fillTowerForDetId(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), FWHGTowerSliceSelector::findBinFromId(), FWHFTowerSliceSelector::findBinFromId(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), and FWPFCandidateWithHitsProxyBuilder::scaleProduct().
void FWEventItem::getPrimaryData | ( | ) | const |
Definition at line 396 of file FWEventItem.cc.
References data(), m_accessor, and m_type.
Referenced by errorMessage(), handleChange(), modelData(), modelInfo(), modelInterestingValueAsString(), and size().
|
private |
Definition at line 341 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 539 of file FWEventItem.cc.
References errorMessage().
Referenced by FWCollectionSummaryWidget::itemChanged().
|
inline |
bool FWEventItem::haveInterestingValue | ( | ) | const |
Definition at line 482 of file FWEventItem.cc.
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 433 of file FWEventItem.cc.
References m_id.
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 462 of file FWEventItem.cc.
References m_accessor.
bool FWEventItem::isInBack | ( | ) | const |
returns true if item is behind all other items
Definition at line 420 of file FWEventItem.cc.
References cms::cuda::assert(), 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 407 of file FWEventItem.cc.
References cms::cuda::assert(), FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), layer(), and m_context.
Referenced by CmsShowEDI::updateLayerControls().
bool FWEventItem::itemIsSelected | ( | ) | const |
Definition at line 537 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 405 of file FWEventItem.cc.
References m_layer.
Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), isInBack(), isInFront(), FWProxyBuilderBase::itemChanged(), FWProxyBuilderBase::layer(), moveToBack(), moveToFront(), moveToLayer(), and CmsShowEDI::updateLayerControls().
|
static |
Definition at line 40 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 466 of file FWEventItem.cc.
References getPrimaryData(), and m_accessor.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWDetailViewBase::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::buildViewType(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWCandidateTowerProxyBuilder::fillCaloData(), FWCandidateTowerSliceSelector::getItemEntryEtaPhi(), FWTableViewTableManager::rowHeader(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), FWMETProxyBuilder::scaleProduct(), FWTauProxyBuilderBase::scaleProduct(), FWJetProxyBuilder::scaleProduct(), FWViewContextMenuHandlerGL::select(), FWModelExpressionSelector::select(), and FWSimpleProxyBuilder::visibilityModelChanges().
FWEventItem::ModelInfo FWEventItem::modelInfo | ( | int | iIndex | ) | const |
Definition at line 446 of file FWEventItem.cc.
References Calorimetry_cff::dp, getPrimaryData(), FWDisplayProperties::isVisible(), m_displayProperties, m_itemInfos, and submitPVValidationJobs::t.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::buildViewType(), FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWFromSliceSelector::clear(), FWCollectionSummaryWidget::colorChangeRequested(), FWTableViewTableManager::dataChanged(), FWHistSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWModelIdFromEveSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWHGTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWModelIdFromEveSelector::doUnselect(), FWHGCalMultiClusterLegoProxyBuilder::fillCaloData(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), FWHGTowerProxyBuilderBase::fillCaloData(), FWProxyBuilderBase::increaseComponentTransparency(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), FWBeamSpotProxyBuilder::localModelChanges(), FWPhase2TrackerCluster1DProxyBuilder::localModelChanges(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWTableViewTableManager::rowHeader(), FWModelExpressionSelector::select(), FWCollectionSummaryModelCellRenderer::setData(), FWSecondarySelectableSelector::syncSelection(), FWTrackProxyBuilderFullFramework::visibilityModelChanges(), and FWSimpleProxyBuilder::visibilityModelChanges().
const std::string & FWEventItem::modelInterestingValueAsString | ( | int | iIndex | ) | const |
Definition at line 486 of file FWEventItem.cc.
References getPrimaryData(), FWItemValueGetter::getToolTip(), m_accessor, and m_interestingValueGetter.
Referenced by FWInteractionList::added(), and FWInteractionList::itemChanged().
std::string FWEventItem::modelName | ( | int | iIndex | ) | const |
Definition at line 471 of file FWEventItem.cc.
References name(), and alignCSCRings::s.
Referenced by FWInteractionList::added(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), and FWCollectionSummaryModelCellRenderer::setData().
const TClass * FWEventItem::modelType | ( | ) | const |
Definition at line 464 of file FWEventItem.cc.
References m_accessor.
Referenced by FWDetailViewManager::detailViewsFor(), CmsShowEDI::fillEDIFrame(), FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWEventItem(), FWSimpleProxyHelper::itemChanged(), FWEveViewManager::newItem(), FWModelExpressionSelector::select(), and FWTableView::selectCollection().
const std::string & FWEventItem::moduleLabel | ( | ) | const |
Definition at line 441 of file FWEventItem.cc.
References m_moduleLabel.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::getBranchName().
void FWEventItem::moveToBack | ( | ) |
Definition at line 299 of file FWEventItem.cc.
References cms::cuda::assert(), 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 278 of file FWEventItem.cc.
References cms::cuda::assert(), FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, maxLayerValue(), and SiStripPI::min.
Referenced by CmsShowEDI::moveToFront().
void FWEventItem::moveToLayer | ( | int | layer | ) |
Definition at line 320 of file FWEventItem.cc.
References cms::cuda::assert(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, SiStripPI::max, maxLayerValue(), SiStripPI::min, and minLayerValue().
Referenced by CmsShowEDI::moveToLayer().
const std::string & FWEventItem::name | ( | void | ) | const |
Definition at line 435 of file FWEventItem.cc.
References m_name.
Referenced by config.CFG::__str__(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::build(), FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), data(), validation.Sample::digest(), CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), VIDSelectorBase.VIDSelectorBase::initialize(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), modelName(), FWGUIManager::newItem(), FWViewManagerManager::registerEventItem(), FWViewManagerManager::removeEventItem(), CmsShowEDI::removeItem(), runFilter(), and FWTableView::updateItems().
const std::string & FWEventItem::processName | ( | ) | const |
Definition at line 444 of file FWEventItem.cc.
References m_processName.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::getBranchName().
const std::string & FWEventItem::productInstanceLabel | ( | ) | const |
Definition at line 442 of file FWEventItem.cc.
References m_productInstanceLabel.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::getBranchName().
void FWEventItem::proxyConfigChanged | ( | bool | k = false | ) |
Definition at line 330 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), fireworks::Context::eventItemsManager(), handleChange(), dqmdumpme::k, 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 439 of file FWEventItem.cc.
References m_purpose.
Referenced by FWProxyBuilderBase::canHandle(), and FWEveViewManager::newItem().
void FWEventItem::resetColor | ( | ) |
Definition at line 550 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), defaultDisplayPropertiesChanged_, id(), m_displayProperties, m_itemInfos, m_origColor, FWDisplayProperties::setColor(), and size().
|
private |
Definition at line 186 of file FWEventItem.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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 224 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_cff::sel, FWSelectionManager::select(), selectionManager(), and selectItem().
Referenced by FWHistSliceSelector::doSelect(), FWHGTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), FWModelExpressionSelector::select(), FWModelId::select(), CmsShowEDI::selectAll(), and FWSecondarySelectableSelector::syncSelection().
|
inline |
Definition at line 124 of file FWEventItem.h.
References m_context, and fireworks::Context::selectionManager().
Referenced by CmsShowEDI::changeSelectionColor(), destroy(), FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), select(), selectItem(), FWCollectionSummaryWidget::stateClicked(), toggleSelect(), toggleSelectItem(), unselect(), and unselectItem().
void FWEventItem::selectItem | ( | ) |
Select the item (i.e. container) itself
Definition at line 514 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 385 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 138 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 247 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(), and FWModelExpressionSelector::select().
void FWEventItem::setEvent | ( | const edm::EventBase * | iEvent | ) |
Definition at line 111 of file FWEventItem.cc.
References handleChange(), iEvent, m_accessor, m_event, m_itemInfos, and m_printedErrorThisEvent.
void FWEventItem::setFilterExpression | ( | const std::string & | iExpression | ) |
Throws an FWExpresionException if there is a problem with the expression
Definition at line 180 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 119 of file FWEventItem.cc.
References handleChange(), m_accessor, m_itemInfos, m_moduleLabel, m_processName, and m_productInstanceLabel.
void FWEventItem::setName | ( | const std::string & | iName | ) |
size_t FWEventItem::size | ( | void | ) | const |
Definition at line 457 of file FWEventItem.cc.
References getPrimaryData(), and m_itemInfos.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), FWCaloRecHitDigitSetProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::build(), FWSimpleProxyBuilderTemplate< TrajectorySeed >::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(), and FWSecondarySelectableSelector::syncSelection().
void FWEventItem::toggleSelect | ( | int | iIndex | ) | const |
Definition at line 236 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_cff::sel, FWSelectionManager::select(), selectionManager(), and FWSelectionManager::unselect().
Referenced by FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), and FWModelId::toggleSelect().
void FWEventItem::toggleSelectItem | ( | ) |
Definition at line 528 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), FWSelectionManager::selectItem(), and FWSelectionManager::unselectItem().
const TClass * FWEventItem::type | ( | ) | const |
Definition at line 437 of file FWEventItem.cc.
References m_type.
Referenced by data(), CmsShowEDI::fillEDIFrame(), FWFileEntry::getBranchName(), and FWEveViewManager::newItem().
void FWEventItem::unselect | ( | int | iIndex | ) | const |
Definition at line 215 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_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 521 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 112 of file FWEventItem.h.
References m_interestingValueGetter.
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 178 of file FWEventItem.h.
Referenced by CmsShowEDI::fillEDIFrame(), 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 190 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 193 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 197 of file FWEventItem.h.
Referenced by destroy(), CmsShowEDI::fillEDIFrame(), FWEveViewManager::newItem(), FWTableViewManager::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 181 of file FWEventItem.h.
Referenced by FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWEveViewManager::newItem(), FWSummaryManager::newItem(), and FWModelChangeManager::newItemSlot().
|
private |
Definition at line 212 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 207 of file FWEventItem.h.
Referenced by changeManager(), colorManager(), context(), getGeom(), isInBack(), isInFront(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), and selectionManager().
|
private |
Definition at line 213 of file FWEventItem.h.
Referenced by defaultDisplayProperties(), modelInfo(), resetColor(), setData(), setDefaultDisplayProperties(), and setDisplayProperties().
|
mutableprivate |
Definition at line 227 of file FWEventItem.h.
Referenced by data(), and errorMessage().
|
private |
Definition at line 221 of file FWEventItem.h.
Referenced by data(), getEvent(), hasEvent(), and setEvent().
|
private |
Definition at line 225 of file FWEventItem.h.
Referenced by filterExpression(), FWEventItem(), runFilter(), and setFilterExpression().
|
private |
Definition at line 208 of file FWEventItem.h.
Referenced by id().
|
private |
Definition at line 223 of file FWEventItem.h.
Referenced by modelInterestingValueAsString(), and valueGetter().
|
private |
Definition at line 229 of file FWEventItem.h.
Referenced by itemIsSelected(), selectItem(), toggleSelectItem(), and unselectItem().
|
mutableprivate |
Definition at line 215 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 214 of file FWEventItem.h.
Referenced by layer(), moveToBack(), moveToFront(), and moveToLayer().
|
private |
Definition at line 218 of file FWEventItem.h.
Referenced by data(), moduleLabel(), and setLabels().
|
private |
Definition at line 209 of file FWEventItem.h.
|
private |
Definition at line 230 of file FWEventItem.h.
Referenced by FWEventItem(), and resetColor().
|
mutableprivate |
Definition at line 226 of file FWEventItem.h.
Referenced by data(), and setEvent().
|
private |
Definition at line 220 of file FWEventItem.h.
Referenced by data(), processName(), and setLabels().
|
private |
Definition at line 219 of file FWEventItem.h.
Referenced by data(), productInstanceLabel(), and setLabels().
|
private |
Definition at line 232 of file FWEventItem.h.
Referenced by FWEventItem(), getConfig(), and ~FWEventItem().
|
private |
Definition at line 211 of file FWEventItem.h.
Referenced by purpose().
|
private |
Definition at line 210 of file FWEventItem.h.
Referenced by data(), getPrimaryData(), and type().
|
private |
Definition at line 222 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 186 of file FWEventItem.h.
Referenced by handleChange(), and FWSelectionManager::select().