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(), HiggsToZZ4LeptonsSkimEff::analyze(), L1TGMT::analyze(), ElectronAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), JetMETAnalyzer::analyze(), CastorDigiAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), METTester::analyze(), ValidationMisalignedTracker::analyze(), IsolatedTracksHcalScale::analyze(), HLTAlCaMonPi0::analyze(), BTagPerformanceAnalyzerOnData::analyze(), GsfElectronDataAnalyzer::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), EcalPreshowerDigisValidation::analyze(), PhotonValidator::analyze(), PrimaryVertexAnalyzer4PU::analyze(), EcalTestPulseAnalyzer::analyze(), AlCaElectronsTest::analyze(), EgammaBasicClusters::analyze(), EcalEndcapRecHitsValidation::analyze(), GenericBenchmarkAnalyzer::analyze(), TauTagValidation::analyze(), EcnaAnalyzer::analyze(), HcalIsoTrkAnalyzer::analyze(), EBClusterTaskExtras::analyze(), BeamHaloAnalyzer::analyze(), dimuonHLTFilterCheck::analyze(), CSCTFAnalyzer::analyze(), KVFTest::analyze(), HcalDigiAnalyzer::analyze(), EBBeamHodoTask::analyze(), RPCFEDIntegrity::analyze(), SiPixelHitEfficiencySource::analyze(), DQMHcalPhiSymAlCaReco::analyze(), MixCollectionValidation::analyze(), EBBeamCaloTask::analyze(), L1TRPCTPG::analyze(), SiPixelTrackResidualSource::analyze(), L1Scalers::analyze(), ElectronGeneralAnalyzer::analyze(), TopElectronHLTOfflineSource::analyze(), ErsatzMEt::analyze(), EcalTBTDCRawInfoDumper::analyze(), HcalHitAnalyzer::analyze(), EcalRecHitsValidation::analyze(), BTagPerformanceAnalyzerMC::analyze(), MultiTrackValidator::analyze(), EcalABAnalyzer::analyze(), EcalLaserAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), L1TdeCSCTF::analyze(), SiStripMonitorCluster::analyze(), JetMETHLTOfflineSource::analyze(), JPTJetTester::analyze(), RECOVertex::analyze(), SiPixelErrorEstimation::analyze(), DTCalibValidation::analyze(), HcalDetDiagTimingMonitor::analyze(), PhotonAnalyzer::analyze(), CaloMETAnalyzer::analyze(), EcalDigisValidation::analyze(), EcalMatacqAnalyzer::analyze(), EcalCosmicsHists::analyze(), EEBeamHodoTask::analyze(), TopDiLeptonDQM::analyze(), SiStripCommissioningSource::analyze(), WenuPlots::analyze(), EgammaSuperClusters::analyze(), ElectronMcSignalValidator::analyze(), EcalLaserAnalyzer2::analyze(), EcalStatusAnalyzer::analyze(), cms::ProducerAnalyzer::analyze(), HitEff::analyze(), AlcaBeamMonitor::analyze(), EEBeamCaloTask::analyze(), SiStripMonitorDigi::analyze(), PFMETAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), CSCSegmentValidation::analyze(), EcalEndcapDigisValidation::analyze(), MuonTrackValidator::analyze(), PFTester::analyze(), SiPixelTrackingRecHitsValid::analyze(), HLTAlCa::analyze(), ZeePlots::analyze(), RPCMonitorRaw::analyze(), EEClusterTaskExtras::analyze(), ElectronTagProbeAnalyzer::analyze(), GenPurposeSkimmerData::analyze(), ElectronSeedAnalyzer::analyze(), ContainmentCorrectionAnalyzer::analyze(), EcalPreshowerNoiseDistrib::analyze(), EcalBarrelRecHitsValidation::analyze(), HcalRecHitsValidation::analyze(), TrackingTruthValid::analyze(), cms::GammaJetAnalysis::analyze(), IsolatedTracksCone::analyze(), L1TRPCTF::analyze(), MuCorrMETAnalyzer::analyze(), HcalTimingMonitorModule::analyze(), QcdPhotonsDQM::analyze(), DQMSourceEleCalib::analyze(), BjetAnalysis::analyze(), GsfElectronMCAnalyzer::analyze(), TestTrackHits::analyze(), EcalBarrelDigisValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), DQMHcalPhiSymHLT::analyze(), IsolatedTracksNxN::analyze(), EcalTPGAnalyzer::analyze(), EEClusterTask::analyze(), RPCMonitorLinkSynchro::analyze(), METAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), EcalTBValidation::analyze(), PFJetTester::analyze(), RecoMuonValidator::analyze(), CSCTFanalyzer::analyze(), HaloTrigger::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), EBClusterTask::analyze(), L1TCSCTF::analyze(), EwkDQM::analyze(), DQMAnalyzer::analyze(), CSCRecHit2DValidation::analyze(), TPGCheck::analyze(), CaloJetTester::analyze(), BeamMonitor::analyze(), L1TDTTF::analyze(), HiggsDQM::analyze(), QcdUeDQM::analyze(), SiStripSpyMonitorModule::analyze(), DQMSourcePi0::analyze(), TcMETAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), myJetAna::analyze(), CastorHitAnalyzer::analyze(), edm::TestMixedSource::analyze(), DTRecHitQuality::analyze(), EcalMixingModuleValidation::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), TrackAssociatorByHits::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSimIndices(), TrackAssociatorByHits::associateSimToReco(), GsfElectronAlgo::beginEvent(), 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(), PFPhotonTranslator::createPhotons(), 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(), GlobalDigisProducer::fillECal(), GlobalRecHitsProducer::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(), HLTPi0RecHitsFilter::filter(), HLTHcalNoiseFilter::filter(), EcalExclusiveTrigFilter::filter(), HLTSingleVertexPixelTrackFilter::filter(), ZeeCandidateFilter::filter(), GoodVertexFilter::filter(), EgammaProbeSelector::filter(), CSCEfficiency::filter(), HSCPTreeBuilder::filter(), HiggsToZZ4LeptonsSkim::filter(), WZInterestingEventSelector::filter(), HSCParticleSelector::filter(), HLTTrackSeedMultiplicityFilter::filter(), EcalSkim::filter(), PhysDecl::filter(), ClusterMultiplicityFilter::filter(), PFJetFilter::filter(), HLTPixelClusterShapeFilter::filter(), HeavyChHiggsToTauNuSkim::filter(), BeamSplash::filter(), FilterScrapingPixelProbability::filter(), HiggsToWW2LeptonsSkim::filter(), RoadSearchEventFilter::filter(), PFMETFilter::filter(), RecHitEnergyFilter::filter(), HLTEcalResonanceFilter::filter(), ECALActivity::filter(), SecondaryVertexFilter::filter(), MuScleFitGenFilter::filter(), reco::CentralityProducer::filter(), PFFilter::filter(), myFilter::filter(), HLTLevel1GTSeed::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(), EcalSelectiveReadoutProducer::getEEDigis(), EcalClusterLazyTools::getEERecHits(), egHLT::OffHelper::getHandle(), HoECalculator::getHoE(), PrimaryVertexAnalyzer4PU::getSimEvents(), KVFTest::getSimVertex(), KineExample::getSimVertex(), EcalSimRawData::getTp(), EcalSelectiveReadoutProducer::getTrigPrims(), CosmicClusterProducer::getUCollection(), McSelector::handleObjects(), RecoSelector::handleObjects(), LeptonRecoSkim::handleObjects(), HiPhotonType::HiPhotonType(), 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(), EgammaHLTPixelMatchElectronAlgo::process(), EcalZeroSuppressionProducer::produce(), SiStripDigitizer::produce(), AlCaHcalNoiseProducer::produce(), SiStripRegFEDSelector::produce(), PFPhotonTranslator::produce(), LightPFTrackProducer::produce(), PixelVertexProducerClusters::produce(), PixelVertexProducerMedian::produce(), DeDxEstimatorProducer::produce(), cms::SimpleTrackListMerger::produce(), NuclearTrackCorrector::produce(), cms::TrackListMerger::produce(), SubdetFEDSelector::produce(), RPCPackingModule::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(), EcalTBDigiProducer::produce(), PileupInformation::produce(), CSCTFPacker::produce(), GoodSeedProducer::produce(), RPCDigiProducer::produce(), ECALRegFEDSelector::produce(), sistrip::FEDEmulatorModule::produce(), HybridClusterProducer::produce(), SiStripElectronAssociator::produce(), EgammaPhotonTkIsolationProducer::produce(), ConversionTrackMerger::produce(), EcalCompactTrigPrimProducer::produce(), PFElecTkProducer::produce(), DTDigitizer::produce(), ElectronRecalibSuperClusterAssociator::produce(), cms::HitReCalibrator::produce(), sistrip::SpyDigiConverterModule::produce(), L1GlobalTriggerEvmRawToDigi::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(), ElectronSqPtTkIsolationProducer::produce(), HcalDigiToRaw::produce(), FastElectronSeedProducer::produce(), cms::MuonMET::produce(), RoadSearchTrackCandidateMaker::produce(), EcalDigiProducer::produce(), HcalCalibFEDSelector::produce(), UncleanSCRecoveryProducer::produce(), ElectronSeedMerger::produce(), PFRecoTauTagInfoProducer::produce(), TrackingTruthProducer::produce(), L1GTDigiToRaw::produce(), RecHitFilter::produce(), cms::MuonTCMETValueMapProducer::produce(), CaloRecoTauTagInfoProducer::produce(), TCRecoTauProducer::produce(), QualityFilter::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), BSCTrigger::produce(), SiStripElectronProducer::produce(), EgammaElectronTkNumIsolationProducer::produce(), TopBottomClusterInfoProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), HcalTrigPrimDigiProducer::produce(), HcalRealisticZS::produce(), CastorDigiToRaw::produce(), L1GlobalTriggerRawToDigi::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(), SiStripFineDelayHit::produce(), PiZeroDiscriminatorProducer::produce(), EgammaTowerIsolationProducer::produce(), HIPixelMedianVtxProducer::produce(), ImpactParameter::produce(), TrackAlgoCompareUtil::produce(), RoadSearchSeedFinder::produce(), CastorDigiProducer::produce(), cms::SiPixelDigitizer::produce(), SiStripFineDelayHit::produceNoTracking(), MuonCosmicCompatibilityFiller::pvMatches(), CentralityProvider::raw(), ElectronHcalHelper::readEvent(), BeamFitter::readEvent(), PVFitter::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(), 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(), CSCBeamHaloConfigSelector::select(), CSCOverlapConfigSelector::select(), MuonConfigSelector::select(), SiStripCalTrackConfigSelector::select(), PSimHitSelector::select(), SingleEleCalibSelector::select(), HIProtoTrackSelector::select(), SeedConfigSelector::select(), CosmicTrackingParticleSelector::select(), HitPixelLayersTPSelector::select(), CSCTrackConfigSelector::select(), RecoTrackSelector::select(), MuScleFitMuonSelector::selectGenSimMuons(), GsfElectronAlgo::setAmbiguityData(), egHLT::OffHelper::setTrigInfo(), FWECALDetailViewBuilder::showSuperClusters(), TopLeptonTauFilter::tauFilter(), TrackerHitAssociator::TrackerHitAssociator(), egHLT::OffHelper::trigEvt(), edm::Event::triggerResultsByName(), uniqueElectronFinder(), HIPixelTrackFilter::update(), HIProtoTrackFilter::update(), MeasurementTracker::updatePixels(), and OnDemandMeasurementTracker::updateStrips().

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