CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
FWCollectionSummaryWidget.cc File Reference
#include <iostream>
#include <vector>
#include <functional>
#include "TGButton.h"
#include "TGResourcePool.h"
#include "TVirtualX.h"
#include "Fireworks/Core/src/FWColorSelect.h"
#include "Fireworks/Core/src/FWBoxIconButton.h"
#include "Fireworks/Core/src/FWCheckBoxIcon.h"
#include "Fireworks/Core/src/FWColorBoxIcon.h"
#include "Fireworks/Core/src/FWCollectionSummaryWidget.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWCustomIconsButton.h"
#include "Fireworks/Core/src/FWCollectionSummaryTableManager.h"
#include "Fireworks/TableWidget/interface/FWTableWidget.h"
#include "Fireworks/Core/interface/FWSelectionManager.h"
#include "Fireworks/Core/interface/FWModelChangeManager.h"
#include "Fireworks/Core/interface/FWColorManager.h"

Go to the source code of this file.

Classes

struct  FWCollectionSummaryWidgetConnectionHolder
 

Functions

static const TGPicture * alert (bool iBackgroundIsBlack)
 
static const TGPicture * alert_over (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_down (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_down_disabled (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_right (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_right_disabled (bool iBackgroundIsBlack)
 
 ClassImp (FWCollectionSummaryWidget)
 
static const TGPicture * filtered (bool iBackgroundIsBlack)
 
static const TGPicture * filtered_over (bool iBackgroundIsBlack)
 
static const TGPicture * info (bool iBackgroundIsBlack)
 
static const TGPicture * info_disabled (bool iBackgroundIsBlack)
 
static const TGPicture * info_over (bool iBackgroundIsBlack)
 
static TGGC * selectContext ()
 
static void setLabelBackgroundColor (TGTextButton *iLabel, bool iIsSelected, bool iBackgroundIsWhite)
 
static const TGPicture * unfiltered (bool iBackgroundIsBlack)
 
static const TGPicture * unfiltered_over (bool iBackgroundIsBlack)
 

Variables

static const unsigned long kWidgetColor = 0x2f2f2f
 
static const unsigned long kWidgetColorLight = 0xdfdfdf
 

Function Documentation

static const TGPicture* alert ( bool  iBackgroundIsBlack)
static

Definition at line 127 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

127  {
128  if (iBackgroundIsBlack) {
129  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-blackbg.png");
130  return s;
131  }
132  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-whitebg.png");
133  return s;
134 }
static const TString & coreIcondir()
static const TGPicture* alert_over ( bool  iBackgroundIsBlack)
static

Definition at line 118 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

118  {
119  if (iBackgroundIsBlack) {
120  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-blackbg-over.png");
121  return s;
122  }
123  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-whitebg-over.png");
124  return s;
125 }
static const TString & coreIcondir()
static const TGPicture* arrow_down ( bool  iBackgroundIsBlack)
static

Definition at line 200 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

200  {
201  if (iBackgroundIsBlack) {
202  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-down-blackbg.png");
203  return s;
204  }
205  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-down-whitebg.png");
206  return s;
207 }
static const TString & coreIcondir()
static const TGPicture* arrow_down_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 209 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

209  {
210  if (iBackgroundIsBlack) {
211  static const TGPicture* s =
212  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-down-disabled-blackbg.png");
213  return s;
214  }
215  static const TGPicture* s =
216  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-down-disabled-whitebg.png");
217  return s;
218 }
static const TString & coreIcondir()
static const TGPicture* arrow_right ( bool  iBackgroundIsBlack)
static

Definition at line 180 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

180  {
181  if (iBackgroundIsBlack) {
182  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-right-blackbg.png");
183  return s;
184  }
185  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-right-whitebg.png");
186  return s;
187 }
static const TString & coreIcondir()
static const TGPicture* arrow_right_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 189 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

189  {
190  if (iBackgroundIsBlack) {
191  static const TGPicture* s =
192  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-right-disabled-blackbg.png");
193  return s;
194  }
195  static const TGPicture* s =
196  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-right-disabled-whitebg.png");
197  return s;
198 }
static const TString & coreIcondir()
ClassImp ( FWCollectionSummaryWidget  )
static const TGPicture* filtered ( bool  iBackgroundIsBlack)
static

Definition at line 100 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by ObjectSelectorBase< SingleElementCollectionSelector< reco::TrackCollection, StringCutObjectSelector< reco::Track >, typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, typename::helper::StoreContainerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >::type, typename::helper::SelectionAdderTrait< reco::TrackCollection, typename::helper::StoreContainerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >::type >::type >, typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, NonNullNumberSelector,::helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >, typename::helper::StoreManagerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >::type, typename::helper::StoreManagerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >::base,::reco::modules::EventSetupInit< SingleElementCollectionSelector< reco::TrackCollection, StringCutObjectSelector< reco::Track >, typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, typename::helper::StoreContainerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >::type, typename::helper::SelectionAdderTrait< reco::TrackCollection, typename::helper::StoreContainerTrait< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >::type >::type > >::type >::filter(), FWCollectionSummaryWidget::itemChanged(), HoughGrouping::orderAndFilter(), ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce(), EgammaHLTExtraProducer::produce(), and ConfigurableTrimmedVertexFinder::vertices().

100  {
101  if (iBackgroundIsBlack) {
102  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-blackbg.png");
103  return s;
104  }
105  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-whitebg.png");
106  return s;
107 }
static const TString & coreIcondir()
static const TGPicture* filtered_over ( bool  iBackgroundIsBlack)
static

Definition at line 109 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

109  {
110  if (iBackgroundIsBlack) {
111  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-whitebg-over.png");
112  return s;
113  }
114  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-whitebg-over.png");
115  return s;
116 }
static const TString & coreIcondir()
static const TGPicture* info ( bool  iBackgroundIsBlack)
static

Definition at line 153 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWTypeToRepresentations::add(), edm::RootTree::addBranch(), cms::Phase2TrackerDigitizer::addPixelCollection(), SimAnalyzerMinbias::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), HLTBTagPerformanceAnalyzer::analyze(), ValidIsoTrkCalib::analyze(), EopTreeWriter::analyze(), HcalHBHEMuonAnalyzer::analyze(), EcalCosmicsHists::analyze(), RecAnalyzerHF::analyzeHcal(), AnalyzerMinbias::analyzeHcal(), RecAnalyzerMinbias::analyzeHcal(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), TrackDetectorAssociator::associate(), edmplugin::PluginCapabilities::available(), edm::beginGlobalTransitionAsync(), edm::SecondaryEventProvider::beginLuminosityBlock(), edm::SecondaryEventProvider::beginRun(), edm::beginStreamTransitionAsync(), FWSiStripClusterProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), CommissioningHistosUsingDb::buildDetInfo(), BPHDecayToV0Builder::buildFromV0(), CmsShowModelPopup::changeModelColor(), CmsShowModelPopup::changeModelOpacity(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), edm::storage::DavixStorageMaker::check(), edm::storage::StatisticsSenderService::closedFile(), SensitiveDetector::cmsTrackInformation(), CmsShowModelPopup::colorSetChanged(), edm::service::CPU::cpuInfo(), MuonSensitiveDetector::createHit(), DTTrig::createTUs(), pdg::cTau(), cms::MuonMETValueMapProducer::determine_deltax_deltay(), XrdAdaptor::Source::determineHostExcludeString(), CommissioningHistosUsingDb::deviceIsPresent(), Phase2TrackerDigitizerAlgorithm::digitize(), trklet::dirExists(), MuonTagger::discriminator(), LeptonTaggerByPt::discriminator(), ElectronTagger::discriminator(), MuonTaggerNoIP::discriminator(), LeptonTaggerByIP::discriminator(), LeptonTaggerDistance::discriminator(), TemplatedSimpleSecondaryVertexComputer< IPTI, VTX >::discriminator(), edm::stream::EDFilterAdaptorBase::doAcquire(), edm::stream::EDProducerAdaptorBase::doAcquire(), edm::global::EDFilterBase::doAcquire(), edm::global::EDProducerBase::doAcquire(), edm::EDAnalyzer::doBeginLuminosityBlock(), edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::one::EDAnalyzerBase::doBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::limited::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginLuminosityBlock(), edm::EDAnalyzer::doBeginRun(), edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::one::EDAnalyzerBase::doBeginRun(), edm::global::EDAnalyzerBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::limited::EDProducerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::limited::EDFilterBase::doBeginRun(), edm::limited::EDAnalyzerBase::doBeginRun(), edm::stream::EDAnalyzerAdaptor< T >::doBeginRun(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginRun(), edm::EDAnalyzer::doEndLuminosityBlock(), edm::EDProducer::doEndLuminosityBlock(), edm::EDFilter::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::one::EDAnalyzerBase::doEndLuminosityBlock(), edm::global::EDAnalyzerBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDProducerBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndLuminosityBlock(), edm::SubProcess::doEndProcessBlockAsync(), edm::EDAnalyzer::doEndRun(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::one::EDAnalyzerBase::doEndRun(), edm::global::EDAnalyzerBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::limited::EDProducerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::limited::EDFilterBase::doEndRun(), edm::limited::EDAnalyzerBase::doEndRun(), edm::stream::EDAnalyzerAdaptor< T >::doEndRun(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndRun(), edm::EDAnalyzer::doEvent(), edm::EDProducer::doEvent(), edm::EDFilter::doEvent(), edm::stream::EDFilterAdaptorBase::doEvent(), edm::stream::EDProducerAdaptorBase::doEvent(), edm::global::EDFilterBase::doEvent(), edm::one::EDFilterBase::doEvent(), edm::one::EDProducerBase::doEvent(), edm::global::EDAnalyzerBase::doEvent(), edm::one::EDAnalyzerBase::doEvent(), edm::global::EDProducerBase::doEvent(), edm::limited::EDFilterBase::doEvent(), edm::limited::EDAnalyzerBase::doEvent(), edm::limited::EDProducerBase::doEvent(), edm::stream::EDAnalyzerAdaptorBase::doEvent(), edm::global::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::global::EDProducerBase::doStreamBeginLuminosityBlock(), edm::limited::EDProducerBase::doStreamBeginLuminosityBlock(), edm::global::EDFilterBase::doStreamBeginLuminosityBlock(), edm::limited::EDFilterBase::doStreamBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptorBase::doStreamBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptorBase< T >::doStreamBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamBeginRun(), edm::global::EDProducerBase::doStreamBeginRun(), edm::limited::EDProducerBase::doStreamBeginRun(), edm::global::EDFilterBase::doStreamBeginRun(), edm::limited::EDFilterBase::doStreamBeginRun(), edm::limited::EDAnalyzerBase::doStreamBeginRun(), edm::stream::EDAnalyzerAdaptorBase::doStreamBeginRun(), edm::stream::ProducingModuleAdaptorBase< T >::doStreamBeginRun(), edm::global::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::global::EDProducerBase::doStreamEndLuminosityBlock(), edm::limited::EDProducerBase::doStreamEndLuminosityBlock(), edm::global::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptorBase::doStreamEndLuminosityBlock(), edm::stream::ProducingModuleAdaptorBase< T >::doStreamEndLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamEndRun(), edm::global::EDProducerBase::doStreamEndRun(), edm::limited::EDProducerBase::doStreamEndRun(), edm::global::EDFilterBase::doStreamEndRun(), edm::limited::EDFilterBase::doStreamEndRun(), edm::limited::EDAnalyzerBase::doStreamEndRun(), edm::stream::EDAnalyzerAdaptorBase::doStreamEndRun(), edm::stream::ProducingModuleAdaptorBase< T >::doStreamEndRun(), edm::Worker::doWorkAsync(), edm::Worker::doWorkNoPrefetchingAsync(), PFEGammaAlgo::dumpCurrentRefinableObjects(), edm::endGlobalTransitionAsync(), SimAnalyzerMinbias::endJob(), RecAnalyzerHF::endJob(), AnalyzerMinbias::endJob(), RecAnalyzerMinbias::endJob(), edm::SecondaryEventProvider::endLuminosityBlock(), MaterialBudgetVolume::endOfEvent(), edm::SecondaryEventProvider::endRun(), edm::endStreamTransitionAsync(), edm::ESGetToken< fwliteeswriter::DummyType, fwliteeswriter::FWLWEventSetupRecord >::ESGetToken(), edm::test::TestProcessor::event(), edm::Worker::RunModuleTask< T >::execute(), edm::Worker::AcquireTask< OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >, DUMMY >::execute(), edmplugin::PluginFactoryBase::fillAvailable(), FWHGCalMultiClusterLegoProxyBuilder::fillCaloData(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), FWHGTowerProxyBuilderBase::fillCaloData(), l1t::PackingSetupFactory::fillDescription(), HFPreReconstructor::fillInfos(), CmsShowModelPopup::fillModelPopup(), MuonIdProducer::fillMuonId(), FWDetailViewManager::findViewersFor(), edm::StreamSchedule::finishedPaths(), for(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), JetTagComputer::TagInfoHelper::get(), edm::service::CPU::getAverageSpeed(), JetTagComputer::TagInfoHelper::getBase(), FWGeometry::getEveShape(), FWGeometry::getHGCScintillatorEveShape(), FWGeometry::getHGCSiliconEveShape(), HitInfo::getInfo(), TFitConstraintMGaus::getInfoString(), TAbsFitConstraint::getInfoString(), TAbsFitParticle::getInfoString(), TFitConstraintEp::getInfoString(), TFitConstraintM::getInfoString(), cond::getLastLumiFromOMS(), cond::service::OnlineDBOutputService::getLastLumiProcessed(), FWGeometry::getMatrix(), edm::service::CPU::getModels(), TimingSD::getStepInfo(), cond::payloadInspector::PlotBase::getTagInfo(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), GlobalTrackerMuonAlignment::gradientGlobal(), GlobalTrackerMuonAlignment::gradientLocal(), HFShowerLibrary::HFShowerLibrary(), popcon::EcalSRPHandler::importDccConfigFile(), edm::EDConsumerBase::indexFrom(), Herwig6Hadronizer::initialize(), reco::ElectronSeed::initTwoHitSeed(), edm::RootOutputFile::insertAncestors(), TotemRPSD::isPrimary(), PPSDiamondSD::isPrimary(), FWInteractionList::itemChanged(), SiPixelDigitizerAlgorithm::make_digis(), BoostedJetONNXJetTagsProducer::make_inputs(), makeParticle(), pdg::mass(), spr::matchedSimTrackInfo(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), GlobalTrackerMuonAlignment::muonFitter(), FWEveViewManager::newItem(), edmplugin::PluginFactoryBase::newPlugin(), lhef::LHEReader::next(), operator<<(), edm::service::CPU::parseCPUInfo(), PFClusterTimeSelector::PFClusterTimeSelector(), ThroughputService::postEndJob(), edm::service::CPU::postEndJob(), edm::service::Tracer::preBeginJob(), edm::storage::File::prefetch(), edm::UnscheduledProductResolver::prefetchAsync_(), edm::PluginDescription< T >::printNestedContent_(), edm::WorkerManager::processAccumulatorsAsync(), edm::SubProcess::processAsync(), DDLMap::processElement(), edm::EventProcessor::processEventAsyncImpl(), edm::StreamSchedule::processOneEventAsync(), edm::WorkerManager::processOneOccurrenceAsync(), edm::StreamSchedule::processOneStreamAsync(), PFClusterTimeSelector::produce(), ShallowClustersProducer::produce(), LHECOMWeightProducer::produce(), edm::MCFileSource::produce(), HcalRawToDigi::produce(), CaloCleaner< T >::produce(), InterestingTrackEcalDetIdProducer::produce(), TGeoMgrFromDdd::produce(), AlCaHcalHBHEMuonProducer::produce(), spr::propagateCALO(), spr::propagateCosmicCALO(), spr::propagateHCALBack(), spr::propagateIdECAL(), LowPtGsfElectronSeedProducer::propagateTrackToCalo(), edmplugin::CacheParser::read(), edm::VectorInputSource::readOneSpecified(), edm::FullProvenanceReader::readProvenance(), edm::OldProvenanceReader::readProvenance(), Herwig6Hadronizer::readSettings(), KDTreeLinkerAlgo< DATA, DIM >::recBuild(), reco::tau::RecoTauBuilderCombinatoricPlugin::RecoTauBuilderCombinatoricPlugin(), edm::ESProxyFactoryProducer::registerFactoryWithKey(), FWTypeToRepresentations::representationsForType(), edm::UnscheduledCallProducer::runAccumulatorsAsync(), edm::Path::runAllModulesAsync(), edm::Path::runNextWorkerAsync(), edm::UnscheduledCallProducer::runNowAsync(), edm::WorkerInPath::runWorkerAsync(), DQMFileSaver::saveJobReport(), dqm::DQMFileSaverBase::saveJobReport(), cms::Exception::setAdditionalInfo(), FWCollectionSummaryWidget::setBackgroundToWhite(), HcalSimpleRecAlgo::setBXInfo(), edm::UnscheduledAuxiliary::setEventTransitionInfo(), FWPathsPopup::setup(), edm::SecondaryEventProvider::setupPileUpEvent(), HFPreReconstructor::sortDataByPmt(), FWFFLooper::startingNewLoop(), FWEveViewManager::supportedTypesAndRepresentations(), SoftLepton::tag(), CmsShowModelPopup::toggleModelVisible(), GlobalTrackerMuonAlignment::trackFitter(), edmplugin::PluginCapabilities::tryToFind(), EcalDumpGeometry::update(), HcalDumpGeometry::update(), TkAccumulatingSensitiveDetector::update(), MaterialBudgetVolume::update(), CmsShowModelPopup::updateDisplay(), edm::ESProducer::updateFromMayConsumes(), DQMBasicNet::updateLocalObject(), edm::EDConsumerBase::updateLookup(), reco::GhostTrackVertexFinder::vertices(), FWTrackProxyBuilderFullFramework::visibilityModelChanges(), FWSimpleProxyBuilder::visibilityModelChanges(), DQMNet::waitForData(), WeightManager::weight(), and ProvenanceDumper::work_().

153  {
154  if (iBackgroundIsBlack) {
155  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg.png");
156  return s;
157  }
158  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg.png");
159  return s;
160 }
static const TString & coreIcondir()
static const TGPicture* info_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 171 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::setBackgroundToWhite().

171  {
172  if (iBackgroundIsBlack) {
173  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg-disabled.png");
174  return s;
175  }
176  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg-disabled.png");
177  return s;
178 }
static const TString & coreIcondir()
static const TGPicture* info_over ( bool  iBackgroundIsBlack)
static

Definition at line 162 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::setBackgroundToWhite().

162  {
163  if (iBackgroundIsBlack) {
164  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg-over.png");
165  return s;
166  }
167  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg-over.png");
168  return s;
169 }
static const TString & coreIcondir()
static TGGC* selectContext ( )
static

Definition at line 415 of file FWCollectionSummaryWidget.cc.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

415  {
416  static TGGC* s_context = nullptr;
417  if (nullptr == s_context) {
418  GCValues_t hT = *(gClient->GetResourcePool()->GetSelectedGC()->GetAttributes());
419  s_context = gClient->GetResourcePool()->GetGCPool()->GetGC(&hT, kTRUE);
420  s_context->SetForeground(s_context->GetBackground());
421  //s_context->SetForeground(gVirtualX->GetPixel(kBlue+2));
422  }
423  return s_context;
424 }
static void setLabelBackgroundColor ( TGTextButton *  iLabel,
bool  iIsSelected,
bool  iBackgroundIsWhite 
)
static

Definition at line 345 of file FWCollectionSummaryWidget.cc.

Referenced by FWCollectionSummaryWidget::displayChanged(), and FWCollectionSummaryWidget::setBackgroundToWhite().

345  {
346  if (iIsSelected) {
347  if (iBackgroundIsWhite) {
348  iLabel->SetBackgroundColor(0x7777FF);
349  } else {
350  iLabel->SetBackgroundColor(0x0000FF);
351  }
352  } else {
353  if (iBackgroundIsWhite) {
354  iLabel->SetBackgroundColor(0xFFFFFF);
355  } else {
356  iLabel->SetBackgroundColor(0x000000);
357  }
358  }
359 }
static const TGPicture* unfiltered ( bool  iBackgroundIsBlack)
static

Definition at line 136 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::itemChanged().

136  {
137  if (iBackgroundIsBlack) {
138  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-blackbg.png");
139  return s;
140  }
141  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-whitebg.png");
142  return s;
143 }
static const TString & coreIcondir()
static const TGPicture* unfiltered_over ( bool  iBackgroundIsBlack)
static

Definition at line 144 of file FWCollectionSummaryWidget.cc.

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::itemChanged().

144  {
145  if (iBackgroundIsBlack) {
146  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-blackbg-over.png");
147  return s;
148  }
149  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-whitebg-over.png");
150  return s;
151 }
static const TString & coreIcondir()

Variable Documentation

const unsigned long kWidgetColor = 0x2f2f2f
static

Definition at line 220 of file FWCollectionSummaryWidget.cc.

const unsigned long kWidgetColorLight = 0xdfdfdf
static

Definition at line 221 of file FWCollectionSummaryWidget.cc.