#include <DataFormats/Common/interface/Handle.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
void | clear () |
bool | failedToGet () const |
Returns true only if Handle was used in a 'get' call and the data could not be found. | |
Handle (const boost::shared_ptr< cms::Exception > &) | |
Handle (T const *prod, Provenance const *prov) | |
Handle (const Handle< T > &h) | |
Handle () | |
ProductID | id () const |
bool | isValid () const |
T const & | operator * () const |
T const * | operator-> () const |
Handle< T > & | operator= (const Handle< T > &rhs) |
T const * | product () const |
Provenance const * | provenance () const |
void | swap (Handle< T > &other) |
~Handle () | |
Private Attributes | |
ProductID | id_ |
T const * | prod_ |
Provenance const * | prov_ |
boost::shared_ptr< cms::Exception > | whyFailed_ |
Definition at line 40 of file Handle.h.
typedef T edm::Handle< T >::element_type |
Handle::Handle | ( | ) | [inline] |
Handle::Handle | ( | const Handle< T > & | h | ) | [inline] |
Handle::Handle | ( | T const * | prod, | |
Provenance const * | prov | |||
) | [inline] |
Definition at line 99 of file Handle.h.
References edm::Handle< T >::prod_, and edm::Handle< T >::prov_.
00099 : 00100 prod_(prod), 00101 prov_(prov), 00102 id_(prov->productID()) 00103 { 00104 assert(prod_); 00105 assert(prov_); 00106 }
Handle::Handle | ( | const boost::shared_ptr< cms::Exception > & | iWhyFailed | ) | [inline] |
Handle::~Handle | ( | ) | [inline] |
Definition at line 117 of file Handle.h.
References edm::Handle< T >::clear().
00118 { 00119 // Really nothing to do -- we do not own the things to which we 00120 // point. For help in debugging, we clear the data. 00121 clear(); 00122 }
Definition at line 200 of file Handle.h.
References edm::Handle< T >::id_, edm::Handle< T >::prod_, edm::Handle< T >::prov_, and edm::Handle< T >::whyFailed_.
Referenced by edm::DataViewImpl::get(), edm::Event::get(), edm::DataViewImpl::getByLabel(), edm::DataViewImpl::getByType(), getCollection(), TtHadEvtSolutionMaker::produce(), reco::modules::CosmicTrackSplitter::produce(), HLTTauMCProducer::produce(), and edm::Handle< T >::~Handle().
00201 { 00202 prod_ = 0; 00203 prov_ = 0; 00204 id_ = ProductID(); 00205 whyFailed_.reset(); 00206 }
bool Handle::failedToGet | ( | ) | const [inline] |
Returns true only if Handle was used in a 'get' call and the data could not be found.
Definition at line 153 of file Handle.h.
References edm::Handle< T >::whyFailed_.
Referenced by HLTMuonGenericRate::analyze(), HLTMuonL1DQMSource::analyze(), HLTMuonIsoDQMSource::analyze(), HLTMuonDQMSource::analyze(), SiStripMonitorTrack::analyze(), HLTMuonRecoDQMSource::analyze(), SimpleValueVectorVariable< TYPE >::eval(), SimpleValueVariable< TYPE >::eval(), SiStripMonitorTrack::fillCapacitiveCouplingMEs(), TrackProducer::getTransient(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), EcalRawToRecHitRoI::OneCandCollection(), TrackProducer::produce(), GctDigiToRaw::produce(), pat::PATMuonProducer::produce(), BSCTrigger::produce(), TrackProducerWithSCAssociation::produce(), TrackRefitter::produce(), GsfTrackRefitter::produce(), edm::Handle< T >::product(), ClusterChecker::tooManyClusters(), and OnDemandMeasurementTracker::updateStrips().
00154 { 00155 return 0 != whyFailed_.get(); 00156 }
Definition at line 193 of file Handle.h.
References edm::Handle< T >::id_.
Referenced by ZMuMuAnalyzer_cynematics::analyze(), ZMuMuAnalyzer::analyze(), MuonAssociatorByHits::associateRecoToSim(), TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), CandCombinerBase< OutputCollection, CandPtr >::combine(), EcalSelectiveReadoutProducer::getEBDigis(), EcalSelectiveReadoutProducer::getEEDigis(), MuIsolatorResultProducer< BT >::initAssociation(), PFTopProjector::produce(), TrackClusterRemover::produce(), and EcalRawToRecHitProducer::produce().
00194 { 00195 return id_; 00196 }
Definition at line 146 of file Handle.h.
References edm::Handle< T >::prod_, and edm::Handle< T >::prov_.
Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), VisMuon::analyze(), VisEBRecHit::analyze(), METTester::analyze(), HCALRecHitAnalyzer::analyze(), GlobalRecHitsHistogrammer::analyze(), TtSemiLepSignalSelMVATrainer::analyze(), cms::MinBias::analyze(), HLTMon::analyze(), BxTiming::analyze(), L1TGMT::analyze(), DQMSourcePhiSym::analyze(), JetMETAnalyzer::analyze(), HiggsToZZ4LeptonsSkimEff::analyze(), HLTBtagLifetimeAnalyzer::analyze(), VisSiPixelCluster::analyze(), VisHORecHit::analyze(), PhotonValidator::analyze(), GlobalDigisHistogrammer::analyze(), EcalPreshowerDigisValidation::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), cms::JetPlusTrackAnalysis::analyze(), L1TGT::analyze(), BTagPerformanceAnalyzerOnData::analyze(), CSCComparatorDigiValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), EgammaBasicClusters::analyze(), L1RCTSaveInput::analyze(), AlCaElectronsTest::analyze(), EESelectiveReadoutTask::analyze(), L1TRCT::analyze(), SiPixelHLTSource::analyze(), HLTBJet::analyze(), VisMET::analyze(), VisHBRecHit::analyze(), VisEcalRecHit::analyze(), VisCaloTower::analyze(), KVFTest::analyze(), EBCosmicTask::analyze(), HLTMonElectron::analyze(), PrimaryVertexMonitor::analyze(), HLTMuon::analyze(), EmDQM::analyze(), VisJet::analyze(), ObjectCounter< C >::analyze(), ElectronCalibrationUniv::analyze(), L1TCompare::analyze(), HLTMuonGenericRate::analyze(), EcalRecHitsValidation::analyze(), CastorHitAnalyzerImpl::analyze(), HcalQLPlotAnal::analyze(), EcalTBTDCRawInfoDumper::analyze(), ParticleListDrawer::analyze(), HLTJetMETDQMSource::analyze(), L1TRPCTPG::analyze(), VisRPCRecHit::analyze(), TopElecAnalyzer::analyze(), L1GtTrigReport::analyze(), L1TdeRCT::analyze(), L1TLTC::analyze(), PlaybackRawDataProvider::analyze(), HLTJets::analyze(), EcalDigisValidation::analyze(), KineExample::analyze(), EcalPedOffset::analyze(), EECosmicTask::analyze(), VisDTDigi::analyze(), PrimaryVertexAnalyzer::analyze(), CSCWireDigiValidation::analyze(), EgammaSuperClusters::analyze(), EEOccupancyTask::analyze(), FourVectorHLTOnline::analyze(), L1TECALTPG::analyze(), HLTTauElDQMOfflineSource::analyze(), VisTrackingRecHit::analyze(), HcalSimHitStudy::analyze(), EcalEndcapDigisValidation::analyze(), L1THCALTPGXAna::analyze(), HLTEventAnalyzerRAW::analyze(), VisSiStripCluster::analyze(), VisDTRecSegment4D::analyze(), VisDTRecHit::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), EBOccupancyTask::analyze(), HcalMonitorModule::analyze(), L1TdeGCT::analyze(), L1TDTTPG::analyze(), SiPixelDigiSource::analyze(), MuonAnalyzer::analyze(), HLTMCtruth::analyze(), VisSiStripDigi::analyze(), VisPFRecTrack::analyze(), VisEERecHit::analyze(), FourVectorHLT::analyze(), L1TDEMON::analyze(), L1TRPCTF::analyze(), HLTEventAnalyzerAOD::analyze(), VisPFRecHit::analyze(), VisCSCSegment::analyze(), EcalPreshowerRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), SimplePhotonAnalyzer::analyze(), FourVectorHLTOffline::analyze(), VisSiPixelRecHit::analyze(), EcalSimHitsValidation::analyze(), cms::Analyzer_minbias::analyze(), EEClusterTask::analyze(), L1THCALTPG::analyze(), HLTInfo::analyze(), DQMHLTSourcePi0::analyze(), VisHERecHit::analyze(), VisBasicCluster::analyze(), TrackerHitAnalyzer::analyze(), CSCStripDigiValidation::analyze(), KVFTrackUpdate::analyze(), EBClusterTask::analyze(), EBSelectiveReadoutTask::analyze(), L1TCSCTF::analyze(), L1TCSCTPG::analyze(), L1TdeECAL::analyze(), L1TGCT::analyze(), HLTTauDQMOfflineSource::analyze(), VisTrack::analyze(), VisPFCluster::analyze(), VisHFRecHit::analyze(), EcalEndcapSimHitsValidation::analyze(), testChannel::analyze(), DTLocalTriggerTask::analyze(), L1TDTTF::analyze(), SiPixelRawDataErrorSource::analyze(), SiStripMonitorTrack::analyze(), EgammaHLTOffline::analyze(), VisPixelDigi::analyze(), GlobalHitsHistogrammer::analyze(), EcalPreshowerSimHitsValidation::analyze(), EcalMixingModuleValidation::analyze(), CastorDigiAnalyzerImpl::analyze(), DTChamberEfficiency::analyze(), SiStripMonitorTrackEfficiency::analyze(), DQMSourcePi0::analyze(), JetAnalyzer::analyze(), HLTEgamma::analyze(), EgammaObjects::analyzeElectrons(), L1GtPackUnpackAnalyzer::analyzeGMT(), L1GtPackUnpackAnalyzer::analyzeGT(), HLTBJetDQMSource::analyzeLifetime(), HLTBJetDQMSource::analyzePerformance(), EgammaObjects::analyzePhotons(), HLTBJetDQMSource::analyzeSoftmuon(), PhotonIDAlgo::calculateTrackIso(), AlignmentGlobalTrackSelector::checkIsolation(), AlignmentGlobalTrackSelector::checkJetCount(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), AlignmentTwoBodyDecayTrackSelector::checkMETMass(), SiStripAnalyser::checkTrackerFEDs(), L1GtDataEmulAnalyzer::compareDaqRecord(), EDMtoMEConverter::convert(), JetPlusTrackCorrector::correction(), PFAlgo::createBlockRef(), PFClusterAlgo::createRecHitRef(), muonisolation::PixelTrackExtractor::deposit(), egammaisolation::EgammaTrackExtractor::deposit(), muonisolation::TrackExtractor::deposit(), HLTTauRefProducer::doElectrons(), HLTTauDQMSource::doSummary(), DTHitAssociator::DTHitAssociator(), EcalEleCalibLooper::duringLoop(), ZeeCalibration::duringLoop(), EcalRawToRecHitRoI::Egamma(), GlobalHitsProdHistStripper::endRun(), SimpleValueVectorVariable< TYPE >::eval(), SimpleValueVariable< TYPE >::eval(), HTrackAssociator::fillCaloTowers(), TrackDetectorAssociator::fillCaloTowers(), MuonSimHitsValidAnalyzer::fillCSC(), MuonSimHitsValidAnalyzer::fillDT(), TrackDetectorAssociator::fillEcal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalHitsProducer::fillECal(), GlobalRecHitsProducer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalDigisProducer::fillECal(), GlobalHitsAnalyzer::fillECal(), TrackerHitProducer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsProducer::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalRecHitsAnalyzer::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalHitsProducer::fillHCal(), HTrackAssociator::fillHcal(), TrackDetectorAssociator::fillHcal(), GlobalRecHitsProducer::fillHCal(), GlobalHitsProdHist::fillHCal(), HTrackAssociator::fillHcalTowers(), EmDQM::fillHistos(), TrackDetectorAssociator::fillHO(), GlobalDigisProducer::fillMuon(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), TrackDetectorAssociator::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), reco::Pi0Algo::fillPi0sUsingPF(), MuonSimHitsValidAnalyzer::fillRPC(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), TrackerHitProducer::fillTrk(), HLTPi0RecHitsFilter::filter(), EgammaProbeSelector::filter(), HiggsToZZ4LeptonsSkim::filter(), ClusterMultiplicityFilter::filter(), EcalSkim::filter(), RequireModule::filter(), ZToMuMuSelector::filter(), RecoDiMuon::filter(), HeavyChHiggsToTauNuSkim::filter(), RoadSearchEventFilter::filter(), HiggsToWW2LeptonsSkim::filter(), HiggsToZZ4LeptonsPreFilter::filter(), HiggsTo2GammaSkim::filter(), AlignmentGlobalTrackSelector::findMuons(), L1MuGMTPSB::getCalo(), Multi5x5SuperClusterProducer::getClusterRefVector(), SuperClusterProducer::getClusterRefVector(), IslandClusterProducer::getCollection(), Multi5x5ClusterProducer::getCollection(), CosmicClusterProducer::getCollection(), EgammaHLTIslandClusterProducer::getCollection(), EgammaHLTMulti5x5ClusterProducer::getCollection(), getCollection(), PFSimParticleProducer::getSimIDs(), EcalSimRawData::getSrfs(), EcalSimRawData::getTp(), CosmicClusterProducer::getUCollection(), EcalRawToRecHitRoI::Jet(), l1AlgorithmResult(), HLTEgamma::MakeL1IsolatedElectrons(), HLTEgamma::MakeL1IsolatedElectronsLargeWindows(), HLTEgamma::MakeL1IsolatedPhotons(), HLTEgamma::MakeL1NonIsolatedElectrons(), HLTEgamma::MakeL1NonIsolatedElectronsLargeWindows(), HLTEgamma::MakeL1NonIsolatedPhotons(), PFBlockAlgo::muAssocToTrack(), PFBlockAlgo::niAssocToTrack(), VisL1MuDTChambThContainerTwig::onNewEvent(), VisL1MuDTTrackContainerTwig::onNewEvent(), VisCandidateTwig::onNewEvent(), VisPixelDigiTwig::onNewEvent(), VisTriggerResultsTwig::onNewEvent(), VisGsfTrackTwig::onNewEvent(), VisL1MuDTChambPhContainerTwig::onNewEvent(), VisL1GlobalTriggerReadoutRecordTwig::onNewEvent(), VisFEDRawDataCollectionTwig::onNewEvent(), L1Comparator::process(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), HcalMonitorSelector::processEvent(), EcalZeroSuppressionProducer::produce(), L1GTEvmDigiToRaw::produce(), TtSemiLepSignalSelMVAComputer::produce(), cms::SimpleTrackListMerger::produce(), SoftConversionTrackCandidateProducer::produce(), ESZeroSuppressionProducer::produce(), NuclearInteractionEDProducer::produce(), PFTopProjector::produce(), pat::PATTriggerProducer::produce(), CaloTowersReCreator::produce(), AlCaGammaJetProducer::produce(), HybridClusterProducer::produce(), L1RCTInputProducer::produce(), L1Comparator::produce(), FakeTBEventHeaderProducer::produce(), EcalTBTDCRecInfoProducer::produce(), EcalChannelKiller::produce(), L1GlobalTrigger::produce(), ElectronRecalibSuperClusterAssociator::produce(), L1GlobalTriggerEvmRawToDigi::produce(), pat::PATCompositeCandidateProducer::produce(), GlobalCosmicMuonProducer::produce(), SoftLepton::produce(), L1EmulBias::produce(), EcalDigiProducer::produce(), ESRawToDigi::produce(), AlCaHOCalibProducer::produce(), L1GlobalTriggerRecordProducer::produce(), HLTProdCand::produce(), PFProducer::produce(), EcalDeadChannelRecoveryProducers::produce(), PhotonProducer::produce(), RecHitFilter::produce(), CSCDigiSuppressor::produce(), L1GTDigiToRaw::produce(), EcalTBH2TDCRecInfoProducer::produce(), MuIsolatorResultProducer< BT >::produce(), ConvertedPhotonProducer::produce(), CaloRecHitCandidateProducer::produce(), pat::PATTriggerEventProducer::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), EcalTBHodoscopeRecInfoProducer::produce(), PFSimParticleProducer::produce(), TrackProducerWithSCAssociation::produce(), EgammaHLTHybridClusterProducer::produce(), pat::PATTriggerMatchEmbedder< PATObjectType, RecoObjectType >::produce(), L1RCTProducer::produce(), L1GlobalTriggerRawToDigi::produce(), PixelVertexProducer::produce(), AlCaEcalHcalReadoutsProducer::produce(), PrimaryVertexProducer::produce(), MaskedRctInputDigiProducer::produce(), MuonCandProducerMon::produce(), JetExtender::produce(), ConversionTrackCandidateProducer::produce(), CollHandle< EEDigiCollection >::read(), L1MuGMTPSB::receiveData(), L1GlobalTriggerPSB::receiveGctObjectData(), L1GlobalTriggerGTL::receiveGmtObjectData(), L1GlobalTriggerPSB::receiveTechnicalTriggers(), HcalDigiTester::reco(), GlobalTrackingRegionWithVerticesProducer::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), edm::service::RandomNumberGeneratorService::restoreState(), PdgIdPFCandidateSelectorDefinition::select(), PtMinPFCandidateSelectorDefinition::select(), IsolatedPFCandidateSelectorDefinition::select(), PFTauSelectorDefinition::select(), edm::StreamerOutputModuleBase::setHltMask(), MuonIdTruthInfo::truthMatchMuon(), and PFBlockAlgo::v0AssocToTrack().
T const & Handle::operator * | ( | ) | const [inline] |
Definition at line 178 of file Handle.h.
References edm::Handle< T >::product().
00179 { 00180 return *product(); 00181 }
T const * Handle::operator-> | ( | ) | const [inline] |
Definition at line 171 of file Handle.h.
References edm::Handle< T >::product().
00172 { 00173 return product(); 00174 }
Definition at line 137 of file Handle.h.
References edm::Handle< T >::swap(), and pyDBSRunClass::temp.
T const * Handle::product | ( | ) | const [inline] |
Definition at line 160 of file Handle.h.
References edm::Handle< T >::failedToGet(), edm::Handle< T >::prod_, and edm::Handle< T >::whyFailed_.
Referenced by edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingMuonWorker::addMuonPileups(), edm::DataMixingMuonWorker::addMuonSignals(), edm::MixingWorker< T >::addPileups(), edm::MixingWorker< T >::addSignals(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripGainFromData::algoAnalyze(), METTester::analyze(), HCALRecHitAnalyzer::analyze(), CastorDigiAnalyzer::analyze(), HiggsToZZ4LeptonsSkimEff::analyze(), JetMETAnalyzer::analyze(), ElectronAnalyzer::analyze(), L1TGMT::analyze(), PhotonValidator::analyze(), EcalPreshowerDigisValidation::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), GsfElectronDataAnalyzer::analyze(), SinglePionEfficiencyNew::analyze(), BTagPerformanceAnalyzerOnData::analyze(), ValidationMisalignedTracker::analyze(), GenericBenchmarkAnalyzer::analyze(), EcalEndcapRecHitsValidation::analyze(), EgammaBasicClusters::analyze(), AlCaElectronsTest::analyze(), TestSuite::analyze(), GlobalTest::analyze(), HcalDigiAnalyzer::analyze(), EcalTPInputAnalyzer::analyze(), KVFTest::analyze(), ElectronPixelSeedAnalyzer::analyze(), CSCTFAnalyzer::analyze(), HcalIsoTrkAnalyzer::analyze(), BeamSpotAnalyzer::analyze(), RPCFEDIntegrity::analyze(), EBBeamHodoTask::analyze(), ElectronCalibrationUniv::analyze(), MultiTrackValidator::analyze(), BTagPerformanceAnalyzerMC::analyze(), EcalRecHitsValidation::analyze(), HcalHitAnalyzer::analyze(), EcalTBTDCRawInfoDumper::analyze(), SiPixelTrackResidualSource::analyze(), L1TRPCTPG::analyze(), EBBeamCaloTask::analyze(), SiPixelRecHitsValid::analyze(), EcalDigisValidation::analyze(), DTCalibValidation::analyze(), SiPixelErrorEstimation::analyze(), EgammaSuperClusters::analyze(), SiStripCommissioningSource::analyze(), FourVectorHLTOnline::analyze(), EEBeamHodoTask::analyze(), SiPixelTrackingRecHitsValid::analyze(), PFTester::analyze(), EcalEndcapDigisValidation::analyze(), CSCSegmentValidation::analyze(), edm::TestMix::analyze(), EEBeamCaloTask::analyze(), cms::ProducerAnalyzer::analyze(), TrackingTruthValid::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), RPCMonitorRaw::analyze(), TauTagVal::analyze(), LinkDataXMLWriter::analyze(), L1TRPCTF::analyze(), TrackerSeedValidator::analyze(), EcalPreshowerRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), SimplePhotonAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), BTagPerformanceAnalyzer::analyze(), HLTGetDigi::analyze(), FourVectorHLTOffline::analyze(), RPCEfficiencyFromTrack::analyze(), RecoMuonValidator::analyze(), SimplePi0DiscAnalyzer::analyze(), DQMHLTSourcePi0::analyze(), EEClusterTask::analyze(), cms::Analyzer_minbias::analyze(), TPGCheck::analyze(), CSCRecHit2DValidation::analyze(), CSCTFanalyzer::analyze(), SiPixelRecHitSource::analyze(), L1TCSCTF::analyze(), EBClusterTask::analyze(), EcalTrigPrimAnalyzer::analyze(), ClusterCount::analyze(), EcalMixingModuleValidation::analyze(), DTRecHitQuality::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), CastorHitAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), DQMSourcePi0::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), TrackAssociatorByHits::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), VertexAssociatorByTracks::associateRecoToSim(), VertexAssociatorByTracks::associateSimToReco(), TrackAssociatorByHits::associateSimToReco(), pat::LeptonVertexSignificance::calculate(), pat::LeptonJetIsolationAngle::calculate(), PhotonIDAlgo::calculateBasicClusterIso(), PhotonIDAlgo::calculateEcalRecHitIso(), PhotonIDAlgo::calculateHcalRecHitIso(), PhotonIDAlgo::calculateR9(), PhotonIDAlgo::calculateTrackIso(), L1Comparator::compareCollections(), JetPlusTrackCorrector::correction(), HLTTauRefProducer::doElectrons(), Tau3MuReco::doTau3MuReco(), DTHitAssociator::DTHitAssociator(), EcalEleCalibLooper::duringLoop(), InvRingCalib::duringLoop(), HITrackingRegionProducer::estimateMultiplicity(), MuonTruth::eventSetup(), PSimHitMap::fill(), SiStripMonitorTrack::fillCapacitiveCouplingMEs(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), GlobalDigisProducer::fillECal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), reco::Pi0Algo::fillPi0sUsingPF(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), HLTPi0RecHitsFilter::filter(), EgammaProbeSelector::filter(), HiggsToZZ4LeptonsSkim::filter(), ClusterMultiplicityFilter::filter(), EcalSkim::filter(), HeavyChHiggsToTauNuSkim::filter(), RoadSearchEventFilter::filter(), HiggsToWW2LeptonsSkim::filter(), HiggsTo2GammaSkim::filter(), RPCTriggerFilter::filter(), L1MuGMTPSB::getCalo(), Multi5x5SuperClusterProducer::getClusterRefVector(), SuperClusterProducer::getClusterRefVector(), IslandClusterProducer::getCollection(), Multi5x5ClusterProducer::getCollection(), CosmicClusterProducer::getCollection(), EgammaHLTIslandClusterProducer::getCollection(), EgammaHLTMulti5x5ClusterProducer::getCollection(), EcalSelectiveReadoutProducer::getEBDigis(), EcalClusterLazyTools::getEBRecHits(), EcalSelectiveReadoutProducer::getEEDigis(), EcalClusterLazyTools::getEERecHits(), EgHLTOffHelper::getHandles(), HoECalculator::getHoE(), KVFTest::getSimVertex(), KineExample::getSimVertex(), EcalSimRawData::getTp(), EcalSelectiveReadoutProducer::getTrigPrims(), CosmicClusterProducer::getUCollection(), EcalEndcapRecHitsMaker::loadPCaloHits(), EcalPreshowerRecHitsMaker::loadPCaloHits(), EcalBarrelRecHitsMaker::loadPCaloHits(), HcalRecHitsMaker::loadPCaloHits(), OptTOA::LoopOverJetTracksAssociation(), PhotonAnalyzer::makePizero(), L1EmulBias::ModifyCollection(), reco::modules::MCMatchCandRefSelector::newEvent(), edm::Handle< T >::operator *(), edm::Handle< GenericObject >::operator *(), edm::Handle< T >::operator->(), edm::Handle< GenericObject >::operator->(), EgammaHLTPixelMatchElectronAlgo::process(), L1Comparator::process(), GsfElectronAlgo::process(), SiStripDigitizer::produce(), EcalZeroSuppressionProducer::produce(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), NuclearTrackCorrector::produce(), cms::SimpleTrackListMerger::produce(), DeDxEstimatorProducer::produce(), PixelVertexProducerMedian::produce(), PixelTrackProducerWithZPos::produce(), LightPFTrackProducer::produce(), SiStripRegFEDSelector::produce(), cms::DigitizerFP420::produce(), NuclearInteractionEDProducer::produce(), L1HLTJetsMatching::produce(), L2MuonSeedGenerator::produce(), CSCSegmentProducer::produce(), EgammaHLTElectronTrackIsolationProducers::produce(), RPCPackingModule::produce(), SubdetFEDSelector::produce(), EcalTBDigiProducer::produce(), PFRecoTauProducer::produce(), EgammaHLTHcalIsolationDoubleConeProducers::produce(), RPCDigiProducer::produce(), HcalDigiProducer::produce(), GoodSeedProducer::produce(), RemainingClusterProducer::produce(), ElectronGSPixelSeedProducer::produce(), CSCTFPacker::produce(), AlCaGammaJetProducer::produce(), DTDigitizer::produce(), PFElecTkProducer::produce(), SiStripElectronAssociator::produce(), HybridClusterProducer::produce(), GctDigiToRaw::produce(), EgammaPhotonTkIsolationProducer::produce(), ECALRegFEDSelector::produce(), FakeTBEventHeaderProducer::produce(), EcalTBTDCRecInfoProducer::produce(), CSCRecHitDProducer::produce(), ESRecHitProducer::produce(), EgammaHLTHcalIsolationProducersRegional::produce(), PreshowerClusterShapeProducer::produce(), EcalChannelKiller::produce(), JetTagProducer::produce(), L1GlobalTriggerEvmRawToDigi::produce(), EgammaElectronTkIsolationProducer::produce(), ElectronRecalibSuperClusterAssociator::produce(), cms::HitReCalibrator::produce(), CSCDigiProducer::produce(), RoadSearchCloudMaker::produce(), HLTTauProducer::produce(), TevMuonProducer::produce(), EgammaHLTPhotonTrackIsolationProducersRegional::produce(), PreshowerClusterProducer::produce(), AlCaIsoTracksProducer::produce(), HcalSimpleAmplitudeZS::produce(), VZeroProducer::produce(), PFNuclearProducer::produce(), EgammaHLTEcalIsolationProducersRegional::produce(), EcalDigiProducer::produce(), RoadSearchTrackCandidateMaker::produce(), ElectronPixelSeedProducer::produce(), CSCTFTrackProducer::produce(), HcalDigiToRaw::produce(), TrackingTruthProducer::produce(), PFRecoTauTagInfoProducer::produce(), L2TauJetsProvider::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), QualityFilter::produce(), CaloRecoTauTagInfoProducer::produce(), EcalDeadChannelRecoveryProducers::produce(), RecHitFilter::produce(), L1GTDigiToRaw::produce(), HcalRealisticZS::produce(), EcalTBH2TDCRecInfoProducer::produce(), SiStripElectronProducer::produce(), EgammaElectronTkNumIsolationProducer::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), EcalTBHodoscopeRecInfoProducer::produce(), ConeIsolation::produce(), PFSimParticleProducer::produce(), TrackProducerWithSCAssociation::produce(), EgammaHLTHybridClusterProducer::produce(), L1GlobalTriggerRawToDigi::produce(), CastorDigiToRaw::produce(), EgammaPhotonTkNumIsolationProducer::produce(), cms::RoadSearchTrackListCleaner::produce(), CaloRecoTauProducer::produce(), PixelVertexProducer::produce(), CSCTriggerPrimitivesProducer::produce(), AlCaEcalHcalReadoutsProducer::produce(), HcalTBDigiProducer::produce(), EcalTrigPrimProducer::produce(), cms::CosmicTrackFinder::produce(), DeDxDiscriminatorProducer::produce(), SeedProducer::produce(), ConvBremSeedProducer::produce(), EgammaEcalIsolationProducer::produce(), cms::SiPixelDigitizer::produce(), CastorDigiProducer::produce(), RoadSearchSeedFinder::produce(), TrackAlgoCompareUtil::produce(), ImpactParameter::produce(), CSCTFCandidateProducer::produce(), PiZeroDiscriminatorProducer::produce(), EgammaTowerIsolationProducer::produce(), SiStripFineDelayHit::produce(), SiStripFineDelayHit::produceNoTracking(), L1MuGMTPSB::receiveData(), HcalDigiTester::reco(), edm::Ref< C, T, F >::Ref(), edm::RefProd< edm::OwnVector >::RefProd(), IsolationRegionAroundL3Muon::regions(), HITRegionalPixelSeedGenerator::regions(), L3MumuTrackingRegion::regions(), RPCHitAssociator::RPCHitAssociator(), RoadSearchCloudMakerAlgorithm::run(), GsfElectronAlgo::run(), GlobalGsfElectronAlgo::run(), TrackConfigSelector::select(), BTrackingParticleSelector::select(), TrackParticleSelector< Collection, Category >::select(), CSCBeamHaloConfigSelector::select(), CSCOverlapConfigSelector::select(), MuonConfigSelector::select(), SiStripCalTrackConfigSelector::select(), SingleEleCalibSelector::select(), SeedConfigSelector::select(), RecoTrackSelector::select(), TopLeptonTauFilter::tauFilter(), TrackerHitAssociator::TrackerHitAssociator(), MeasurementTracker::updatePixels(), MeasurementTracker::updateStrips(), DumpEvent::WriteElectrons(), DumpEvent::WriteJets(), DumpEvent::WriteMET(), DumpEvent::WriteMuons(), DumpEvent::WritePhotons(), and DumpEvent::WriteSCs().
00161 { 00162 if(failedToGet()) { 00163 throw *whyFailed_; 00164 } 00165 // Should we throw if the pointer is null? 00166 return prod_; 00167 }
Provenance const * Handle::provenance | ( | ) | const [inline] |
Definition at line 185 of file Handle.h.
References edm::Handle< T >::prov_.
Referenced by HLTBtagLifetimeAnalyzer::analyze(), GlobalHitsProdHistStripper::endRun(), GlobalHitsProdHist::fillG4MC(), GlobalHitsProducer::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), HLTJetTag::filter(), edm::Event::get(), edm::Event::getByLabel(), and edm::Event::getByType().
00186 { 00187 // Should we throw if the pointer is null? 00188 return prov_; 00189 }
Definition at line 126 of file Handle.h.
References edm::Handle< T >::id_, edm::Handle< T >::prod_, edm::Handle< T >::prov_, std::swap(), and edm::Handle< T >::whyFailed_.
Referenced by edm::convert_handle(), edm::Handle< GenericObject >::operator=(), edm::Handle< T >::operator=(), edm::swap(), and edm::Handle< GenericObject >::swap().
00127 { 00128 using std::swap; 00129 std::swap(prod_, other.prod_); 00130 std::swap(prov_, other.prov_); 00131 swap(id_, other.id_); 00132 swap(whyFailed_,other.whyFailed_); 00133 }
ProductID edm::Handle< T >::id_ [private] |
Definition at line 79 of file Handle.h.
Referenced by edm::Handle< GenericObject >::clear(), edm::Handle< T >::clear(), edm::Handle< GenericObject >::Handle(), edm::Handle< GenericObject >::id(), edm::Handle< T >::id(), edm::Handle< T >::swap(), and edm::Handle< GenericObject >::swap().
T const* edm::Handle< T >::prod_ [private] |
Definition at line 77 of file Handle.h.
Referenced by edm::Handle< T >::clear(), edm::Handle< T >::Handle(), edm::Handle< GenericObject >::Handle(), edm::Handle< T >::isValid(), edm::Handle< GenericObject >::isValid(), edm::Handle< GenericObject >::product(), edm::Handle< T >::product(), edm::Handle< T >::swap(), and edm::Handle< GenericObject >::swap().
Provenance const* edm::Handle< T >::prov_ [private] |
Definition at line 78 of file Handle.h.
Referenced by edm::Handle< GenericObject >::clear(), edm::Handle< T >::clear(), edm::Handle< T >::Handle(), edm::Handle< GenericObject >::Handle(), edm::Handle< T >::isValid(), edm::Handle< GenericObject >::isValid(), edm::Handle< T >::provenance(), edm::Handle< GenericObject >::provenance(), edm::Handle< T >::swap(), and edm::Handle< GenericObject >::swap().
boost::shared_ptr<cms::Exception> edm::Handle< T >::whyFailed_ [private] |
Definition at line 80 of file Handle.h.
Referenced by edm::Handle< GenericObject >::clear(), edm::Handle< T >::clear(), edm::Handle< GenericObject >::failedToGet(), edm::Handle< T >::failedToGet(), edm::Handle< GenericObject >::product(), edm::Handle< T >::product(), edm::Handle< GenericObject >::setWhyFailed(), edm::Handle< T >::swap(), and edm::Handle< GenericObject >::swap().