CMS 3D CMS Logo

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< BxSumsOrbitCollection > edm::Handle< BXVector > edm::Handle< BXVector< GlobalAlgBlk > > edm::Handle< BXVector< l1t::Jet > > edm::Handle< C1 > edm::Handle< ConsumeType > edm::Handle< CSCALCTDigiCollection > edm::Handle< CSCCLCTDigiCollection > edm::Handle< CSCComparatorDigiCollection > edm::Handle< CSCCorrelatedLCTDigiCollection > edm::Handle< CSCRecHit2DCollection > edm::Handle< CSCSegmentCollection > edm::Handle< CSCStripDigiCollection > edm::Handle< CSCWireDigiCollection > edm::Handle< double > edm::Handle< DTDigiCollection > edm::Handle< DTRecHitCollection > edm::Handle< DTRecSegment4DCollection > edm::Handle< EBDigiCollection > edm::Handle< edm::Association< VertexCollection > > edm::Handle< edm::AssociationMap > edm::Handle< edm::AssociationVector > edm::Handle< edm::DetSetVector< GEMDigiSimLink > > edm::Handle< edm::DetSetVector< PixelDigiSimLink > > edm::Handle< edm::DetSetVector< RPCDigiSimLink > > edm::Handle< edm::DetSetVector< StripDigiSimLink > > edm::Handle< edm::HepMCProduct > edm::Handle< edm::PSimHitContainer > edm::Handle< edm::Ref > edm::Handle< edm::RefVector > edm::Handle< edm::SimTrackContainer > edm::Handle< edm::SimVertexContainer > edm::Handle< edm::SortedCollection > edm::Handle< edm::TriggerResults > edm::Handle< edm::ValueMap > edm::Handle< edm::ValueMap< float > > edm::Handle< edm::ValueMap< int > > edm::Handle< edm::ValueMap< pat::VertexAssociation > > edm::Handle< edm::ValueMap< reco::MuonCosmicCompatibility > > edm::Handle< edm::ValueMap< reco::MuonMETCorrectionData > > edm::Handle< edm::ValueMap< reco::MuonQuality > > edm::Handle< edm::ValueMap< reco::MuonShower > > edm::Handle< edm::ValueMap< std::pair< float, float > > > edm::Handle< edm::ValueMap< std::vector< edm::Ref > > > edm::Handle< edm::View > edm::Handle< edm::View< BT > > edm::Handle< edm::View< element_type > > edm::Handle< edm::View< reco::CaloCluster > > edm::Handle< edm::View< reco::Candidate > > edm::Handle< edm::View< reco::GsfElectron > > edm::Handle< edm::View< reco::Jet > > edm::Handle< edm::View< reco::MET > > edm::Handle< edm::View< reco::Photon > > edm::Handle< edm::View< reco::Track > > edm::Handle< edm::View< reco::VertexCompositePtrCandidate > > edm::Handle< edm::View< T > > edm::Handle< edmNew::DetSetVector< MTDTrackingRecHit > > edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > edm::Handle< edmNew::DetSetVector< SiPixelCluster > > edm::Handle< edmNew::DetSetVector< SiStripCluster > > edm::Handle< EEDigiCollection > edm::Handle< EGammaOrbitCollection > edm::Handle< ElectronCollection > edm::Handle< FastTrackerRecHitCombinationCollection > edm::Handle< FEDRawDataCollection > edm::Handle< GEMCoPadDigiCollection > edm::Handle< GEMDigiCollection > edm::Handle< GEMPadDigiClusterCollection > edm::Handle< GEMPadDigiCollection > edm::Handle< GEMRecHitCollection > edm::Handle< int > edm::Handle< JetOrbitCollection > edm::Handle< L1GctHFBitCountsCollection > edm::Handle< L1GctHFRingEtSumsCollection > edm::Handle< L1GtTriggerMenuLite > edm::Handle< L1MuDTChambPhContainer > edm::Handle< L1MuDTChambThContainer > edm::Handle< l1t::SAMuonCollection > edm::Handle< l1t::TrackerMuonCollection > edm::Handle< l1tp2::CaloTowerCollection > edm::Handle< LTCDigiCollection > edm::Handle< ME0SegmentCollection > edm::Handle< MeasurementTrackerEvent > edm::Handle< MuonOrbitCollection > edm::Handle< pat::PackedCandidateCollection > edm::Handle< PFTauDiscriminator > edm::Handle< PFTauTagInfoCollection > edm::Handle< reco::BeamSpot > edm::Handle< reco::CaloClusterCollection > edm::Handle< reco::CaloJetCollection > edm::Handle< reco::CaloMETCollection > edm::Handle< reco::Centrality > edm::Handle< reco::ConversionCollection > edm::Handle< reco::ElectronSeedCollection > edm::Handle< reco::GenJetCollection > edm::Handle< reco::GenParticleCollection > edm::Handle< reco::GsfElectronCollection > edm::Handle< reco::GsfElectronCoreCollection > edm::Handle< reco::GsfTrackCollection > edm::Handle< reco::JetCorrector > edm::Handle< reco::MuonCollection > edm::Handle< reco::MuonTrackLinksCollection > edm::Handle< reco::PFClusterCollection > edm::Handle< reco::PFDisplacedVertexCollection > edm::Handle< reco::PFJetCollection > edm::Handle< reco::PFMETCollection > edm::Handle< reco::PFRecHitCollection > edm::Handle< reco::PFTauDiscriminator > edm::Handle< reco::PhotonCollection > edm::Handle< reco::RecoChargedCandidateCollection > edm::Handle< reco::TrackCollection > edm::Handle< reco::TrackToTrackingParticleAssociator > edm::Handle< reco::VertexCollection > edm::Handle< reco::VertexCompositeCandidateCollection > edm::Handle< reco::VertexCompositePtrCandidateCollection > edm::Handle< RPCDigiCollection > edm::Handle< RPCRecHitCollection > edm::Handle< SimClusterCollection > edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > edm::Handle< SiPixelClusterShapeCache > edm::Handle< SortedCollection< CaloTower > > edm::Handle< std::vector< int > > edm::Handle< std::vector< PSimHit > > edm::Handle< std::vector< reco::CaloCluster > > edm::Handle< std::vector< reco::CaloJet > > edm::Handle< std::vector< reco::CastorTower > > edm::Handle< std::vector< reco::GenJet > > edm::Handle< std::vector< reco::GenParticle > > edm::Handle< std::vector< reco::ShallowTagInfo > > edm::Handle< std::vector< reco::Vertex > > edm::Handle< std::vector< SimTrack > > edm::Handle< std::vector< SimVertex > > edm::Handle< std::vector< std::string > > edm::Handle< std::vector< ticl::Trackster > > edm::Handle< std::vector< TrackingParticle > > edm::Handle< std::vector< Trajectory > > edm::Handle< SVCollection > edm::Handle< TauCollection > edm::Handle< TauOrbitCollection > edm::Handle< TkLasBeamCollection > edm::Handle< TrackCandidateCollection > edm::Handle< TrackingParticleCollection > edm::Handle< trigger::HLTPrescaleTable > edm::Handle< trigger::TriggerEvent > edm::Handle< trigger::TriggerEventWithRefs > edm::Handle< trigger::TriggerFilterObjectWithRefs > edm::Handle< vector< pat::Jet > > edm::Handle< VertexCollection >

Public Member Functions

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

Protected Member Functions

void const * productStorage () const
 

Private Attributes

void const * product_
 
Provenance const * prov_
 
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
 

Detailed Description

Definition at line 40 of file HandleBase.h.

Constructor & Destructor Documentation

◆ HandleBase() [1/4]

edm::HandleBase::HandleBase ( )
inline

Definition at line 42 of file HandleBase.h.

42 : product_(nullptr), prov_(nullptr) {}
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

◆ HandleBase() [2/4]

edm::HandleBase::HandleBase ( void const *  prod,
Provenance const *  prov 
)
inline

Definition at line 44 of file HandleBase.h.

References cms::cuda::assert(), and dumpMFGeometry_cfg::prod.

44  : product_(prod), prov_(prov) {
45  assert(prod);
46  assert(prov);
47  }
assert(be >=bs)
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

◆ ~HandleBase()

edm::HandleBase::~HandleBase ( )
inline

Definition at line 49 of file HandleBase.h.

49 {}

◆ HandleBase() [3/4]

edm::HandleBase::HandleBase ( HandleBase const &  )
default

◆ HandleBase() [4/4]

edm::HandleBase::HandleBase ( std::shared_ptr< HandleExceptionFactory const > &&  iWhyFailed)
inline

Used when the attempt to get the data failed.

Definition at line 81 of file HandleBase.h.

82  : product_(), prov_(nullptr), whyFailedFactory_(iWhyFailed) {}
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

Member Function Documentation

◆ clear()

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

Definition at line 51 of file HandleBase.h.

References product_, prov_, and whyFailedFactory_.

Referenced by HGCalTimingAnalyzer::analyze(), egHLT::OffEvt::clear(), L1TStage2CaloLayer1::dqmAnalyze(), BPHWriteSpecificDecay::fill(), and MuonIdProducer::init().

51  {
52  product_ = nullptr;
53  prov_ = nullptr;
54  whyFailedFactory_.reset();
55  }
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

◆ failedToGet()

bool edm::HandleBase::failedToGet ( ) const
inline

Definition at line 72 of file HandleBase.h.

References nano_mu_local_reco_cff::bool, and whyFailedFactory_.

Referenced by SiStripMonitorDigi::analyze(), TopDiLeptonDQM::analyze(), SiStripMonitorCluster::analyze(), SiPixelTrackResidualSource::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), EventTimeDistribution::analyze(), CommonModeAnalyzer::analyze(), APVShotsAnalyzer::analyze(), RunHistogramManager::beginRun(), L1BitComputer::compute(), MillePedeFileExtractor::endLuminosityBlock(), HLTBitVariable::eval(), MuonIdProducer::fillGlbQuality(), TrackProducer::getTransient(), LeptonSkimming::hltFired(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), JetPlusTrackCorrector::jtaUsingEventData(), MuonCosmicCompatibilityFiller::muonTiming(), MuonCosmicCompatibilityFiller::nMuons(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), GsfTrackRefitter::produce(), TrackRefitter::produce(), TrackProducer::produce(), TrackProducerWithSCAssociation::produce(), TrackListMerger::produce(), GctDigiToRaw::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), edm::Handle< GenericObject >::product(), edm::Handle< FWGenericObject >::product(), MuonCosmicCompatibilityFiller::pvMatches(), MultiTrackSelector::run(), DualByL2TSG::selectTSG(), StringBranchHelper< Object, Collection >::StringBranchHelper(), StringLeaveHelper< Object >::StringLeaveHelper(), ClusterChecker::tooManyClusters(), MeasurementTrackerEventProducer::updatePixels(), and MeasurementTrackerEventProducer::updateStrips().

72 { return bool(whyFailedFactory_); }
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110

◆ id()

ProductID edm::HandleBase::id ( ) const

Definition at line 29 of file HandleBase.cc.

References LIKELY, edm::Provenance::productID(), prov_, UNLIKELY, and whyFailedFactory_.

Referenced by TICLDumper::analyze(), TrackGenAssociatorByChi2Impl::associateGenToReco(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), TrackGenAssociatorByChi2Impl::associateRecoToGen(), LCToSimTSAssociatorByEnergyScoreImpl::associateRecoToSim(), reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(), MuonAssociatorByHits::associateRecoToSim(), reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), LCToSimTSAssociatorByEnergyScoreImpl::associateSimToReco(), MuonAssociatorByHits::associateSimToReco(), ClusterTPAssociation::checkMappedProductID(), TopDecaySubset::checkShowerModel(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::combine(), GsfElectronAlgo::createElectron(), HGCalValidator::dqmAnalyze(), EcalSelectiveReadoutProducer::getEBDigis(), EcalSelectiveReadoutProducer::getEEDigis(), TSToSimTSHitLCAssociatorByEnergyScoreImpl::makeConnections(), ticl::SeedingRegionByTracks::makeRegions(), EgammaHLTExtraProducer::matchingGsfTrks(), MeasurementTrackerEvent::MeasurementTrackerEvent(), HPSPFTauProducer::produce(), pat::PATElectronSlimmer::produce(), pat::PATPhotonSlimmer::produce(), TkAlCaOverlapTagger::produce(), pat::PATPackedCandidateProducer::produce(), Onia2MuMuPAT::produce(), pat::PATIsolatedTrackProducer::produce(), SimTrackstersProducer::produce(), LowPtGsfElectronSeedProducer::produce(), HadronAndPartonSelector::produce(), edmtest::OtherThingAlgorithm::run(), PFTauSelectorDefinition::select(), ticl::TracksterP4FromTrackAndPCA::setP4(), EgammaHLTExtraProducer::setSeeds(), edmtest::ViewAnalyzer::testAVProduct(), edmtest::ViewAnalyzer::testDSVProduct(), edmtest::ViewAnalyzer::testProduct(), edmtest::ViewAnalyzer::testProductWithBaseClass(), edmtest::ViewAnalyzer::testPtrVector(), edmtest::ViewAnalyzer::testRefToBaseVector(), edmtest::ViewAnalyzer::testRefVector(), MeasurementTrackerEventProducer::updatePixels(), and MeasurementTrackerEventProducer::updateStrips().

29  {
30  if UNLIKELY (not prov_) {
31  if LIKELY (static_cast<bool>(whyFailedFactory_)) {
32  whyFailedFactory_->make()->raise();
33  } else {
34  throwInvalidHandleProv();
35  }
36  }
37  return prov_->productID();
38  }
#define LIKELY(x)
Definition: Likely.h:20
ProductID const & productID() const
Definition: Provenance.h:79
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
Provenance const * prov_
Definition: HandleBase.h:109
#define UNLIKELY(x)
Definition: Likely.h:21

◆ isValid()

bool edm::HandleBase::isValid ( void  ) const
inline

Definition at line 70 of file HandleBase.h.

References product_, and prov_.

Referenced by ntupleDataFormat._Object::_checkIsValid(), TriggerHelper::acceptDcs(), GenericTriggerEventFlag::acceptDcs(), TriggerHelper::acceptGt(), GenericTriggerEventFlag::acceptGtLogicalExpression(), TriggerHelper::acceptHlt(), GenericTriggerEventFlag::acceptHlt(), AlcaPCCIntegrator::accumulate(), HcalDigitizer::accumulate(), SiPixelStatusProducer::accumulate(), EcalTimeDigiProducer::accumulateCaloHits(), EcalDigiProducer_Ph2::accumulateCaloHits(), EcalDigiProducer::accumulateCaloHits(), RecoTrackAccumulator::accumulateEvent(), edm::PreMixingPileupCopy::addPileupInfo(), PreMixingTrackingParticleWorker::addPileups(), PreMixingDigiSimLinkWorker< DigiSimLinkCollection >::addPileups(), PreMixingSiPixelWorker::addPileups(), PreMixingSiStripWorker::addPileups(), PreMixingTrackingParticleWorker::addSignals(), PreMixingDigiSimLinkWorker< DigiSimLinkCollection >::addSignals(), SiStripMonitorTrack::AllClusters(), GEMCoPadDigiValidation::analyze(), ME0HitsValidation::analyze(), ME0RecHitsValidation::analyze(), GEMStripDigiValidation::analyze(), GEMPadDigiClusterValidation::analyze(), GEMPadDigiValidation::analyze(), ME0DigisValidation::analyze(), ME0SegmentsValidation::analyze(), RazorVarAnalyzer::analyze(), CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCCLCTPreTriggerDigiValidation::analyze(), CSCCorrelatedLCTDigiValidation::analyze(), GEMRecHitValidation::analyze(), GEMSimHitValidation::analyze(), CSCComparatorDigiValidation::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), DiJetVarAnalyzer::analyze(), ESPedestalTask::analyze(), PFCandidateDQMAnalyzer::analyze(), PFJetDQMAnalyzer::analyze(), PFMETDQMAnalyzer::analyze(), PFMuonDQMAnalyzer::analyze(), EcalStatusAnalyzer::analyze(), EcalTBTDCRawInfoDumper::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), EcalMatacqAnalyzer::analyze(), ESRecoSummary::analyze(), RPCRecHitProbability::analyze(), Tau3MuMonitor::analyze(), L1TPhase2OuterTrackerTkMET::analyze(), ESDcsInfoTask::analyze(), L1Scalers::analyze(), EcalTBValidation::analyze(), BTagPerformanceAnalyzerOnData::analyze(), CentralityDQM::analyze(), EcalPnGraphs::analyze(), CentralitypADQM::analyze(), RPCMonitorDigi::analyze(), CaloTowerAnalyzer::analyze(), KVFTrackUpdate::analyze(), RPCFEDIntegrity::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), EcalSimHitDump::analyze(), EgammaBasicClusters::analyze(), EcalDigiDisplay::analyze(), RECOVertex::analyze(), HCALRecHitAnalyzer::analyze(), EventShapeDQM::analyze(), HLTTauDQML1Plotter::analyze(), RPCTTUMonitor::analyze(), L1TBasicDemo::analyze(), ZCountingElectrons::analyze(), JetMonitor::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), CSCTFAnalyzer::analyze(), TreeWriterForEcalCorrection::analyze(), L1TSummary::analyze(), SUSYDQMAnalyzer::analyze(), HeavyIonUCCDQM::analyze(), PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::analyze(), edmtest::ViewAnalyzer::analyze(), EgammaSuperClusters::analyze(), HcalHitValidation::analyze(), PatTrackAnalyzer::analyze(), TotemDAQTriggerDQMSource::analyze(), PrimaryVertexMonitor::analyze(), BTagPerformanceAnalyzerMC::analyze(), L1UpgradeTfMuonShowerTreeProducer::analyze(), L1TdeGCT::analyze(), L1TdeStage2CaloLayer1::analyze(), L1TDEMON::analyze(), CaloTowersValidation::analyze(), LheWeightValidation::analyze(), MaterialBudgetVolumeAnalysis::analyze(), L1TGlobalSummary::analyze(), HGcalHitIdCheck::analyze(), dEdxAnalyzer::analyze(), L1uGTTreeProducer::analyze(), ZCounting::analyze(), ZDCSimHitStudy::analyze(), BPHHistoSpecificDecay::analyze(), HcalSimHitStudy::analyze(), SimHitsValidationHcal::analyze(), TrackerHitAnalyzer::analyze(), dEdxHitAnalyzer::analyze(), ElasticPlotDQMSource::analyze(), HLTTauDQMOfflineSource::analyze(), HGCalTestScintHits::analyze(), EcalPreshowerNoiseDistrib::analyze(), HGCalTestPartialWaferRecHits::analyze(), HLTInspect::analyze(), MuonRecoAnalyzer::analyze(), BxTiming::analyze(), METMonitor::analyze(), HGcalHitCheck::analyze(), HLTEventAnalyzerAOD::analyze(), HLTEventAnalyzerRAW::analyze(), PFCandidateAnalyzerDQM::analyze(), L1TDTTF::analyze(), SiStripMonitorDigi::analyze(), AlCaElectronsTest::analyze(), EcalPileUpDepMonitor::analyze(), ZGammaplusJetsMonitor::analyze(), EcalDumpRaw::analyze(), HcalSimHitDump::analyze(), HGCalTestPartialWaferHits::analyze(), HitParentTest::analyze(), QcdPhotonsDQM::analyze(), HLTVertexPerformanceAnalyzer::analyze(), SiPixelPhase1HitsV::analyze(), L1HOTreeProducer::analyze(), miscalibExample::analyze(), EcalPedHists::analyze(), EcalTPInputAnalyzer::analyze(), HcalTestSimHitID::analyze(), HGCGeometryValidation::analyze(), SiPixelHLTSource::analyze(), DiMuonVertexMonitor::analyze(), L1TdeStage2uGT::analyze(), HcalSimHitCheck::analyze(), GctTimingAnalyzer::analyze(), VertexMonitor::analyze(), DQMSourceEleCalib::analyze(), DiJetMonitor::analyze(), EcalSimpleTBAnalyzer::analyze(), KVFTest::analyze(), EcalBarrelSimHitsValidation::analyze(), EwkDQM::analyze(), HGCalBHValidation::analyze(), SimAnalyzerMinbias::analyze(), TotemRPDQMSource::analyze(), GEMDAQStatusSource::analyze(), EcalPreshowerDigisValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), OuterTrackerMonitorTTTrack::analyze(), CTPPSPixelDQMSource::analyze(), HcalNoiseRates::analyze(), LepHTMonitor::analyze(), HcalQLPlotAnal::analyze(), XtalDedxAnalysis::analyze(), L1TRCT::analyze(), L1TStage2uGTTiming::analyze(), EcalABAnalyzer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), EcalSimHitsValidation::analyze(), JetTester::analyze(), CSCTFanalyzer::analyze(), ElectronStudy::analyze(), ZEEDetails::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), TopMonitor::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), HcalSimHitAnalysis::analyze(), L1TDTTPG::analyze(), RecAnalyzerHF::analyze(), HGCalHitCalibration::analyze(), SiPixelRawDataErrorSource::analyze(), EcalPerEvtLaserAnalyzer::analyze(), tadqm::TrackAnalyzer::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), DQMHcalIterativePhiSymAlCaReco::analyze(), DQMHcalPhiSymAlCaReco::analyze(), DQMHOAlCaRecoStream::analyze(), DTDataIntegrityROSOffline::analyze(), HTMonitor::analyze(), EcalBarrelDigisValidation::analyze(), HcalSimHitsValidation::analyze(), NoiseRates::analyze(), TrackTypeMonitor::analyze(), EcalTestPulseAnalyzer::analyze(), L1TEGammaOffline::analyze(), L1TCSCTPG::analyze(), edmtest::TestFindProduct::analyze(), EcalEndcapDigisValidation::analyze(), HiggsDQM::analyze(), HLTBTagPerformanceAnalyzer::analyze(), SUSY_HLT_Razor::analyze(), testChannel::analyze(), L1ElectronRecoTreeProducer::analyze(), L1PhotonRecoTreeProducer::analyze(), ElectronCalibration::analyze(), BTagAndProbe::analyze(), L1TRPCTF::analyze(), L1TStage2uGT::analyze(), SiStripMonitorCluster::analyze(), DQMSourcePi0::analyze(), L1TRate_Offline::analyze(), DTResolutionAnalysisTask::analyze(), HOSimHitStudy::analyze(), METTester::analyze(), SiStripCommissioningSource::analyze(), BaseTnPEfficiencyTask::analyze(), DTSegmentAnalysisTask::analyze(), HigPhotonJetHLTOfflineSource::analyze(), EcalBxOrbitNumberGrapher::analyze(), CaloSimHitAnalysis::analyze(), L1TRate::analyze(), SiPixelTrackResidualSource::analyze(), ContainmentCorrectionAnalyzer::analyze(), HGCalDigiValidation::analyze(), OuterTrackerMonitorTTCluster::analyze(), PrimaryVertexResolution::analyze(), BTVHLTOfflineSource::analyze(), DQMExample_Step1::analyze(), EcalSimHitStudy::analyze(), ZDCDigiStudy::analyze(), HcalGeomCheck::analyze(), HGCalRecHitValidation::analyze(), OuterTrackerMonitorTTStub::analyze(), l1t::GtInputDump::analyze(), HGCalTimingAnalyzer::analyze(), L1TGMT::analyze(), SiPixelHitEfficiencySource::analyze(), L1MetFilterRecoTreeProducer::analyze(), FourVectorHLT::analyze(), HGCalSimHitStudy::analyze(), CaloSimHitStudy::analyze(), SUSY_HLT_SingleLepton::analyze(), DiamondSampicDQMSource::analyze(), TotemTimingDQMSource::analyze(), DTDataIntegrityTask::analyze(), GlobalDigisHistogrammer::analyze(), GlobalRecHitsHistogrammer::analyze(), TkConvValidator::analyze(), L1UpgradeTfMuonTreeProducer::analyze(), L1UpgradeTreeProducer::analyze(), BPHMonitor::analyze(), ParticleNetJetTagMonitor::analyze(), TTbar_GenJetAnalyzer::analyze(), HeavyFlavorValidation::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzerYousi::analyze(), TTbar_Kinematics::analyze(), HLTJetMETValidation::analyze(), DTLocalTriggerBaseTask::analyze(), L1TdeRCT::analyze(), L1TGT::analyze(), MCVerticesAnalyzer::analyze(), StandaloneTrackMonitor::analyze(), HitEff::analyze(), EcalRecHitsValidation::analyze(), HcalRecHitsValidation::analyze(), ZdcSimHitStudy::analyze(), EventTimeDistribution::analyze(), L1GenTreeProducer::analyze(), EcalDigisValidation::analyze(), HGCalTB23Analyzer::analyze(), HGCalHitValidation::analyze(), L1ExtraTreeProducer::analyze(), ElectronCalibrationUniv::analyze(), StudyTriggerHLT::analyze(), HGCalSimHitValidation::analyze(), HcalRaddamMuon::analyze(), KineExample::analyze(), DummyEvelyser::analyze(), L1GtTrigReport::analyze(), FSQDiJetAve::analyze(), L1TdeCSCTF::analyze(), HGCalTBAnalyzer::analyze(), PhotonValidator::analyze(), L1TRPCTPG::analyze(), TrackToTrackComparisonHists::analyze(), L1TCSCTF::analyze(), AnalyzerMinbias::analyze(), L1JetRecoTreeProducer::analyze(), l1t::GtRecordDump::analyze(), HLTHiggsSubAnalysis::analyze(), L1CaloTowerTreeProducer::analyze(), L1TauRecoTreeProducer::analyze(), EopTreeWriter::analyze(), HOCalibAnalyzer::analyze(), V0Monitor::analyze(), MuonIsolationDQM::analyze(), L1TCompare::analyze(), DQMPFCandidateAnalyzer::analyze(), CastorMonitorModule::analyze(), SiStripHitEfficiencyWorker::analyze(), TrackCount::analyze(), JetMETHLTOfflineSource::analyze(), CommonModeAnalyzer::analyze(), TrackingMonitor::analyze(), L1TComparison::analyze(), cms::Analyzer_minbias::analyze(), DiMuonVertexValidation::analyze(), RecAnalyzerMinbias::analyze(), CTPPSDiamondDQMSource::analyze(), DiElectronVertexValidation::analyze(), JetTester_HeavyIons::analyze(), EmDQM::analyze(), IsoTrackCalibration::analyze(), APVShotsAnalyzer::analyze(), HcalHBHEMuonAnalyzer::analyze(), JetAnalyzer_HeavyIons::analyze(), GlobalHitsHistogrammer::analyze(), PiZeroAnalyzer::analyze(), EcalCosmicsHists::analyze(), PrimaryVertexValidation::analyze(), FSQDQM::analyze(), ZToMuMuGammaAnalyzer::analyze(), L1TSync::analyze(), HcalIsoTrkSimAnalyzer::analyze(), DTLocalTriggerTask::analyze(), HLTrigReport::analyze(), L1TStage2CaloLayer2Offline::analyze(), HLTObjectMonitor::analyze(), EcalMixingModuleValidation::analyze(), IsoTrackCalib::analyze(), HLTObjectMonitorProtonLead::analyze(), JetAnalyzer::analyze(), EmDQMReco::analyze(), L1TTauOffline::analyze(), L1Muon2RecoTreeProducer::analyze(), StudyCaloResponse::analyze(), HcalIsoTrkAnalyzer::analyze(), CastorDigiAnalyzerImpl::analyze(), V0Validator::analyze(), PhotonAnalyzer::analyze(), METAnalyzer::analyze(), IsoTrig::analyze(), IsolatedTracksHcalScale::analyze(), L1TSync_Offline::analyze(), SiStripMonitorApproximateCluster::analyze(), L1TBPTX::analyze(), SiPixelPhase1RawDataErrorComparator::analyze(), IsolatedGenParticles::analyze(), L1TGCT::analyze(), L1MuonRecoTreeProducer::analyze(), PrimaryVertexAnalyzer4PUSlimmed::analyze(), EcnaAnalyzer::analyze(), ApeEstimator::analyze(), TrackerDpgAnalysis::analyze(), IsolatedTracksNxN::analyze(), BeamHaloAnalyzer::analyze(), Primary4DVertexValidation::analyze(), ShortenedTrackValidation::analyze(), GeneralPurposeTrackAnalyzer::analyze(), CMTRawAnalyzer::analyze(), DMRChecker::analyze(), L1GtAnalyzer::analyzeConditionsInEventBlock(), L1GtAnalyzer::analyzeConditionsInLumiBlock(), L1GtAnalyzer::analyzeConditionsInRunBlock(), CTPPSCommonDQMSource::analyzeCTPPSRecord(), L1GtAnalyzer::analyzeDecisionReadoutRecord(), EgammaObjects::analyzeElectrons(), DQMProvInfo::analyzeEventInfo(), L1GtPackUnpackAnalyzer::analyzeGMT(), L1GtPackUnpackAnalyzer::analyzeGT(), HcalHBHEMuonHighEtaAnalyzer::analyzeHadron(), L1ExtraDQM::analyzeL1ExtraIsoTauJet(), L1GtAnalyzer::analyzeL1GtTriggerMenuLite(), DQMProvInfo::analyzeLhcInfo(), HcalHBHEMuonHighEtaAnalyzer::analyzeMuon(), L1GtAnalyzer::analyzeObjectMap(), EgammaObjects::analyzePhotons(), CTPPSCommonDQMSource::analyzeProtons(), HIPTwoBodyDecayAnalyzer::analyzeTrackCollection(), CTPPSCommonDQMSource::analyzeTracks(), L1GtAnalyzer::analyzeTrigger(), CSCEfficiency::applyTrigger(), ecaldqm::OccupancyTask::beginEvent(), ecaldqm::TrigPrimTask::beginEvent(), pat::PATTriggerEventProducer::beginLuminosityBlock(), pat::PATTriggerProducer::beginLuminosityBlock(), LHE2HepMCConverter::beginRun(), pat::PATTriggerEventProducer::beginRun(), FWFFLooper::beginRun(), pat::PATTriggerProducer::beginRun(), RunHistogramManager::beginRun(), FWCaloClusterProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::build(), FWECALCaloDataDetailViewBuilder::buildCaloData(), ConversionProducer::buildSuperAndBasicClusterGeoMap(), reco::helper::JetMuonHitsIDHelper::calculate(), EcalHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), FWBeamSpot::checkBeamSpot(), MuonDetLayerMeasurements::checkCSCRecHits(), MuonDetLayerMeasurements::checkDTRecHits(), FWMagField::checkFieldInfo(), MuonDetLayerMeasurements::checkGEMRecHits(), MuonDetLayerMeasurements::checkME0RecHits(), AlignmentTwoBodyDecayTrackSelector::checkMETMass(), MTDDetLayerMeasurements::checkMTDRecHits(), EmDQM::checkRecoParticlesRequirement(), MuonDetLayerMeasurements::checkRPCRecHits(), TopDecaySubset::checkShowerModel(), SiStripAnalyser::checkTrackerFEDs(), L1GtDataEmulAnalyzer::compareDaqRecord(), L1GtHwValidation::compareDaqRecord(), L1GtHwValidation::compareEvmRecord(), HLTBitComputer::compute(), TCMETAlgo::correct_MET_for_Tracks(), PFClusterEMEnergyCorrector::correctEnergies(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::count(), sistrip::DigiToRaw::createFedBuffers_(), muonisolation::TrackExtractor::deposit(), muonisolation::PixelTrackExtractor::deposit(), EcalCosmicsHists::determineTriggers(), RPCTTUMonitor::discriminateGMT(), TrigObjTnPSource::dqmAnalyze(), DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), PSMonitor::dqmAnalyze(), DTSegment4DQuality::dqmAnalyze(), DTRecHitQuality::dqmAnalyze(), HGCalTriggerValidator::dqmAnalyze(), L1TStage2CaloLayer1::dqmAnalyze(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), ZeeCalibration::duringLoop(), EcalClusterIsoCalculator::EcalClusterIsoCalculator(), MillePedeFileExtractor::endLuminosityBlock(), GlobalHitsProdHistStripper::endRun(), spr::energyECAL(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), DigiVtxPosCorrHistogramMaker::fill(), VertexHistogramMaker::fill(), DigiLumiCorrHistogramMaker::fill(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), ValueMapVariableBase< ObjType, TIn, ValType >::fill(), TrackDetectorAssociator::fillCaloTruth(), FWECALDetailViewBuilder::fillData(), reco::HcalNoiseInfoProducer::filldigis(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProducer::fillECal(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), L1TEGammaOffline::fillElectrons(), L1TStage2CaloLayer2Offline::fillEnergySums(), TrackerHitProducer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProducer::fillG4MC(), MuonIdProducer::fillGlbQuality(), GlobalHitsProdHist::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), HistoFillerReco< l1extra::L1EmParticleCollection >::fillHistos(), reco::HcalNoiseInfoProducer::filljetinfo(), L1TStage2CaloLayer2Offline::fillJets(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), TrackDetectorAssociator::fillMuon(), GlobalDigisProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), MuonIdProducer::fillMuonId(), L1TEGammaOffline::fillPhotons(), HcalRecHitsValidation::fillRecHitsTmp(), MuRecObjBaseProducer< DETECTOR_T, RECO_T, GEOM_T >::fillTable(), TrackerValidationVariables::fillTrackQuantities(), HcalIsoTrkAnalyzer::fillTree(), TrackerHitProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), ClusterMultiplicityFilter::filter(), DetStatus::filter(), DetectorStateFilter::filter(), ZtoMMEventSelector::filter(), HLTHcalMETNoiseCleaner::filter(), JetMETDQMDCSFilter::filter(), HLTHcalLaserFilter::filter(), HLTHcalMETNoiseFilter::filter(), ZtoEEEventSelector::filter(), LHEJetFilter::filter(), HLTPathSelector::filter(), ProbeTreeProducer::filter(), ttbarEventSelector::filter(), BeamSplash::filter(), ECALActivity::filter(), WtoLNuSelector::filter(), MuScleFitGenFilter::filter(), IsTBH4Type::filter(), BooleanFlagFilter::filter(), PhysDecl::filter(), EcalExclusiveTrigFilter::filter(), TagProbeMassEDMFilter::filter(), L1GtBeamModeFilter::filter(), HLTHighLevel::filter(), JetHTJetPlusHOFilter::filter(), ProtonTaggerFilter::filter(), EcalSkim::filter(), HcalCalibTypeFilter::filter(), HGCalTBCheckGunPostion::filter(), AlCaHEMuonFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), HLTPrescaler::filter(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), EgammaHLTExtraProducer::filterPFClusIso(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find(), raw_impl::get(), L1TSync_Offline::getBeamConfOffline(), MatacqProducer::getCalibTriggerType(), L1MuGMTPSB::getCalo(), HiSuperClusterProducer::getClusterPtrVector(), EDMtoMEConverter::getData(), RawDataConverter::GetDigis(), GsfEleDxyCut::getEventContent(), GsfEleDzCut::getEventContent(), GsfEleConversionVetoCut::getEventContent(), MuonDxyCut::getEventContent(), MuonDzCut::getEventContent(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::getFilteredCands(), IsoTrig::getGoodTracks(), HLTExoticaSubAnalysis::getHandlesToObjects(), pat::PATMHTProducer::getMuons(), MatacqProducer::getOrbitId(), L1TTauOffline::getProbeTaus(), AlCaHcalIsotrkProducer::getProducts(), PFSimParticleProducer::getSimIDs(), SiStripDCSStatus::getStatus(), RawDataConverter::GetValidLabels(), GenXSecAnalyzer::globalEndLuminosityBlock(), HLTEcalPixelIsolTrackFilter::hltFilter(), HLTTrackSeedMultiplicityFilter::hltFilter(), HLTMuonL3SimplePreFilter::hltFilter(), HLTRFilter::hltFilter(), HLTElectronPFMTFilter< T >::hltFilter(), HLTPixelClusterShapeFilter::hltFilter(), HLTBeamModeFilter::hltFilter(), HLTLevel1GTSeed::hltFilter(), LeptonSkimming::hltObject(), TrackWithVertexSelector::init(), MuonIdProducer::init(), tnp::BaseTreeFiller::init(), DTHitAssociator::initEvent(), SiStripDCSStatus::initialise(), HLTHiggsSubAnalysis::initobjects(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), PrescaleWeightProvider::initRun(), l1tVertexFinder::InputData::InputData(), cms::MuonTCMETValueMapProducer::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodTrack(), TCMETAlgo::isGoodTrack(), JetMETHLTOfflineSource::isHLTPathAccepted(), JetPlusTrackCorrector::jtaUsingEventData(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), L1GtUtils::l1Results(), PFECALSuperClusterAlgo::loadAndSortPFClusters(), EcalDeadCellTriggerPrimitiveFilter::loadEcalDigis(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::loopOnTracks(), main(), RPCRecHitProbability::makeDcsInfo(), EgammaHLTExtraProducer::matchingGsfTrks(), PhotonMIPHaloTagger::MIPcalculate(), CosmicParametersDefinerForTP::momentum(), PFTauMiniAODPrimaryVertexProducer::nonTauTracksInPV(), operator bool(), operator!(), PhoFull5x5SigmaIEtaIEtaValueMapCut::operator()(), PhoMVACut::operator()(), GsfEleMVACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), GsfEleEffAreaPFIsoCut::operator()(), PhoAnyPFIsoWithEACut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), GsfEleConversionVetoCut::operator()(), GsfEleHadronicOverEMEnergyScaledCut::operator()(), reco::tau::PFRecoTauLostTrackPlugin::operator()(), IsoPhotonEBSelector::operator()(), ZElectronsSelector::operator()(), CosmicTrackingParticleSelector::operator()(), TSGFromPropagation::passSelection(), FastTSGFromPropagation::passSelection(), L1GtUtils::prescaleFactorSetIndex(), DumpScObjects::printBx(), RecHitProcessor::process(), StandaloneTrackMonitor::processClusters(), RecHitProcessor::processLook(), ShallowEventDataProducer::produce(), MTDUncalibratedRecHitProducer::produce(), RazorVarProducer::produce(), EcalTBTDCRecInfoProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), V0VertexTrackProducer::produce(), EcalTBHodoscopeRecInfoProducer::produce(), ESRawToDigi::produce(), HLTDQMMuonSelector::produce(), TrackRefitter::produce(), AlphaTVarProducer::produce(), HIBestVertexProducer::produce(), HGCalRawToDigiFake::produce(), HFNoseRawToDigiFake::produce(), CaloTowersReCreator::produce(), QuarkoniaTrackSelector::produce(), HGCalVFEProducer::produce(), JetExtender::produce(), ShallowClustersProducer::produce(), MTDRecHitProducer::produce(), ESZeroSuppressionProducer::produce(), VertexAssociatorByPositionAndTracksProducer::produce(), GlobalCosmicMuonProducer::produce(), TtSemiLepSignalSelMVAComputer::produce(), EcalZeroSuppressionProducer::produce(), L1TkHTMissProducer::produce(), HLTHcalTowerNoiseCleanerWithrechit::produce(), HLTHcalTowerNoiseCleaner::produce(), HGCalRecHitProducer::produce(), DTUnpackingModule::produce(), CandidateTriggerObjectProducer::produce(), RPCPointProducer::produce(), TkInstLumiTableProducer::produce(), TrackProducerWithSCAssociation::produce(), MuonTrackProducer::produce(), PhotonCoreProducer::produce(), ZtoMMMuonTrackProducer::produce(), FakeTBEventHeaderProducer::produce(), EcalTBWeightUncalibRecHitProducer::produce(), ConvertObjectMapRecord::produce(), HectorProducer::produce(), ZtoEEElectronTrackProducer::produce(), HcalDigiToRaw::produce(), ME0TriggerPseudoProducer::produce(), VertexCompositeCandidateCollectionSelector::produce(), CSCTFPacker::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), VertexFromTrackProducer::produce(), L1TTwinMuxProducer::produce(), MuonSeedGenerator::produce(), L1TrackerEtMissProducer::produce(), TriggerMatchProducer< object >::produce(), ConversionTrackMerger::produce(), PFTrackProducer::produce(), MultShiftMETcorrInputProducer::produce(), GlobalTrackQualityProducer::produce(), L1TkHTMissEmulatorProducer::produce(), HybridClusterProducer::produce(), L1GctInternJetProducer::produce(), HcalTrigPrimDigiProducer::produce(), L1TMuonQualityAdjuster::produce(), AlCaElectronTracksReducer::produce(), pat::LeptonUpdater< T >::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), SETMuonSeedProducer::produce(), ReducedRecHitCollectionProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), HcalRecHitRecalib::produce(), MuonBeamspotConstraintValueMapProducer::produce(), TrackMVAClassifierBase::produce(), RecoTauGenericJetRegionProducer< JetType, CandType >::produce(), L1EmulBias::produce(), L1CaloJetHTTProducer::produce(), EcalRecHitRecalib::produce(), Onia2MuMuPAT::produce(), PixelVertexProducer::produce(), CaloTowersMerger::produce(), ConversionSeedFilter::produce(), MTDClusterProducer::produce(), HBHENoiseFilterResultProducer::produce(), TcdsRawToDigi::produce(), HcalDigiToRawuHTR::produce(), L1TGlobalProducer::produce(), cms::MuonTCMETValueMapProducer::produce(), L1GlobalTriggerRecordProducer::produce(), EventWithHistoryProducerFromL1ABC::produce(), L1GctEmulator::produce(), ConvertedPhotonProducer::produce(), EgammaHLTNxNClusterProducer::produce(), L1Comparator::produce(), pat::PATIsolatedTrackProducer::produce(), PhotonProducer::produce(), L1GTEvmDigiToRaw::produce(), EcalDetailedTimeRecHitProducer::produce(), ZdcHitReconstructor::produce(), L1TExtCondProducer::produce(), OnlineMetaDataRawToDigi::produce(), TtbarTrackProducer::produce(), pat::PATPhotonProducer::produce(), L1TrackerEtMissEmulatorProducer::produce(), FFTJetPFPileupCleaner::produce(), L1GTDigiToRaw::produce(), L1TMuonLegacyConverter::produce(), AlCaDiJetsProducer::produce(), FFTJetVertexAdder::produce(), PPSSimTrackProducer::produce(), Phase2L1CaloPFClusterEmulator::produce(), IsolatedEcalPixelTrackCandidateProducer::produce(), L1TExtCondLegacyToStage2::produce(), L1GlobalTriggerEvmRawToDigi::produce(), MuIsolatorResultProducer< BT >::produce(), PFTauPrimaryVertexProducerBase::produce(), pat::PATTriggerEventProducer::produce(), JetTagProducer::produce(), L1ExtraParticlesProd::produce(), RPCTrigger::produce(), CSCTriggerPrimitivesProducer::produce(), APVCyclePhaseProducerFromL1ABC::produce(), GenFilterEfficiencyProducer::produce(), SoftPFMuonTagInfoProducer::produce(), ConditionDumperInEdm::produce(), L1TCaloLayer1::produce(), APVCyclePhaseProducerFromL1TS::produce(), L1GlobalTriggerRawToDigi::produce(), L1TZDCProducer::produce(), JetIdSelector< T >::produce(), PrimaryVertexProducer::produce(), ConversionProducer::produce(), PFSimParticleProducer::produce(), pat::PATElectronProducer::produce(), TriggerMatcherToHLTDebug::produce(), L1TCaloLayer1RawToDigi::produce(), MuonIdProducer::produce(), RPCTechnicalTrigger::produce(), pat::PATTriggerProducer::produce(), L1GlobalTrigger::produce(), HadronAndPartonSelector::produce(), pat::PATMuonProducer::produce(), GEDPhotonProducer::produce(), SoftLepton::produce(), reco::CSCHaloDataProducer::produce(), AlCaHOCalibProducer::produce(), reco::GlobalHaloDataProducer::produce(), CollHandle< EEDigiCollection >::read(), TriggerTools::readEvent(), edm::service::RandomNumberGeneratorService::readFromEvent(), edm::service::RandomNumberGeneratorService::readFromLuminosityBlock(), AlcaBeamSpotManager::readLumi(), SiPixelStatusManager::readLumi(), core.AutoHandle.AutoHandle::ReallyLoad(), l1t::GlobalBoard::receiveCaloObjectData(), L1MuGMTPSB::receiveData(), l1t::GlobalBoard::receiveExternalData(), L1GlobalTriggerPSB::receiveGctObjectData(), L1GlobalTriggerGTL::receiveGmtObjectData(), l1t::GlobalBoard::receiveMuonObjectData(), l1t::GlobalBoard::receiveMuonShowerObjectData(), L1GlobalTriggerPSB::receiveTechnicalTriggers(), HcalDigisValidation::reco(), PFAlgo::reconstructParticles(), MuonPFAnalyzer::recoToGenMatch(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), CosmicRegionalSeedGenerator::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), GlobalTrackingRegionWithVerticesProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::rejectTrack(), RunManagerMTWorker::resetGenParticleId(), L1RetrieveL1Extra::retrieveL1ExtraObjects(), L1GtUtils::retrieveL1GtTriggerMenuLite(), CutBasedElectronID::robustSelection(), HLTLevel1GTSeed::seedsL1Extra(), HLTL1TSeed::seedsL1TriggerObjectMaps(), HLTLevel1GTSeed::seedsL1TriggerObjectMaps(), pf2pat::PtMinPFCandidateSelectorDefinition::select(), HLTEventSelector::select(), AlignmentTrackFromVertexCompositeCandidateSelector::select(), AlignmentTrackFromVertexSelector::select(), HIProtoTrackSelector::select(), PFTauSelectorDefinition::select(), SelectionStep< Object >::select(), MuScleFitMuonSelector::selectGenSimMuons(), MuScleFitMuonSelector::selectMuons(), MuScleFit::selectMuons(), L1Analysis::L1AnalysisSimulation::Set(), L1Analysis::L1AnalysisEvent::Set(), L3MuonTrajectoryBuilder::setEvent(), PFDisplacedVertexCandidateFinder::setInput(), PFDisplacedVertexFinder::setInput(), L1Analysis::L1AnalysisGCT::SetJet(), tadqm::TrackAnalyzer::setLumi(), TrackingMonitor::setNclus(), tadqm::TrackAnalyzer::setNumberOfGoodVertices(), PFDisplacedVertexHelper::setPrimaryVertex(), PFDisplacedVertexCandidateFinder::setPrimaryVertex(), EgammaHLTExtraProducer::setSeeds(), edmtest::ThingAnalyzer::shouldBeInvalid(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), GenWeightsTableProducer::streamBeginLuminosityBlock(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), IsoTrig::studyTrigger(), IsoTrig::StudyTrkEbyP(), PFClusterValidation::sumEnergy(), edmtest::ViewAnalyzer::testAVProduct(), edmtest::ViewAnalyzer::testDSVProduct(), edmtest::ViewAnalyzer::testProduct(), edmtest::ViewAnalyzer::testProductWithBaseClass(), edmtest::ViewAnalyzer::testPtrVector(), edmtest::ViewAnalyzer::testRefToBaseVector(), edmtest::ViewAnalyzer::testRefVector(), SiStripMonitorTrack::trackStudy(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), DTTrig::triggerReco(), PhoMVACut::value(), PhoFull5x5SigmaIEtaIEtaValueMapCut::value(), PhoAnyPFIsoWithEAAndExpoScalingCut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), GsfEleRelPFIsoScaledCut::value(), PhoAnyPFIsoWithEACut::value(), GsfEleCalPFClusterIsoCut::value(), GsfEleConversionVetoCut::value(), GsfEleMVACut::value(), and CosmicParametersDefinerForTP::vertex().

70 { return product_ && prov_; }
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

◆ operator bool()

edm::HandleBase::operator bool ( ) const
inlineexplicit

Definition at line 100 of file HandleBase.h.

References isValid().

100 { return isValid(); }
bool isValid() const
Definition: HandleBase.h:70

◆ operator!()

bool edm::HandleBase::operator! ( ) const
inline

Definition at line 102 of file HandleBase.h.

References isValid().

102 { return not isValid(); }
bool isValid() const
Definition: HandleBase.h:70

◆ operator=() [1/2]

HandleBase& edm::HandleBase::operator= ( HandleBase const &  rhs)
inline

Definition at line 64 of file HandleBase.h.

References swap(), and groupFilesInBlocks::temp.

64  {
65  HandleBase temp(rhs);
66  this->swap(temp);
67  return *this;
68  }
void swap(HandleBase &other)
Definition: HandleBase.h:57

◆ operator=() [2/2]

HandleBase& edm::HandleBase::operator= ( HandleBase &&  rhs)
inline

Definition at line 84 of file HandleBase.h.

References eostools::move(), product_, prov_, and whyFailedFactory_.

84  {
85  product_ = rhs.product_;
86  prov_ = rhs.prov_;
87  whyFailedFactory_ = std::move(rhs.whyFailedFactory_);
88  return *this;
89  }
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108
def move(src, dest)
Definition: eostools.py:511

◆ productStorage()

void const * edm::HandleBase::productStorage ( ) const
protected

Definition at line 18 of file HandleBase.cc.

References LIKELY, product_, UNLIKELY, and whyFailedFactory_.

18  {
19  if UNLIKELY (not product_) {
20  if LIKELY (static_cast<bool>(whyFailedFactory_)) {
21  whyFailedFactory_->make()->raise();
22  } else {
23  throwInvalidHandleDeref();
24  }
25  }
26  return product_;
27  }
#define LIKELY(x)
Definition: Likely.h:20
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
void const * product_
Definition: HandleBase.h:108
#define UNLIKELY(x)
Definition: Likely.h:21

◆ provenance()

Provenance const* edm::HandleBase::provenance ( ) const
inline

◆ swap()

void edm::HandleBase::swap ( HandleBase other)
inline

Definition at line 57 of file HandleBase.h.

References trackingPlots::other, product_, prov_, edm::swap(), and whyFailedFactory_.

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

57  {
58  using std::swap;
59  swap(product_, other.product_);
60  std::swap(prov_, other.prov_);
61  swap(whyFailedFactory_, other.whyFailedFactory_);
62  }
void swap(HandleBase &a, HandleBase &b)
Definition: HandleBase.h:114
void swap(HandleBase &other)
Definition: HandleBase.h:57
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
Provenance const * prov_
Definition: HandleBase.h:109
void const * product_
Definition: HandleBase.h:108

◆ whyFailed()

std::shared_ptr<cms::Exception> edm::HandleBase::whyFailed ( ) const
inline

Definition at line 91 of file HandleBase.h.

References whyFailedFactory_.

Referenced by cms::PileupVertexAccumulator::accumulate(), and HLTPhysicsDeclared::filter().

91  {
92  if (whyFailedFactory_.get()) {
93  return whyFailedFactory_->make();
94  }
95  return std::shared_ptr<cms::Exception>();
96  }
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110

◆ whyFailedFactory()

std::shared_ptr<HandleExceptionFactory const> const& edm::HandleBase::whyFailedFactory ( ) const
inline

Definition at line 98 of file HandleBase.h.

References whyFailedFactory_.

98 { return whyFailedFactory_; }
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110

Member Data Documentation

◆ product_

void const* edm::HandleBase::product_
private

Definition at line 108 of file HandleBase.h.

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

◆ prov_

Provenance const* edm::HandleBase::prov_
private

◆ whyFailedFactory_

std::shared_ptr<HandleExceptionFactory const> edm::HandleBase::whyFailedFactory_
private