CMS 3D CMS Logo

Public Types | Public Member Functions

edm::Handle< T > Class Template Reference

#include <Handle.h>

Inheritance diagram for edm::Handle< T >:
edm::HandleBase

List of all members.

Public Types

typedef T element_type

Public Member Functions

 Handle ()
 Handle (T const *prod, Provenance const *prov)
 Handle (boost::shared_ptr< cms::Exception > const &)
T const & operator* () const
T const * operator-> () const
T const * product () const
 ~Handle ()

Detailed Description

template<typename T>
class edm::Handle< T >

Definition at line 35 of file Handle.h.


Member Typedef Documentation

template<typename T>
typedef T edm::Handle< T >::element_type

Definition at line 37 of file Handle.h.


Constructor & Destructor Documentation

template<class T >
Handle::Handle ( )

Definition at line 56 of file Handle.h.

                    : HandleBase()
  { }
template<class T>
Handle::Handle ( T const *  prod,
Provenance const *  prov 
)

Definition at line 60 of file Handle.h.

                                                         : HandleBase(prod, prov) { 
  }
template<class T>
Handle::Handle ( boost::shared_ptr< cms::Exception > const &  iWhyFailed)

Definition at line 64 of file Handle.h.

                                                                     :
    HandleBase(iWhyFailed)
  { }
template<class T >
Handle::~Handle ( )

Definition at line 70 of file Handle.h.

{}

Member Function Documentation

template<class T >
T const & Handle::operator* ( ) const

Definition at line 86 of file Handle.h.

                             {
    return *product();
  }
template<class T >
T const * Handle::operator-> ( ) const

Definition at line 80 of file Handle.h.

                              {
    return product();
  }
template<class T >
T const * Handle::product ( ) const

Definition at line 74 of file Handle.h.

References compareJSON::const.

Referenced by edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalWorker::addHcalSignals(), edm::DataMixingMuonWorker::addMuonSignals(), GsfElectronAlgo::addPflowInfo(), edm::MixingWorker< T >::addSignals(), edm::DataMixingSiStripRawWorker::addSiStripSignals(), SiStripQualityHotStripIdentifier::algoAnalyze(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), METTester::analyze(), ElectronMcFakeValidator::analyze(), HiggsToZZ4LeptonsSkimEff::analyze(), JetMETAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), ElectronAnalyzer::analyze(), L1TGMT::analyze(), CastorDigiAnalyzer::analyze(), PrimaryVertexAnalyzer4PU::analyze(), PhotonValidator::analyze(), EcalPreshowerDigisValidation::analyze(), BTagPerformanceAnalyzerOnData::analyze(), HLTAlCaMonPi0::analyze(), IsolatedTracksHcalScale::analyze(), ValidationMisalignedTracker::analyze(), GsfElectronDataAnalyzer::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), TauTagValidation::analyze(), GenericBenchmarkAnalyzer::analyze(), EcalEndcapRecHitsValidation::analyze(), EgammaBasicClusters::analyze(), EERecoSummary::analyze(), AlCaElectronsTest::analyze(), EcalTestPulseAnalyzer::analyze(), CSCTFAnalyzer::analyze(), dimuonHLTFilterCheck::analyze(), BeamHaloAnalyzer::analyze(), ESRecoSummary::analyze(), EBClusterTaskExtras::analyze(), HcalIsoTrkAnalyzer::analyze(), EcnaAnalyzer::analyze(), KVFTest::analyze(), HcalDigiAnalyzer::analyze(), MixCollectionValidation::analyze(), DQMHcalPhiSymAlCaReco::analyze(), SiPixelHitEfficiencySource::analyze(), RPCFEDIntegrity::analyze(), EBBeamHodoTask::analyze(), MultiTrackValidator::analyze(), BTagPerformanceAnalyzerMC::analyze(), EcalRecHitsValidation::analyze(), ErsatzMEt::analyze(), TopElectronHLTOfflineSource::analyze(), ElectronGeneralAnalyzer::analyze(), L1Scalers::analyze(), SiPixelTrackResidualSource::analyze(), L1TRPCTPG::analyze(), EBBeamCaloTask::analyze(), EcalTBTDCRawInfoDumper::analyze(), HcalHitAnalyzer::analyze(), JPTJetTester::analyze(), JetMETHLTOfflineSource::analyze(), SiStripMonitorCluster::analyze(), L1TdeCSCTF::analyze(), HcalCorrPFCalculation::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), EcalDigisValidation::analyze(), RECOVertex::analyze(), CaloMETAnalyzer::analyze(), PhotonAnalyzer::analyze(), HcalDetDiagTimingMonitor::analyze(), DTCalibValidation::analyze(), SiPixelErrorEstimation::analyze(), ElectronMcSignalValidator::analyze(), EgammaSuperClusters::analyze(), WenuPlots::analyze(), SiStripCommissioningSource::analyze(), TopDiLeptonDQM::analyze(), EEBeamHodoTask::analyze(), EcalCosmicsHists::analyze(), EcalMatacqAnalyzer::analyze(), SiPixelTrackingRecHitsValid::analyze(), PFTester::analyze(), MuonTrackValidator::analyze(), EcalEndcapDigisValidation::analyze(), CSCSegmentValidation::analyze(), SUSYDQMAnalyzer::analyze(), PFMETAnalyzer::analyze(), EBRecoSummary::analyze(), SiStripMonitorDigi::analyze(), EEBeamCaloTask::analyze(), AlcaBeamMonitor::analyze(), HitEff::analyze(), cms::ProducerAnalyzer::analyze(), EcalStatusAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), GsfElectronMCFakeAnalyzer::analyze(), TrackingTruthValid::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), ContainmentCorrectionAnalyzer::analyze(), HLTAlCa::analyze(), GenPurposeSkimmerData::analyze(), ElectronTagProbeAnalyzer::analyze(), EEClusterTaskExtras::analyze(), RPCMonitorRaw::analyze(), ZeePlots::analyze(), ElectronSeedAnalyzer::analyze(), MuCorrMETAnalyzer::analyze(), L1TRPCTF::analyze(), IsolatedTracksCone::analyze(), cms::GammaJetAnalysis::analyze(), EcalPreshowerRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), BjetAnalysis::analyze(), DQMSourceEleCalib::analyze(), QcdPhotonsDQM::analyze(), HcalDeadCellMonitor::analyze(), HcalTimingMonitorModule::analyze(), GsfElectronMCAnalyzer::analyze(), TestTrackHits::analyze(), RecoMuonValidator::analyze(), PFJetTester::analyze(), EcalTBValidation::analyze(), METAnalyzer::analyze(), RPCMonitorLinkSynchro::analyze(), EEClusterTask::analyze(), EcalTPGAnalyzer::analyze(), IsolatedTracksNxN::analyze(), SimplePi0DiscAnalyzer::analyze(), CaloJetTester::analyze(), TPGCheck::analyze(), CSCRecHit2DValidation::analyze(), CSCTFanalyzer::analyze(), EwkDQM::analyze(), L1TCSCTF::analyze(), EBClusterTask::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), DQMAnalyzer::analyze(), QcdUeDQM::analyze(), HiggsDQM::analyze(), L1TDTTF::analyze(), BeamMonitor::analyze(), EcalMixingModuleValidation::analyze(), DTRecHitQuality::analyze(), TcMETAnalyzer::analyze(), DQMSourcePi0::analyze(), SiStripSpyMonitorModule::analyze(), GsfElectronFakeAnalyzer::analyze(), myJetAna::analyze(), CastorHitAnalyzer::analyze(), edm::TestMixedSource::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), TrackAssociatorByHits::associateRecoToSim(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByHits::associateSimToReco(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), QuickTrackAssociatorByHits::associateTrack(), GsfElectronAlgo::beginEvent(), LHE2HepMCConverter::beginRun(), ConversionTrackCandidateProducer::buildCollections(), ConvertedPhotonProducer::buildCollections(), pat::LeptonVertexSignificance::calculate(), CSCHaloAlgo::Calculate(), EcalHaloAlgo::Calculate(), pat::LeptonJetIsolationAngle::calculate(), PhotonIsolationCalculator::calculateEcalRecHitIso(), PhotonIsolationCalculator::calculateHcalTowerIso(), GsfElectronAlgo::calculateShowerShape(), TCMETAlgo::CalculateTCMET(), PhotonIsolationCalculator::calculateTrackIso(), FWBeamSpot::checkBeamSpot(), GsfElectronAlgo::ElectronData::checkCtfTrack(), GsfElectronAlgo::clonePreviousElectrons(), L1Comparator::compareCollections(), GsfElectronAlgo::completeElectrons(), CxCalculator::CxCalculator(), EcalCosmicsHists::determineTriggers(), RPCTTUMonitor::discriminateGMT(), HLTTauRefProducer::doElectrons(), Tau3MuReco::doTau3MuReco(), DTHitAssociator::DTHitAssociator(), EcalEleCalibLooper::duringLoop(), InvRingCalib::duringLoop(), spr::eECALmatrix(), MuonCosmicCompatibilityFiller::eventActivity(), PSimHitMap::fill(), HcalSignalGenerator< HBHEDigitizerTraits >::fill(), egHLT::OffHelper::fillClusShapeData(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), GlobalDigisProducer::fillECal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), egHLT::OffHelper::fillIsolData(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), PhotonProducer::fillPhotonCollection(), QcdLowPtDQM::fillPixelClusterInfos(), QcdLowPtDQM::fillPixels(), QcdUeDQM::fillVtxPlots(), EcalExclusiveTrigFilter::filter(), ZeeCandidateFilter::filter(), EgammaProbeSelector::filter(), GoodVertexFilter::filter(), CSCEfficiency::filter(), HSCPTreeBuilder::filter(), HiggsToZZ4LeptonsSkim::filter(), WZInterestingEventSelector::filter(), HSCParticleSelector::filter(), PhysDecl::filter(), EcalSkim::filter(), ClusterMultiplicityFilter::filter(), PFJetFilter::filter(), HeavyChHiggsToTauNuSkim::filter(), FilterScrapingPixelProbability::filter(), BeamSplash::filter(), PFMETFilter::filter(), HiggsToWW2LeptonsSkim::filter(), RoadSearchEventFilter::filter(), RecHitEnergyFilter::filter(), HLTEcalResonanceFilter::filter(), SecondaryVertexFilter::filter(), ECALActivity::filter(), MuScleFitGenFilter::filter(), reco::CentralityProducer::filter(), PFFilter::filter(), myFilter::filter(), HiggsTo2GammaSkim::filter(), FilterOutScraping::filter(), triggerExpression::get(), L1MuGMTPSB::getCalo(), Multi5x5SuperClusterProducer::getClusterPtrVector(), SuperClusterProducer::getClusterPtrVector(), HiSuperClusterProducer::getClusterPtrVector(), IslandClusterProducer::getCollection(), Multi5x5ClusterProducer::getCollection(), CosmicClusterProducer::getCollection(), EgammaHLTIslandClusterProducer::getCollection(), EgammaHLTMulti5x5ClusterProducer::getCollection(), ConversionFinder::getConversionInfo(), ConversionFinder::getConversionInfos(), EcalSelectiveReadoutProducer::getEBDigis(), EcalClusterLazyTools::getEBRecHits(), EcalClusterPUCleaningTools::getEBRecHits(), EcalSelectiveReadoutProducer::getEEDigis(), EcalClusterLazyTools::getEERecHits(), EcalClusterPUCleaningTools::getEERecHits(), EcalClusterLazyTools::getESRecHits(), egHLT::OffHelper::getHandle(), HoECalculator::getHoE(), PhotonMIPHaloTagger::GetMipTrailFit(), PrimaryVertexAnalyzer4PU::getSimEvents(), KVFTest::getSimVertex(), KineExample::getSimVertex(), EcalSimRawData::getTp(), EcalSelectiveReadoutProducer::getTrigPrims(), CosmicClusterProducer::getUCollection(), McSelector::handleObjects(), RecoSelector::handleObjects(), LeptonRecoSkim::handleObjects(), HiPhotonType::HiPhotonType(), HLTTrackSeedMultiplicityFilter::hltFilter(), HLTHcalNoiseFilter::hltFilter(), HLTLevel1GTSeed::hltFilter(), HLTSingleVertexPixelTrackFilter::hltFilter(), HLTPixelClusterShapeFilter::hltFilter(), HLTHiggsSubAnalysis::initobjects(), CosmicSplitterValidation::is_gold_muon(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), egHLT::OffEvt::jets(), JetPlusTrackCorrector::jtaUsingEventData(), EcalEndcapRecHitsMaker::loadPCaloHits(), EcalPreshowerRecHitsMaker::loadPCaloHits(), EcalBarrelRecHitsMaker::loadPCaloHits(), HcalRecHitsMaker::loadPCaloHits(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), main(), DQMProvInfo::makeGtInfo(), DQMDcsInfo::makeGtInfo(), EcalDisplaysByEvent::makeHistos(), PiZeroAnalyzer::makePizero(), L1EmulBias::ModifyCollection(), MuonTruth::MuonTruth(), reco::modules::MCMatchCandRefSelector::newEvent(), edm::Handle< GenericObject >::operator*(), edm::Handle< FWGenericObject >::operator*(), edm::Handle< FWGenericObject >::operator->(), edm::Handle< GenericObject >::operator->(), SiStripElectronAlgo::prepareEvent(), PlotRecHits::printPixelRecHits(), PlotRecTracks::printRecTracks(), PlotSimTracks::printSimTracks(), ErsatzMEt::probeFinder(), L1Comparator::process(), JetTracksAssociatorAtVertex::produce(), EcalZeroSuppressionProducer::produce(), SiStripDigitizer::produce(), SiStripRegFEDSelector::produce(), AlCaHcalNoiseProducer::produce(), PFPhotonTranslator::produce(), LightPFTrackProducer::produce(), PixelVertexProducerClusters::produce(), PixelVertexProducerMedian::produce(), DeDxEstimatorProducer::produce(), cms::SimpleTrackListMerger::produce(), NuclearTrackCorrector::produce(), RPCPackingModule::produce(), SubdetFEDSelector::produce(), EcalDigiSelector::produce(), EgammaHLTElectronTrackIsolationProducers::produce(), EgammaHLTNxNClusterProducer::produce(), CSCSegmentProducer::produce(), L2MuonSeedGenerator::produce(), NuclearInteractionEDProducer::produce(), edm::CFWriter::produce(), cms::Type1MET::produce(), cms::TauMET::produce(), SiClusterTranslator::produce(), GenParticleProducer::produce(), EgammaHLTHcalIsolationDoubleConeProducers::produce(), HIPixelClusterVtxProducer::produce(), reco::GlobalHaloDataProducer::produce(), PFRecoTauProducer::produce(), PileupInformation::produce(), CSCTFPacker::produce(), GoodSeedProducer::produce(), RPCDigiProducer::produce(), sistrip::FEDEmulatorModule::produce(), ECALRegFEDSelector::produce(), HybridClusterProducer::produce(), SiStripElectronAssociator::produce(), EgammaPhotonTkIsolationProducer::produce(), ConversionTrackMerger::produce(), EcalCompactTrigPrimProducer::produce(), PFElecTkProducer::produce(), DTDigitizer::produce(), L1GlobalTriggerEvmRawToDigi::produce(), sistrip::SpyDigiConverterModule::produce(), cms::HitReCalibrator::produce(), ElectronRecalibSuperClusterAssociator::produce(), JetTagProducer::produce(), PreshowerClusterShapeProducer::produce(), GsfElectronCoreProducer::produce(), EgammaHLTHcalIsolationProducersRegional::produce(), EgammaElectronTkIsolationProducer::produce(), ESRecHitProducer::produce(), CSCRecHitDProducer::produce(), EcalTBTDCRecInfoProducer::produce(), FakeTBEventHeaderProducer::produce(), AlCaIsoTracksProducer::produce(), PreshowerClusterProducer::produce(), ElectronSeedProducer::produce(), EgammaHLTPhotonTrackIsolationProducersRegional::produce(), TevMuonProducer::produce(), RoadSearchCloudMaker::produce(), CSCDigiProducer::produce(), EgammaHLTEcalIsolationProducersRegional::produce(), PFNuclearProducer::produce(), VZeroProducer::produce(), HcalSimpleAmplitudeZS::produce(), CSCTFTrackProducer::produce(), FastElectronSeedProducer::produce(), HcalDigiToRaw::produce(), ElectronSqPtTkIsolationProducer::produce(), cms::MuonMET::produce(), RoadSearchTrackCandidateMaker::produce(), EcalDigiProducer::produce(), HcalCalibFEDSelector::produce(), UncleanSCRecoveryProducer::produce(), ElectronSeedMerger::produce(), PFRecoTauTagInfoProducer::produce(), TrackingTruthProducer::produce(), L1GTDigiToRaw::produce(), RecHitFilter::produce(), EgammaHLTBcHcalIsolationProducersRegional::produce(), cms::MuonTCMETValueMapProducer::produce(), CaloRecoTauTagInfoProducer::produce(), TCRecoTauProducer::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), BSCTrigger::produce(), SiStripElectronProducer::produce(), EgammaHLTEcalRecIsolationProducer::produce(), EgammaElectronTkNumIsolationProducer::produce(), EvtPlaneProducer::produce(), TopBottomClusterInfoProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), HcalTrigPrimDigiProducer::produce(), HcalRealisticZS::produce(), L1GlobalTriggerRawToDigi::produce(), CastorDigiToRaw::produce(), pat::PATConversionProducer::produce(), EgammaHLTHybridClusterProducer::produce(), EgammaPhotonTkNumIsolationProducer::produce(), TrackProducerWithSCAssociation::produce(), reco::BeamHaloSummaryProducer::produce(), PFSimParticleProducer::produce(), EcalTBHodoscopeRecInfoProducer::produce(), HcalDigitizer::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), CSCTriggerPrimitivesProducer::produce(), EnergyLossProducer::produce(), ReducedESRecHitCollectionProducer::produce(), GsfElectronCoreEcalDrivenProducer::produce(), HIBestVertexProducer::produce(), EcalRecHitProducer::produce(), PixelVertexProducer::produce(), CaloRecoTauProducer::produce(), cms::RoadSearchTrackListCleaner::produce(), SoftPFElectronProducer::produce(), ConvBremSeedProducer::produce(), PFTrackProducer::produce(), DeDxDiscriminatorProducer::produce(), DeDxEstimatorProducerPixelTripplet::produce(), cms::CosmicTrackFinder::produce(), EcalTrigPrimProducer::produce(), HcalTBDigiProducer::produce(), CSCTFCandidateProducer::produce(), PiZeroDiscriminatorProducer::produce(), SiStripFineDelayHit::produce(), EgammaTowerIsolationProducer::produce(), HIPixelMedianVtxProducer::produce(), FixedGridRhoProducer::produce(), ImpactParameter::produce(), TrackAlgoCompareUtil::produce(), RoadSearchSeedFinder::produce(), CastorDigiProducer::produce(), cms::SiPixelDigitizer::produce(), SiStripFineDelayHit::produceNoTracking(), MuonCosmicCompatibilityFiller::pvMatches(), CentralityProvider::raw(), ElectronHcalHelper::readEvent(), BeamFitter::readEvent(), AlcaBeamSpotManager::readLumi(), L1MuGMTPSB::receiveData(), HcalDigiTester::reco(), edm::Ref< C, T, F >::Ref(), edm::RefProd< TrackingRecHitCollection >::RefProd(), IsolationRegionAroundL3Muon::regions(), HITRegionalPixelSeedGenerator::regions(), L3MumuTrackingRegion::regions(), RunManager::resetGenParticleId(), CutsIsolatorWithCorrection::result(), L1RetrieveL1Extra::retrieveL1ExtraObjects(), L1GtUtils::retrieveL1GtTriggerMenuLite(), CutBasedElectronID::robustSelection(), RPCHitAssociator::RPCHitAssociator(), EcalRecHitWorkerRecover::run(), RoadSearchCloudMakerAlgorithm::run(), ConvBremPFTrackFinder::runConvBremFinder(), RxCalculator::RxCalculator(), SeedFilter::seeds(), TrackConfigSelector::select(), MuonPSimHitSelector::select(), PixelPSimHitSelector::select(), RecoTrackRefSelector::select(), TrackerPSimHitSelector::select(), SiStripCalTrackConfigSelector::select(), MuonConfigSelector::select(), CSCOverlapConfigSelector::select(), CSCBeamHaloConfigSelector::select(), PSimHitSelector::select(), SingleEleCalibSelector::select(), HIProtoTrackSelector::select(), SeedConfigSelector::select(), CosmicTrackingParticleSelector::select(), HitPixelLayersTPSelector::select(), RecoTrackSelector::select(), CSCTrackConfigSelector::select(), MuScleFitMuonSelector::selectGenSimMuons(), GsfElectronAlgo::setAmbiguityData(), egHLT::OffHelper::setTrigInfo(), FWECALDetailViewBuilder::showSuperClusters(), TrackerHitAssociator::TrackerHitAssociator(), egHLT::OffHelper::trigEvt(), edm::Event::triggerResultsByName(), uniqueElectronFinder(), HIPixelTrackFilter::update(), HIProtoTrackFilter::update(), MeasurementTrackerImpl::updatePixels(), and MeasurementTrackerImpl::updateStrips().

                           { 
    return static_cast<T const*>(productStorage());
  }