CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
edm::HandleBase Class Reference

#include <HandleBase.h>

Inheritance diagram for edm::HandleBase:
edm::Handle< T > edm::Handle< C1 > edm::Handle< CrossingFrame< PSimHit > > edm::Handle< CSCRecHit2DCollection > edm::Handle< CSCSegmentCollection > edm::Handle< DTRecHitCollection > edm::Handle< DTRecSegment4DCollection > edm::Handle< EBDigiCollection > edm::Handle< edm::Association > edm::Handle< edm::Association< reco::GenJetCollection > > edm::Handle< edm::Association< T > > edm::Handle< edm::AssociationMap > edm::Handle< edm::ContainerMask< edm::edm::LazyGetter< SiStripCluster > > > edm::Handle< edm::DetSetVector< PixelDigiSimLink > > edm::Handle< edm::DetSetVector< RPCDigiSimLink > > edm::Handle< edm::DetSetVector< StripDigiSimLink > > edm::Handle< edm::edm::LazyGetter< SiStripCluster > > edm::Handle< edm::edm::RefGetter< SiStripCluster > > edm::Handle< edm::HepMCProduct > edm::Handle< edm::RangeMap > edm::Handle< edm::RefVector > edm::Handle< edm::SimTrackContainer > edm::Handle< edm::SortedCollection > edm::Handle< edm::TriggerResults > edm::Handle< edm::ValueMap > edm::Handle< edm::ValueMap< float > > edm::Handle< edm::ValueMap< pat::pat::VertexAssociation > > edm::Handle< edm::ValueMap< reco::MuonCosmicCompatibility > > edm::Handle< edm::ValueMap< reco::MuonMETCorrectionData > > edm::Handle< edm::ValueMap< reco::MuonShower > > edm::Handle< edm::View< BT > > edm::Handle< edm::View< element_type > > edm::Handle< edm::View< reco::CaloCluster > > edm::Handle< edm::View< reco::GsfElectron > > edm::Handle< edm::View< reco::Jet > > edm::Handle< edm::View< reco::MET > > edm::Handle< edm::View< reco::RecoCandidate > > edm::Handle< edm::View< reco::Track > > edm::Handle< edm::View< T > > edm::Handle< edmNew::DetSetVector > edm::Handle< edmNew::DetSetVector< SiPixelCluster > > edm::Handle< edmNew::DetSetVector< SiStripCluster > > edm::Handle< EEDigiCollection > edm::Handle< FEDRawDataCollection > edm::Handle< L1CSCTrackCollection > edm::Handle< L1GctHFBitCountsCollection > edm::Handle< L1GctHFRingEtSumsCollection > edm::Handle< L1GtTriggerMenuLite > edm::Handle< LTCDigiCollection > edm::Handle< PFBlockCollection > edm::Handle< PFCandidateCollection > edm::Handle< PFTauDecayModeAssociation > edm::Handle< PFTauDecayModeMatchMap > edm::Handle< PFTauDiscriminator > edm::Handle< PFTauTagInfoCollection > edm::Handle< reco::BasicJetCollection > edm::Handle< reco::BeamSpot > edm::Handle< reco::CaloJetCollection > edm::Handle< reco::CaloMETCollection > edm::Handle< reco::CaloTauCollection > edm::Handle< reco::CaloTauDiscriminator > edm::Handle< reco::CandidateCollection > edm::Handle< reco::CandidateView > edm::Handle< reco::Centrality > edm::Handle< reco::ConversionCollection > edm::Handle< reco::edm::RefVector > edm::Handle< reco::ElectronSeedCollection > edm::Handle< reco::GenJetCollection > edm::Handle< reco::GenParticleCollection > edm::Handle< reco::GsfElectronCollection > edm::Handle< reco::GsfElectronCoreCollection > edm::Handle< reco::GsfPFRecTrackCollection > edm::Handle< reco::GsfTrackCollection > edm::Handle< reco::IsoDepositMap > edm::Handle< reco::JetMatchedPartonsCollection > edm::Handle< reco::JetTagCollection > edm::Handle< reco::METCollection > edm::Handle< reco::MuonCollection > edm::Handle< reco::MuonTimeExtraMap > edm::Handle< reco::MuonTrackLinksCollection > edm::Handle< reco::PFCandidateCollection > edm::Handle< reco::PFClusterCollection > edm::Handle< reco::PFConversionCollection > edm::Handle< reco::PFDisplacedTrackerVertexCollection > edm::Handle< reco::PFDisplacedVertexCollection > edm::Handle< reco::PFJetCollection > edm::Handle< reco::PFMETCollection > edm::Handle< reco::PFRecHitCollection > edm::Handle< reco::PFRecTrackCollection > edm::Handle< reco::PFSimParticleCollection > edm::Handle< reco::PFTauCollection > edm::Handle< reco::PFTauDiscriminator > edm::Handle< reco::PFV0Collection > edm::Handle< reco::PhotonCollection > edm::Handle< reco::TrackCollection > edm::Handle< reco::TrackToTrackMap > edm::Handle< reco::VertexCollection > edm::Handle< reco::VertexCompositeCandidateCollection > edm::Handle< RPCDigiCollection > edm::Handle< RPCRecHitCollection > edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > edm::Handle< SortedCollection< CaloTower > > edm::Handle< std::vector< int > > edm::Handle< std::vector< pat::Electron > > edm::Handle< std::vector< pat::Jet > > edm::Handle< std::vector< pat::MET > > edm::Handle< std::vector< pat::Muon > > edm::Handle< std::vector< reco::CaloJet > > edm::Handle< std::vector< reco::GenParticle > > edm::Handle< std::vector< reco::Vertex > > edm::Handle< std::vector< Trajectory > > edm::Handle< TauCollection > edm::Handle< TauDiscriminator > edm::Handle< TrackCandidateCollection > edm::Handle< TrackingParticleCollection > edm::Handle< trigger::HLTPrescaleTable > edm::Handle< trigger::TriggerEvent > edm::Handle< trigger::TriggerEventWithRefs > edm::Handle< View< Jet > >

Public Member Functions

void clear ()
 
bool failedToGet () const
 
 HandleBase ()
 
 HandleBase (void const *prod, Provenance const *prov)
 
 HandleBase (boost::shared_ptr< cms::Exception > const &iWhyFailed)
 Used when the attempt to get the data failed. More...
 
ProductID id () const
 
bool isValid () const
 
HandleBaseoperator= (HandleBase const &rhs)
 
Provenance const * provenance () const
 
void swap (HandleBase &other)
 
boost::shared_ptr< cms::ExceptionwhyFailed () const
 
 ~HandleBase ()
 

Protected Member Functions

void const * productStorage () const
 

Private Attributes

void const * product_
 
Provenance const * prov_
 
boost::shared_ptr< cms::ExceptionwhyFailed_
 

Detailed Description

Definition at line 37 of file HandleBase.h.

Constructor & Destructor Documentation

edm::HandleBase::HandleBase ( )
inline

Definition at line 39 of file HandleBase.h.

39  :
40  product_(0),
41  prov_(0) {}
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
edm::HandleBase::HandleBase ( void const *  prod,
Provenance const *  prov 
)
inline

Definition at line 43 of file HandleBase.h.

43  :
44  product_(prod), prov_(prov) {
45  assert(prod);
46  assert(prov);
47  }
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
edm::HandleBase::HandleBase ( boost::shared_ptr< cms::Exception > const &  iWhyFailed)
inline

Used when the attempt to get the data failed.

Definition at line 50 of file HandleBase.h.

50  :
51  product_(),
52  prov_(0),
53  whyFailed_(iWhyFailed) {}
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
edm::HandleBase::~HandleBase ( )
inline

Definition at line 55 of file HandleBase.h.

55 {}

Member Function Documentation

void edm::HandleBase::clear ( void  )
inline

Definition at line 57 of file HandleBase.h.

References product_, prov_, and whyFailed_.

Referenced by MultiTrackValidatorGenPs::analyze(), MultiTrackValidator::analyze(), L1TdeGCT::analyze(), egHLT::OffEvt::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), PFHcalSuperClusterAlgo::doClustering(), PFClusterAlgo::doClustering(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), edm::Event::get(), edm::EventBase::getByLabel(), edm::LuminosityBlock::getByLabel(), edm::Run::getByLabel(), edm::RunBase::getByLabel(), edm::Event::getByLabel(), edm::LuminosityBlockBase::getByLabel(), edm::LuminosityBlock::getByToken(), edm::Run::getByToken(), edm::Event::getByToken(), getCollection(), HLTDoubletDZ< T1, T2 >::hltFilter(), HLTDoublet< T1, T2 >::hltFilter(), MuonIdProducer::init(), SiStripZeroSuppression::MergeCollectionsZeroSuppression(), L2TauJetsProvider::produce(), HLTTauMCProducer::produce(), L1Comparator::produce(), reco::modules::CosmicTrackSplitter::produce(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().

57  {
58  product_ = 0;
59  prov_ = 0;
60  whyFailed_.reset();
61  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
bool edm::HandleBase::failedToGet ( ) const
inline

Definition at line 80 of file HandleBase.h.

References whyFailed_.

Referenced by HLTTauDQMCaloPlotter::analyze(), SiStripMonitorDigi::analyze(), SiStripMonitorCluster::analyze(), HLTMonBitSummary::analyze(), SiPixelTrackResidualSource::analyze(), TopDiLeptonDQM::analyze(), TopHLTDiMuonDQM::analyze(), HLTMuonPlotter::analyze(), SiStripFEDMonitorPlugin::analyze(), SiPixelMuonHLT::analyze(), SiStripMonitorMuonHLT::analyze(), MEtoMEComparitor::compare(), L1BitComputer::compute(), HLTBitVariable::eval(), SimpleValueVariable< TYPE >::eval(), SimpleValueVectorVariable< TYPE >::eval(), MuonCosmicCompatibilityFiller::eventActivity(), DigiBXCorrHistogramMaker< T >::fill(), MuonIdProducer::fillGlbQuality(), LogErrorFilter::filter(), JetPlusTrackCorrector::getElectrons(), JetPlusTrackCorrector::getMuons(), TrackProducer::getTransient(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), JetPlusTrackCorrector::jtaUsingEventData(), MuonIdProducer::makeMuon(), EcalRawToRecHitRoI::Muon(), MuonCosmicCompatibilityFiller::muonTiming(), MuonCosmicCompatibilityFiller::nMuons(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), EcalRawToRecHitRoI::OneCandCollection(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRJetCombObservables::operator()(), GsfTrackRefitter::produce(), TrackRefitter::produce(), TrackProducer::produce(), TrackProducerWithSCAssociation::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), EcalRawToRecHitRoI::produce(), BSCTrigger::produce(), MuonsFromRefitTracksProducer::produce(), edm::Handle< GenericObject >::product(), edm::Handle< FWGenericObject >::product(), MuonCosmicCompatibilityFiller::pvMatches(), MuScleFitMuonSelector::selectMuons(), DualByL2TSG::selectTSG(), MuonsFromRefitTracksProducer::storeMatchMaps(), ClusterChecker::tooManyClusters(), MeasurementTrackerImpl::updatePixels(), and MeasurementTrackerImpl::updateStrips().

80  {
81  return 0 != whyFailed_.get();
82  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
ProductID edm::HandleBase::id ( void  ) const

Definition at line 15 of file HandleBase.cc.

References edm::Provenance::productID(), prov_, and whyFailed_.

Referenced by ZMuMuAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), HLTInfo::analyze(), HcalDigiMonitor::analyze(), SiPixelMuonHLT::analyze(), TrackAssociatorByChi2::associateGenToReco(), MuonAssociatorByHits::associateMuons(), TrackAssociatorByChi2::associateRecoToGen(), TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), CandCombinerBase< OutputCollection, CandPtr >::combine(), ConversionFinder::getConversionInfos(), EcalSelectiveReadoutProducer::getEBDigis(), EcalSelectiveReadoutProducer::getEEDigis(), ctfseeding::HitExtractorPIX::hits(), MuIsolatorResultProducer< BT >::initAssociation(), PdfWeightProducer::produce(), TopBottomClusterInfoProducer::produce(), TkAlCaOverlapTagger::produce(), HLTTrackClusterRemover::produce(), TrackClusterRemover::produce(), SeedClusterRemover::produce(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), TriggerMatcherToHLTDebug::produce(), PFTauSelectorDefinition::select(), MeasurementTrackerImpl::updatePixels(), and MeasurementTrackerImpl::updateStrips().

15  {
16  if (whyFailed_) {
17  throw *whyFailed_;
18  }
19  return prov_->productID();
20  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
Provenance const * prov_
Definition: HandleBase.h:100
ProductID const & productID() const
Definition: Provenance.h:88
bool edm::HandleBase::isValid ( void  ) const
inline

Definition at line 76 of file HandleBase.h.

References product_, and prov_.

Referenced by TriggerHelper::acceptDcs(), GenericTriggerEventFlag::acceptDcs(), TriggerHelper::acceptGt(), GenericTriggerEventFlag::acceptGtLogicalExpression(), TriggerHelper::acceptHlt(), GenericTriggerEventFlag::acceptHlt(), HcalDigitizer::accumulate(), RecoTrackAccumulator::accumulate(), SiStripDigitizer::accumulate(), EcalDigiProducer::accumulateCaloHits(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripMonitorTrack::AllClusters(), CSCComparatorDigiValidation::analyze(), CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCStripDigiValidation::analyze(), RazorVarAnalyzer::analyze(), CSCWireDigiValidation::analyze(), HLTTauDQMCaloPlotter::analyze(), CastorDigiAnalyzerImpl::analyze(), CastorHitAnalyzerImpl::analyze(), PFCandidateDQMAnalyzer::analyze(), PFJetDQMAnalyzer::analyze(), PFMETDQMAnalyzer::analyze(), CSCTFAnalyzer::analyze(), ESPedestalTask::analyze(), HLTBJet::analyze(), HLTTauDQMLitePathPlotter::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), EcalTBTDCRawInfoDumper::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), CMSDAS11DijetAnalyzer::analyze(), CMSDAS11DijetTestAnalyzer::analyze(), RPCRecHitProbability::analyze(), PlaybackRawDataProvider::analyze(), KVFTrackUpdate::analyze(), ESDcsInfoTask::analyze(), HLTTauDQML1Plotter::analyze(), RPCMonitorDigi::analyze(), CaloTowerAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), ElectronGeneralAnalyzer::analyze(), EventHeader::analyze(), RECOVertex::analyze(), CaloJetTesterUnCorr::analyze(), JPTJetTesterUnCorr::analyze(), PFJetTesterUnCorr::analyze(), SUSYDQMAnalyzer::analyze(), CaloJetTester::analyze(), PFJetTester::analyze(), PrimaryVertexMonitor::analyze(), RecoTauMVATrainer::analyze(), JPTJetTester::analyze(), EgammaBasicClusters::analyze(), DQMMessageLogger::analyze(), SiStripMonitorDigi::analyze(), EBCosmicTask::analyze(), EEClusterTask::analyze(), EECosmicTask::analyze(), EBClusterTask::analyze(), TtSemiLepSignalSelMVATrainer::analyze(), HLTEventAnalyzerAOD::analyze(), HLTEventAnalyzerRAW::analyze(), SiPixelDaqInfo::analyze(), EgammaSuperClusters::analyze(), EmDQM::analyze(), METTester::analyze(), StudyHLT::analyze(), SiStripMonitorCluster::analyze(), HiggsToZZ4LeptonsSkimEff::analyze(), CaloTowersValidation::analyze(), dEdxAnalyzer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), DQMHcalPhiSymAlCaReco::analyze(), TkAlCaRecoMonitor::analyze(), EBClusterTaskExtras::analyze(), EEClusterTaskExtras::analyze(), HLTAlCaMonEcalPhiSym::analyze(), HLTMonHcalIsoTrack::analyze(), BxTiming::analyze(), ObjectCounter< C >::analyze(), AlCaElectronsTest::analyze(), RPCFEDIntegrity::analyze(), HLTMCtruth::analyze(), DQMSourceEleCalib::analyze(), CSCTFanalyzer::analyze(), IsoTrig::analyze(), HLTOniaSource::analyze(), L1TdeGCT::analyze(), PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::analyze(), HLTBitAnalyzer::analyze(), HcalDetDiagNoiseMonitor::analyze(), VertexMonitor::analyze(), HcalSimHitStudy::analyze(), DiMuonHistograms::analyze(), L1TDEMON::analyze(), DQMLumiMonitor::analyze(), PixelVTXMonitor::analyze(), EcalPreshowerNoiseDistrib::analyze(), SimHitsValidationHcal::analyze(), EfficiencyAnalyzer::analyze(), HLTInspect::analyze(), EcalDumpRaw::analyze(), HcalDeadCellMonitor::analyze(), HLTMonBTagMuSource::analyze(), HLTMonBTagIPSource::analyze(), ElectronStudy::analyze(), MuonRecoOneHLT::analyze(), SiPixelEDAClient::analyze(), ZeePlots::analyze(), MuonKinVsEtaAnalyzer::analyze(), BPhysicsOniaDQM::analyze(), WenuPlots::analyze(), EcalPedOffset::analyze(), HLTTrack::analyze(), BTagPerformanceAnalyzerOnData::analyze(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::analyze(), DTSegment2DQuality::analyze(), DTSegment2DSLPhiQuality::analyze(), DTSegment4DQuality::analyze(), TrackSplittingMonitor::analyze(), L1RCTSaveInput::analyze(), L1TDTTF::analyze(), EwkDQM::analyze(), QcdPhotonsDQM::analyze(), L1TDTTPG::analyze(), L1Scalers::analyze(), TrackingMonitor::analyze(), HTMHTAnalyzer::analyze(), GctTimingAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), KVFTest::analyze(), NoiseRates::analyze(), cms::MinBias::analyze(), HcalNoiseRates::analyze(), SiPixelHitEfficiencySource::analyze(), ZDCMonitorModule::analyze(), EcalPreshowerDigisValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), HcalQLPlotAnal::analyze(), SiPixelTrackResidualSource::analyze(), DTResolutionAnalysisTask::analyze(), HLTAnalyzer::analyze(), KineExample::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), BTagPerformanceAnalyzerMC::analyze(), EBRecoSummary::analyze(), ESRecoSummary::analyze(), EERecoSummary::analyze(), L1TRate::analyze(), ContainmentCorrectionAnalyzer::analyze(), EcalPreshowerSimHitsValidation::analyze(), DTSegmentAnalysisTask::analyze(), SiPixelHLTSource::analyze(), myJetAna::analyze(), HLTAlCaMonPi0::analyze(), L1TCSCTPG::analyze(), MuonAnalyzer::analyze(), SiPixelDigiSource::analyze(), DTRecHitQuality::analyze(), DQMSourcePi0::analyze(), testChannel::analyze(), GeneralHLTOffline::analyze(), HLTInclusiveVBFSource::analyze(), HiggsDQM::analyze(), TrackerHitAnalyzer::analyze(), L1TGMT::analyze(), L1TRPCTF::analyze(), EcalSimHitsValidation::analyze(), HeavyFlavorValidation::analyze(), MuCorrMETAnalyzer::analyze(), TcMETAnalyzer::analyze(), L1TRate_Offline::analyze(), SiPixelRawDataErrorSource::analyze(), EcalRecHitsValidation::analyze(), LogMessageMonitor::analyze(), L1TGT::analyze(), PhotonValidator::analyze(), HLTMon::analyze(), L1GtTrigReport::analyze(), HcalRecHitsValidation::analyze(), L1TdeCSCTF::analyze(), HLTHeavyIon::analyze(), EcalDigisValidation::analyze(), JetMETAnalyzer::analyze(), L1TCSCTF::analyze(), BTagHLTOfflineSource::analyze(), DTLocalTriggerBaseTask::analyze(), TTbar_GenLepAnalyzer::analyze(), HLTMuonPlotter::analyze(), SiStripFEDMonitorPlugin::analyze(), GlobalDigisHistogrammer::analyze(), GlobalRecHitsHistogrammer::analyze(), HLTAlCa::analyze(), TTbar_Kinematics::analyze(), CaloMETAnalyzer::analyze(), L1TRPCTPG::analyze(), PFMETAnalyzer::analyze(), HLTEgamma::analyze(), EmDQMReco::analyze(), MuonIsolationDQM::analyze(), JetMETHLTOfflineSource::analyze(), HLTJets::analyze(), METAnalyzer::analyze(), GenPurposeSkimmerData::analyze(), HLTMuon::analyze(), L1TCompare::analyze(), HLTMuonMatchAndPlot::analyze(), HcalDigiMonitor::analyze(), HLTInfo::analyze(), EcalCosmicsHists::analyze(), RPCTTUMonitor::analyze(), EcalMixingModuleValidation::analyze(), PrimaryVertexAnalyzer::analyze(), HcalTimingMonitorModule::analyze(), PFSuperClusterTreeMaker::analyze(), GlobalHitsHistogrammer::analyze(), L1TSync::analyze(), FourVectorHLTOnline::analyze(), DTLocalTriggerTask::analyze(), L1TRCT::analyze(), IsolatedGenParticles::analyze(), SiPixelMuonHLT::analyze(), SiStripMonitorMuonHLT::analyze(), HcalDetDiagTimingMonitor::analyze(), IsolatedTracksCone::analyze(), L1TSync_Offline::analyze(), L1TBPTX::analyze(), RPCEfficiency::analyze(), HcalDetDiagLEDMonitor::analyze(), PhotonAnalyzer::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedTracksNxN::analyze(), L1TdeRCT::analyze(), FourVectorHLTOffline::analyze(), L1TGCT::analyze(), HcalDetDiagPedestalMonitor::analyze(), BeamHaloAnalyzer::analyze(), PrimaryVertexAnalyzer4PU::analyze(), HcalDetDiagLaserMonitor::analyze(), L1GtAnalyzer::analyzeConditionsInEventBlock(), L1GtAnalyzer::analyzeConditionsInLumiBlock(), L1GtAnalyzer::analyzeConditionsInRunBlock(), L1GtAnalyzer::analyzeDecisionReadoutRecord(), EgammaObjects::analyzeElectrons(), L1GtPackUnpackAnalyzer::analyzeGMT(), L1GtPackUnpackAnalyzer::analyzeGT(), L1GtAnalyzer::analyzeL1GtTriggerMenuLite(), L1GtAnalyzer::analyzeObjectMap(), EgammaObjects::analyzePhotons(), L1GtAnalyzer::analyzeTrigger(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), CSCEfficiency::applyTrigger(), edm::service::RandomNumberGeneratorService::backwardCompatibilityRead(), GsfElectronBaseProducer::beginEvent(), pat::PATTriggerEventProducer::beginLuminosityBlock(), pat::PATTriggerProducer::beginLuminosityBlock(), pat::PATTriggerEventProducer::beginRun(), FWFFLooper::beginRun(), LHE2HepMCConverter::beginRun(), pat::PATTriggerProducer::beginRun(), FWSimTrackProxyBuilder::build(), FWECALDetailViewBuilder::buildCaloData(), ConversionProducer::buildSuperAndBasicClusterGeoMap(), reco::helper::JetMuonHitsIDHelper::calculate(), EcalHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), TCMETAlgo::CalculateTCMET(), PhotonIsolationCalculator::calculateTrackIso(), FWBeamSpot::checkBeamSpot(), MuonDetLayerMeasurements::checkCSCRecHits(), OccupancyPlotter::checkDcsInfo(), MuonDetLayerMeasurements::checkDTRecHits(), FWMagField::checkFieldInfo(), EmDQM::checkGeneratedParticlesRequirement(), AlignmentGlobalTrackSelector::checkIsolation(), AlignmentGlobalTrackSelector::checkJetCount(), OccupancyPlotter::checkLumiInfo(), AlignmentTwoBodyDecayTrackSelector::checkMETMass(), EmDQM::checkRecoParticlesRequirement(), MuonDetLayerMeasurements::checkRPCRecHits(), SiStripAnalyser::checkTrackerFEDs(), L1GtDataEmulAnalyzer::compareDaqRecord(), L1GtHwValidation::compareDaqRecord(), L1GtHwValidation::compareEvmRecord(), HLTBitComputer::compute(), PFAlgo::createBlockRef(), GsfElectronAlgo::createElectron(), PFClusterAlgo::createRecHitRef(), PFHCALDualTimeRecHitProducer::createRecHits(), PFRecHitProducerPS::createRecHits(), PFRecHitProducerHCAL::createRecHits(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), CxCalculator::CxCalculator(), muonisolation::TrackExtractor::deposit(), muonisolation::PixelTrackExtractor::deposit(), egammaisolation::EgammaTrackExtractor::deposit(), EcalCosmicsHists::determineTriggers(), RPCTTUMonitor::discriminateGMT(), HLTTauRefProducer::doElectrons(), DTHitAssociator::DTHitAssociator(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), spr::eECALmatrix(), EcalRawToRecHitRoI::Egamma(), DQMLumiMonitor::endLuminosityBlock(), GlobalHitsProdHistStripper::endRun(), SimpleValueVariable< TYPE >::eval(), SimpleValueVectorVariable< TYPE >::eval(), L1GtPatternGenerator::extractGlobalTriggerData(), extractRecordData(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), VertexHistogramMaker::fill(), DigiLumiCorrHistogramMaker::fill(), DigiBXCorrHistogramMaker< T >::fill(), TrackDetectorAssociator::fillCaloTowers(), HTrackAssociator::fillCaloTowers(), reco::HcalNoiseInfoProducer::fillcalotwrs(), TrigResRateMon::fillCountsPerPath(), MuonSimHitsValidAnalyzer::fillCSC(), reco::HcalNoiseInfoProducer::filldigis(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), TrackDetectorAssociator::fillEcal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), TrackerHitProducer::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsProducer::fillG4MC(), MuonIdProducer::fillGlbQuality(), edm::GetterOfProducts< l1extra::L1EtMissParticleCollection >::fillHandles(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), TrackDetectorAssociator::fillHcal(), HTrackAssociator::fillHcal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), HTrackAssociator::fillHcalTowers(), HLTMon::fillHistos(), EmDQM::fillHistos(), EmDQMReco::fillHistos(), TrackDetectorAssociator::fillHO(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), BTagHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), BTagHLTOfflineSource::fillMEforTriggerNTfired(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), TrackDetectorAssociator::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), MuonIdProducer::fillMuonId(), HLTOniaSource::fillOniaTriggerMEs(), MuonAnalyzerSBSM::FillPlots(), reco::HcalNoiseInfoProducer::fillrechits(), MuonSimHitsValidAnalyzer::fillRPC(), reco::HcalNoiseInfoProducer::filltracks(), TrackerHitProducer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), ZToMuMuSelector::filter(), DetectorStateFilter::filter(), DetStatus::filter(), CandCollectionExistFilter::filter(), JetMETDQMDCSFilter::filter(), myFilter::filter(), ClusterMultiplicityFilter::filter(), NvertexFilter::filter(), HLTHcalLaserFilter::filter(), HBHENoiseFilter::filter(), HiggsToWW2LeptonsSkim::filter(), ProbeTreeProducer::filter(), HeavyChHiggsToTauNuSkim::filter(), HiggsTo2GammaSkim::filter(), HiggsToZZ4LeptonsPreFilter::filter(), EgammaProbeSelector::filter(), GenLeadTrackFilter::filter(), HiggsToZZ4LeptonsSkim::filter(), MuScleFitGenFilter::filter(), HLTPrescaler::filter(), BeamSplash::filter(), ECALActivity::filter(), PhysDecl::filter(), PFTauVertexSelector::filter(), EcalExclusiveTrigFilter::filter(), EcalSkim::filter(), L1GtBeamModeFilter::filter(), EmptyEventsFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), HLTEcalResonanceFilter::filter(), SiStripClusterizer::findInput(), SiStripProcessedRawDigiProducer::findInput(), ShallowDigisProducer::findInput(), AlignmentGlobalTrackSelector::findMuons(), triggerExpression::get(), L1TSync_Offline::getBeamConfOffline(), PileUpEventPrincipal::getByLabel(), MatacqProducer::getCalibTriggerType(), L1MuGMTPSB::getCalo(), Multi5x5SuperClusterProducer::getClusterPtrVector(), SuperClusterProducer::getClusterPtrVector(), HiSuperClusterProducer::getClusterPtrVector(), getCollection(), Multi5x5ClusterProducer::getCollection(), IslandClusterProducer::getCollection(), CalibratableTest::getCollection(), EgammaHLTIslandClusterProducer::getCollection(), CosmicClusterProducer::getCollection(), EgammaHLTMulti5x5ClusterProducer::getCollection(), EDMtoMEConverter::getData(), RawDataConverter::GetDigis(), EcalSimRawData::getEbDigi(), JetPlusTrackCorrector::getElectrons(), EcalClusterLazyTools::getESRecHits(), pat::PATMHTProducer::getMuons(), JetPlusTrackCorrector::getMuons(), MatacqProducer::getOrbitId(), MuonPFAnalyzer::getPrimaryVertex(), L1TEfficiencyMuons_Offline::getPrimaryVertex(), QcdUeDQM::getProduct(), QcdLowPtDQM::getProduct(), QcdUeDQM::getProductSafe(), QcdLowPtDQM::getProductSafe(), GetLumi::getRawValue(), PFSimParticleProducer::getSimIDs(), EcalSimRawData::getSrfs(), SiStripDCSStatus::getStatus(), EcalSimRawData::getTp(), CosmicClusterProducer::getUCollection(), RawDataConverter::GetValidLabels(), HLTTrackSeedMultiplicityFilter::hltFilter(), HLTSingleVertexPixelTrackFilter::hltFilter(), HLTPixelClusterShapeFilter::hltFilter(), HLTVertexFilter::hltFilter(), HLTBeamModeFilter::hltFilter(), HLTLevel1GTSeed::hltFilter(), HLTRPCTrigNoSyncFilter::hltFilter(), MuonIdProducer::init(), SiStripDCSStatus::initialise(), HLTHiggsSubAnalysis::initobjects(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), PrescaleWeightProvider::initRun(), cms::MuonTCMETValueMapProducer::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodTrack(), TCMETAlgo::isGoodTrack(), BTagHLTOfflineSource::isVBTFMuon(), FourVectorHLTOffline::isVBTFMuon(), EcalRawToRecHitRoI::Jet(), JetPlusTrackCorrector::jtaUsingEventData(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), L1GtUtils::l1Results(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::loopOnTracks(), main(), RPCDcsInfo::makeDcsInfo(), RPCRecHitProbability::makeDcsInfo(), DQMDcsInfo::makeDcsInfo(), RPCMonitorDigi::makeDcsInfo(), DQMDcsInfo::makeGtInfo(), MuPFIsoHelper::makeIsoDeposit(), HLTEgamma::MakeL1IsolatedElectrons(), HLTEgamma::MakeL1IsolatedPhotons(), HLTEgamma::MakeL1NonIsolatedElectrons(), HLTEgamma::MakeL1NonIsolatedPhotons(), MuonIdProducer::makeMuon(), JetPlusTrackCorrector::matchTracks(), PhotonMIPHaloTagger::MIPcalculate(), PFCandidateMixer::mix(), CosmicParametersDefinerForTP::momentum(), PFBlockAlgo::muAssocToTrack(), AcceptJet::operator()(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRJetCombObservables::operator()(), CosmicTrackingParticleSelector::operator()(), TSGFromPropagation::passSelection(), FastTSGFromPropagation::passSelection(), FWFFService::postBeginRun(), EveService::postBeginRun(), FWPathsPopup::postProcessEvent(), QuickTrackAssociatorByHits::prepareCluster2TPMap(), L1GtUtils::prescaleFactorSetIndex(), PrescaleWeightProvider::prescaleWeight(), L1Comparator::process(), EBTriggerTowerTask::processDigis(), EETriggerTowerTask::processDigis(), PFSuperClusterTreeMaker::processSuperClusterFillTree(), HIBestVertexProducer::produce(), CaloRecHitCandidateProducer::produce(), HcalTrigPrimDigiProducer::produce(), QuarkoniaTrackSelector::produce(), EcalTBTDCRecInfoProducer::produce(), ESRecHitProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), ESRawToDigi::produce(), EcalTBHodoscopeRecInfoProducer::produce(), JetExtender::produce(), ShallowClustersProducer::produce(), L1RCTInputProducer::produce(), UnifiedSCCollectionProducer::produce(), CaloTowersReCreator::produce(), TCRecoTauProducer::produce(), HIPixelClusterVtxProducer::produce(), CleanAndMergeProducer::produce(), PFConversionProducer::produce(), GlobalCosmicMuonProducer::produce(), TrackProducerWithSCAssociation::produce(), UncleanSCRecoveryProducer::produce(), TtSemiLepSignalSelMVAComputer::produce(), ESZeroSuppressionProducer::produce(), EcalDigiSelector::produce(), EgammaHLTHybridClusterProducer::produce(), L3MuonCandidateProducerFromMuons::produce(), HybridClusterProducer::produce(), DTUnpackingModule::produce(), CSCTFPacker::produce(), EcalRecHitProducer::produce(), ReducedESRecHitCollectionProducer::produce(), ElectronRecalibSuperClusterAssociator::produce(), RPCPointProducer::produce(), RecHitFilter::produce(), EcalDetIdToBeRecoveredProducer::produce(), MuonSeedGenerator::produce(), GlobalTrackQualityProducer::produce(), PFTrackProducer::produce(), EcalZeroSuppressionProducer::produce(), ConvertObjectMapRecord::produce(), CandidateTriggerObjectProducer::produce(), SiStripClusterToDigiProducer::produce(), PFProducer::produce(), SoftPFElectronTagInfoProducer::produce(), PixelVertexProducer::produce(), FakeTBEventHeaderProducer::produce(), CSCTriggerPrimitivesProducer::produce(), ReducedRecHitCollectionProducer::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), AlCaGammaJetProducer::produce(), ConversionTrackMerger::produce(), VertexFromTrackProducer::produce(), SETMuonSeedProducer::produce(), TagProbeMassProducer::produce(), SiStripRawToClustersRoI::produce(), JetPlusTrackProducer::produce(), SoftPFMuonTagInfoProducer::produce(), L1GctEmulator::produce(), HBHENoiseFilterResultProducer::produce(), cms::SimpleTrackListMerger::produce(), PFSimParticleProducer::produce(), L1EmulBias::produce(), cms::MuonTCMETValueMapProducer::produce(), pat::PATCompositeCandidateProducer::produce(), L1ExtraParticlesProd::produce(), pat::PATMuonProducer::produce(), L1Comparator::produce(), L1GlobalTriggerRecordProducer::produce(), pat::PATTriggerMatchEmbedder< PATObjectType >::produce(), HcalHitSelection::produce(), RPCTrigger::produce(), FFTJetVertexAdder::produce(), FFTJetPFPileupCleaner::produce(), CaloTowersMerger::produce(), ConditionDumperInEdm::produce(), PatJPsiProducer::produce(), pat::PATTriggerEventProducer::produce(), NuclearInteractionEDProducer::produce(), MuIsolatorResultProducer< BT >::produce(), JetPlusTrackProducerAA::produce(), L1GTEvmDigiToRaw::produce(), PrimaryVertexProducer::produce(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTDigiToRaw::produce(), pat::PATElectronProducer::produce(), MuonIdProducer::produce(), pat::PATTriggerProducer::produce(), L1GlobalTrigger::produce(), L1GlobalTriggerRawToDigi::produce(), PFPhotonTranslator::produce(), EgammaHLTNxNClusterProducer::produce(), SecondaryVertexProducer::produce(), EgammaHLTGsfTrackVarProducer::produce(), RPCTechnicalTrigger::produce(), TriggerMatcherToHLTDebug::produce(), SoftLepton::produce(), BoostedTopProducer::produce(), reco::HcalHaloDataProducer::produce(), reco::EcalHaloDataProducer::produce(), EvtPlaneProducer::produce(), reco::CSCHaloDataProducer::produce(), reco::GlobalHaloDataProducer::produce(), CollHandle< EEDigiCollection >::read(), edm::service::RandomNumberGeneratorService::readFromEvent(), edm::service::RandomNumberGeneratorService::readFromLuminosityBlock(), AlcaBeamSpotManager::readLumi(), L1MuGMTPSB::receiveData(), L1GlobalTriggerPSB::receiveGctObjectData(), L1GlobalTriggerGTL::receiveGmtObjectData(), L1GlobalTriggerPSB::receiveTechnicalTriggers(), PFAlgo::reconstructParticles(), MuonPFAnalyzer::recoToGenMatch(), GlobalTrackingRegionProducerFromBeamSpot::regions(), GlobalTrackingRegionWithVerticesProducer::regions(), CosmicRegionalSeedGenerator::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), CandidateSeededTrackingRegionsProducer::regions(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::rejectTrack(), RunManager::resetGenParticleId(), L1RetrieveL1Extra::retrieveL1ExtraObjects(), L1GtUtils::retrieveL1GtTriggerMenuLite(), CutBasedElectronID::robustSelection(), EcalRecHitWorkerRecover::run(), RxCalculator::RxCalculator(), HLTLevel1GTSeed::seedsL1Extra(), HLTLevel1GTSeed::seedsL1TriggerObjectMaps(), pf2pat::PtMinPFCandidateSelectorDefinition::select(), HLTEventSelector::select(), CaloTauSelectorDefinition::select(), HIProtoTrackSelector::select(), PFTauSelectorDefinition::select(), FourVectorHLTOffline::selectElectrons(), MuScleFitMuonSelector::selectGenSimMuons(), TcMETAnalyzer::selectHighPtJetEvent(), MuCorrMETAnalyzer::selectHighPtJetEvent(), PFMETAnalyzer::selectHighPtJetEvent(), METAnalyzer::selectHighPtJetEvent(), CaloMETAnalyzer::selectHighPtJetEvent(), BTagHLTOfflineSource::selectJets(), FourVectorHLTOffline::selectJets(), TcMETAnalyzer::selectLowPtJetEvent(), MuCorrMETAnalyzer::selectLowPtJetEvent(), PFMETAnalyzer::selectLowPtJetEvent(), METAnalyzer::selectLowPtJetEvent(), CaloMETAnalyzer::selectLowPtJetEvent(), FourVectorHLTOffline::selectMet(), MuScleFitMuonSelector::selectMuons(), BTagHLTOfflineSource::selectMuons(), FourVectorHLTOffline::selectMuons(), FourVectorHLTOffline::selectPhotons(), MuScleFitMuonSelector::selectSimulatedMuons(), FourVectorHLTOffline::selectTaus(), edm::StreamerOutputModuleBase::setHltMask(), PFDisplacedVertexCandidateFinder::setInput(), PFDisplacedVertexFinder::setInput(), TrackingMonitor::setNclus(), PFDisplacedVertexHelper::setPrimaryVertex(), PFDisplacedVertexCandidateFinder::setPrimaryVertex(), FWECALDetailViewBuilder::showSuperClusters(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), SiStripMonitorTrack::trackStudy(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfElectronDataAnalyzer::trigger(), DQMAnalyzer::trigger(), DTTrig::triggerReco(), edm::Event::triggerResultsByName(), MuonIdTruthInfo::truthMatchMuon(), and CosmicParametersDefinerForTP::vertex().

76  {
77  return product_ && prov_;
78  }
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
HandleBase& edm::HandleBase::operator= ( HandleBase const &  rhs)
inline

Definition at line 70 of file HandleBase.h.

References swap(), and groupFilesInBlocks::temp.

70  {
71  HandleBase temp(rhs);
72  this->swap(temp);
73  return *this;
74  }
void swap(HandleBase &other)
Definition: HandleBase.h:63
void const * edm::HandleBase::productStorage ( ) const
protected

Definition at line 7 of file HandleBase.cc.

References product_, and whyFailed_.

7  {
8  if (whyFailed_) {
9  throw *whyFailed_;
10  }
11  return product_;
12  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
void const * product_
Definition: HandleBase.h:99
Provenance const* edm::HandleBase::provenance ( ) const
inline
void edm::HandleBase::swap ( HandleBase other)
inline

Definition at line 63 of file HandleBase.h.

References product_, prov_, std::swap(), and whyFailed_.

Referenced by operator=(), edm::Handle< GenericObject >::operator=(), edm::Handle< FWGenericObject >::operator=(), edm::Handle< GenericObject >::swap(), edm::Handle< FWGenericObject >::swap(), and edm::swap().

63  {
64  using std::swap;
65  swap(product_, other.product_);
66  std::swap(prov_, other.prov_);
67  swap(whyFailed_, other.whyFailed_);
68  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
void swap(HandleBase &other)
Definition: HandleBase.h:63
Provenance const * prov_
Definition: HandleBase.h:100
void const * product_
Definition: HandleBase.h:99
boost::shared_ptr<cms::Exception> edm::HandleBase::whyFailed ( ) const
inline

Definition at line 90 of file HandleBase.h.

References whyFailed_.

Referenced by HLTPhysicsDeclared::filter(), triggerExpression::get(), and L3MuonCandidateProducerFromMuons::produce().

90  {
91  return whyFailed_;
92  }
boost::shared_ptr< cms::Exception > whyFailed_
Definition: HandleBase.h:101

Member Data Documentation

void const* edm::HandleBase::product_
private

Definition at line 99 of file HandleBase.h.

Referenced by clear(), isValid(), productStorage(), and swap().

Provenance const* edm::HandleBase::prov_
private
boost::shared_ptr<cms::Exception> edm::HandleBase::whyFailed_
private