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< 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< 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< 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< 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< 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(), MuonIdProducer::init(), and BeautifulSoup.Tag::setString().

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 electrons_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(), 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 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(), 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(), 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(), GEMPadDigiClusterValidation::analyze(), GEMPadDigiValidation::analyze(), GEMStripDigiValidation::analyze(), ME0DigisValidation::analyze(), ME0SegmentsValidation::analyze(), RazorVarAnalyzer::analyze(), CSCCLCTPreTriggerDigiValidation::analyze(), CSCCorrelatedLCTDigiValidation::analyze(), CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), GEMRecHitValidation::analyze(), GEMSimHitValidation::analyze(), CSCComparatorDigiValidation::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), DiJetVarAnalyzer::analyze(), PFCandidateDQMAnalyzer::analyze(), PFJetDQMAnalyzer::analyze(), PFMETDQMAnalyzer::analyze(), PFMuonDQMAnalyzer::analyze(), ESPedestalTask::analyze(), EcalStatusAnalyzer::analyze(), EcalTBTDCRawInfoDumper::analyze(), EcalTBHodoscopeRawInfoDumper::analyze(), EcalMatacqAnalyzer::analyze(), RPCRecHitProbability::analyze(), ESRecoSummary::analyze(), Tau3MuMonitor::analyze(), L1TPhase2OuterTrackerTkMET::analyze(), ESDcsInfoTask::analyze(), L1Scalers::analyze(), EcalTBValidation::analyze(), BTagPerformanceAnalyzerOnData::analyze(), CentralityDQM::analyze(), CentralitypADQM::analyze(), EcalPnGraphs::analyze(), RPCMonitorDigi::analyze(), KVFTrackUpdate::analyze(), RPCFEDIntegrity::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), CaloTowerAnalyzer::analyze(), EcalDigiDisplay::analyze(), EcalSimHitDump::analyze(), EgammaBasicClusters::analyze(), RECOVertex::analyze(), EventShapeDQM::analyze(), HCALRecHitAnalyzer::analyze(), HLTTauDQML1Plotter::analyze(), RPCTTUMonitor::analyze(), L1TBasicDemo::analyze(), ZCountingElectrons::analyze(), JetMonitor::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), CSCTFAnalyzer::analyze(), TreeWriterForEcalCorrection::analyze(), L1TSummary::analyze(), TrackTypeMonitor::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(), L1TDEMON::analyze(), L1TdeStage2CaloLayer1::analyze(), CaloTowersValidation::analyze(), LheWeightValidation::analyze(), MaterialBudgetVolumeAnalysis::analyze(), L1TGlobalSummary::analyze(), HGcalHitIdCheck::analyze(), dEdxAnalyzer::analyze(), L1uGTTreeProducer::analyze(), ZCounting::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(), HLTEventAnalyzerAOD::analyze(), HLTEventAnalyzerRAW::analyze(), PFCandidateAnalyzerDQM::analyze(), L1TDTTF::analyze(), SiStripMonitorDigi::analyze(), AlCaElectronsTest::analyze(), EcalPileUpDepMonitor::analyze(), EcalDumpRaw::analyze(), HcalSimHitDump::analyze(), HGCalTestPartialWaferHits::analyze(), HitParentTest::analyze(), QcdPhotonsDQM::analyze(), HLTVertexPerformanceAnalyzer::analyze(), SiPixelPhase1HitsV::analyze(), L1HOTreeProducer::analyze(), DiMuonVertexMonitor::analyze(), miscalibExample::analyze(), EcalTPInputAnalyzer::analyze(), EcalPedHists::analyze(), HcalTestSimHitID::analyze(), HGCGeometryValidation::analyze(), SiPixelHLTSource::analyze(), L1TdeStage2uGT::analyze(), HcalSimHitCheck::analyze(), GctTimingAnalyzer::analyze(), VertexMonitor::analyze(), DQMSourceEleCalib::analyze(), CTPPSPixelDQMSource::analyze(), DiJetMonitor::analyze(), EcalSimpleTBAnalyzer::analyze(), KVFTest::analyze(), EcalBarrelSimHitsValidation::analyze(), EwkDQM::analyze(), SimAnalyzerMinbias::analyze(), HGCalBHValidation::analyze(), TotemRPDQMSource::analyze(), GEMDAQStatusSource::analyze(), EcalPreshowerDigisValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), OuterTrackerMonitorTTTrack::analyze(), EcalABAnalyzer::analyze(), LepHTMonitor::analyze(), HcalQLPlotAnal::analyze(), L1TRCT::analyze(), XtalDedxAnalysis::analyze(), L1TStage2uGTTiming::analyze(), TrackSplittingMonitor::analyze(), DQMHcalDiJetsAlCaReco::analyze(), HcalNoiseRates::analyze(), EcalSimHitsValidation::analyze(), CSCTFanalyzer::analyze(), JetTester::analyze(), ElectronStudy::analyze(), EcalBarrelRecHitsValidation::analyze(), HGCalHitCalibration::analyze(), TopMonitor::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), L1TDTTPG::analyze(), HcalSimHitAnalysis::analyze(), EcalEndcapRecHitsValidation::analyze(), RecAnalyzerHF::analyze(), SiPixelRawDataErrorSource::analyze(), tadqm::TrackAnalyzer::analyze(), StandaloneTrackMonitor::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), DQMHcalIterativePhiSymAlCaReco::analyze(), DQMHOAlCaRecoStream::analyze(), DQMHcalPhiSymAlCaReco::analyze(), DTDataIntegrityROSOffline::analyze(), HTMonitor::analyze(), EcalBarrelDigisValidation::analyze(), HcalSimHitsValidation::analyze(), NoiseRates::analyze(), EcalTestPulseAnalyzer::analyze(), L1TEGammaOffline::analyze(), L1TCSCTPG::analyze(), edmtest::TestFindProduct::analyze(), EcalEndcapDigisValidation::analyze(), HiggsDQM::analyze(), HLTBTagPerformanceAnalyzer::analyze(), SUSY_HLT_Razor::analyze(), testChannel::analyze(), L1ElectronRecoTreeProducer::analyze(), BTagAndProbe::analyze(), L1TRPCTF::analyze(), L1TStage2uGT::analyze(), SiStripMonitorCluster::analyze(), ElectronCalibration::analyze(), DQMSourcePi0::analyze(), L1TRate_Offline::analyze(), DTResolutionAnalysisTask::analyze(), HOSimHitStudy::analyze(), SiStripCommissioningSource::analyze(), METTester::analyze(), BaseTnPEfficiencyTask::analyze(), OuterTrackerMonitorTTCluster::analyze(), DTSegmentAnalysisTask::analyze(), EcalBxOrbitNumberGrapher::analyze(), HigPhotonJetHLTOfflineSource::analyze(), CaloSimHitAnalysis::analyze(), L1TRate::analyze(), ContainmentCorrectionAnalyzer::analyze(), HGCalDigiValidation::analyze(), SiPixelTrackResidualSource::analyze(), PrimaryVertexResolution::analyze(), BTVHLTOfflineSource::analyze(), DQMExample_Step1::analyze(), EcalSimHitStudy::analyze(), ZDCDigiStudy::analyze(), HcalGeomCheck::analyze(), HGCalRecHitValidation::analyze(), OuterTrackerMonitorTTStub::analyze(), l1t::GtInputDump::analyze(), DTDataIntegrityTask::analyze(), L1TGMT::analyze(), HGCalTimingAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), L1MetFilterRecoTreeProducer::analyze(), FourVectorHLT::analyze(), CaloSimHitStudy::analyze(), HGCalSimHitStudy::analyze(), SUSY_HLT_SingleLepton::analyze(), DiamondSampicDQMSource::analyze(), TotemTimingDQMSource::analyze(), TkConvValidator::analyze(), GlobalDigisHistogrammer::analyze(), GlobalRecHitsHistogrammer::analyze(), L1UpgradeTfMuonTreeProducer::analyze(), L1UpgradeTreeProducer::analyze(), BPHMonitor::analyze(), ParticleNetJetTagMonitor::analyze(), TTbar_GenJetAnalyzer::analyze(), EcalLaserAnalyzerYousi::analyze(), EcalLaserAnalyzer2::analyze(), TTbar_Kinematics::analyze(), EcalLaserAnalyzer::analyze(), HeavyFlavorValidation::analyze(), HLTJetMETValidation::analyze(), DTLocalTriggerBaseTask::analyze(), HitEff::analyze(), L1TdeRCT::analyze(), L1TGT::analyze(), MCVerticesAnalyzer::analyze(), HcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), EcalRecHitsValidation::analyze(), ZdcSimHitStudy::analyze(), EventTimeDistribution::analyze(), L1GenTreeProducer::analyze(), HGCalHitValidation::analyze(), L1ExtraTreeProducer::analyze(), TrackToTrackComparisonHists::analyze(), HGCalSimHitValidation::analyze(), StudyTriggerHLT::analyze(), ElectronCalibrationUniv::analyze(), HcalRaddamMuon::analyze(), KineExample::analyze(), DummyEvelyser::analyze(), L1GtTrigReport::analyze(), FSQDiJetAve::analyze(), L1TdeCSCTF::analyze(), HGCalTBAnalyzer::analyze(), L1TRPCTPG::analyze(), PhotonValidator::analyze(), L1JetRecoTreeProducer::analyze(), L1TCSCTF::analyze(), AnalyzerMinbias::analyze(), l1t::GtRecordDump::analyze(), HLTHiggsSubAnalysis::analyze(), L1CaloTowerTreeProducer::analyze(), L1TauRecoTreeProducer::analyze(), EopTreeWriter::analyze(), SiStripHitEfficiencyWorker::analyze(), HOCalibAnalyzer::analyze(), V0Monitor::analyze(), MuonIsolationDQM::analyze(), L1TCompare::analyze(), DiMuonVertexValidation::analyze(), TrackCount::analyze(), DQMPFCandidateAnalyzer::analyze(), JetMETHLTOfflineSource::analyze(), CastorMonitorModule::analyze(), CommonModeAnalyzer::analyze(), TrackingMonitor::analyze(), L1TComparison::analyze(), cms::Analyzer_minbias::analyze(), RecAnalyzerMinbias::analyze(), DiElectronVertexValidation::analyze(), EmDQM::analyze(), JetTester_HeavyIons::analyze(), IsoTrackCalibration::analyze(), APVShotsAnalyzer::analyze(), GlobalHitsHistogrammer::analyze(), JetAnalyzer_HeavyIons::analyze(), HcalHBHEMuonAnalyzer::analyze(), PiZeroAnalyzer::analyze(), CTPPSDiamondDQMSource::analyze(), EcalCosmicsHists::analyze(), PrimaryVertexValidation::analyze(), FSQDQM::analyze(), L1TSync::analyze(), SiStripMonitorApproximateCluster::analyze(), ZToMuMuGammaAnalyzer::analyze(), DTLocalTriggerTask::analyze(), HLTrigReport::analyze(), L1TStage2CaloLayer2Offline::analyze(), EcalMixingModuleValidation::analyze(), IsoTrackCalib::analyze(), HLTObjectMonitorProtonLead::analyze(), EmDQMReco::analyze(), JetAnalyzer::analyze(), L1TTauOffline::analyze(), HLTObjectMonitor::analyze(), L1Muon2RecoTreeProducer::analyze(), StudyCaloResponse::analyze(), HcalIsoTrkSimAnalyzer::analyze(), CastorDigiAnalyzerImpl::analyze(), V0Validator::analyze(), HcalIsoTrkAnalyzer::analyze(), PhotonAnalyzer::analyze(), METAnalyzer::analyze(), IsoTrig::analyze(), IsolatedTracksHcalScale::analyze(), L1TSync_Offline::analyze(), L1TBPTX::analyze(), IsolatedGenParticles::analyze(), L1TGCT::analyze(), L1MuonRecoTreeProducer::analyze(), PrimaryVertexAnalyzer4PUSlimmed::analyze(), EcnaAnalyzer::analyze(), ApeEstimator::analyze(), TrackerDpgAnalysis::analyze(), IsolatedTracksNxN::analyze(), BeamHaloAnalyzer::analyze(), Primary4DVertexValidation::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(), ValueMapVariable< ObjType, TIn, ValType >::fill(), TrackDetectorAssociator::fillCaloTruth(), FWECALDetailViewBuilder::fillData(), reco::HcalNoiseInfoProducer::filldigis(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), L1TEGammaOffline::fillElectrons(), L1TStage2CaloLayer2Offline::fillEnergySums(), TrackerHitProducer::fillG4MC(), GlobalHitsAnalyzer::fillG4MC(), GlobalHitsProdHist::fillG4MC(), GlobalHitsProducer::fillG4MC(), MuonIdProducer::fillGlbQuality(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::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(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), TrackDetectorAssociator::fillMuon(), GlobalDigisProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), MuonIdProducer::fillMuonId(), L1TEGammaOffline::fillPhotons(), HcalRecHitsValidation::fillRecHitsTmp(), TrackerValidationVariables::fillTrackQuantities(), HcalIsoTrkAnalyzer::fillTree(), TrackerHitProducer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), ZtoMMEventSelector::filter(), ZtoEEEventSelector::filter(), ClusterMultiplicityFilter::filter(), DetStatus::filter(), HLTPathSelector::filter(), DetectorStateFilter::filter(), HLTHcalMETNoiseCleaner::filter(), HLTHcalLaserFilter::filter(), HLTHcalMETNoiseFilter::filter(), WtoLNuSelector::filter(), LHEJetFilter::filter(), JetMETDQMDCSFilter::filter(), ProbeTreeProducer::filter(), BeamSplash::filter(), ECALActivity::filter(), MuScleFitGenFilter::filter(), IsTBH4Type::filter(), PhysDecl::filter(), BooleanFlagFilter::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()(), GsfEleEffAreaPFIsoCut::operator()(), GsfEleMVACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), PhoAnyPFIsoWithEACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), GsfEleConversionVetoCut::operator()(), GsfEleHadronicOverEMEnergyScaledCut::operator()(), reco::tau::PFRecoTauLostTrackPlugin::operator()(), ZElectronsSelector::operator()(), CosmicTrackingParticleSelector::operator()(), TSGFromPropagation::passSelection(), FastTSGFromPropagation::passSelection(), L1GtUtils::prescaleFactorSetIndex(), RecHitProcessor::process(), StandaloneTrackMonitor::processClusters(), RecHitProcessor::processLook(), ShallowEventDataProducer::produce(), MTDUncalibratedRecHitProducer::produce(), RazorVarProducer::produce(), EcalTBHodoscopeRecInfoProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), EcalTBTDCRecInfoProducer::produce(), HIBestVertexProducer::produce(), HLTDQMMuonSelector::produce(), TrackRefitter::produce(), ESRawToDigi::produce(), AlphaTVarProducer::produce(), HGCalRawToDigiFake::produce(), HFNoseRawToDigiFake::produce(), CaloTowersReCreator::produce(), QuarkoniaTrackSelector::produce(), JetExtender::produce(), HGCalVFEProducer::produce(), ShallowClustersProducer::produce(), ESZeroSuppressionProducer::produce(), MTDRecHitProducer::produce(), VertexAssociatorByPositionAndTracksProducer::produce(), GlobalCosmicMuonProducer::produce(), TtSemiLepSignalSelMVAComputer::produce(), HLTJetL1TMatchProducer< T >::produce(), EcalZeroSuppressionProducer::produce(), L1TkHTMissProducer::produce(), HLTHcalTowerNoiseCleanerWithrechit::produce(), HLTHcalTowerNoiseCleaner::produce(), HGCalRecHitProducer::produce(), DTUnpackingModule::produce(), CandidateTriggerObjectProducer::produce(), RPCPointProducer::produce(), MuonTrackProducer::produce(), TrackProducerWithSCAssociation::produce(), PhotonCoreProducer::produce(), ConvertObjectMapRecord::produce(), FakeTBEventHeaderProducer::produce(), HectorProducer::produce(), EcalTBWeightUncalibRecHitProducer::produce(), VertexCompositeCandidateCollectionSelector::produce(), HcalDigiToRaw::produce(), ME0TriggerPseudoProducer::produce(), CSCTFPacker::produce(), ReducedESRecHitCollectionProducer::produce(), VertexFromTrackProducer::produce(), TBHodoActiveVolumeRawInfoProducer::produce(), L1TTwinMuxProducer::produce(), MuonSeedGenerator::produce(), TriggerMatchProducer< object >::produce(), L1TrackerEtMissProducer::produce(), GlobalTrackQualityProducer::produce(), ConversionTrackMerger::produce(), MultShiftMETcorrInputProducer::produce(), PFTrackProducer::produce(), HybridClusterProducer::produce(), PFPhotonTranslator::produce(), L1GctInternJetProducer::produce(), L1TkHTMissEmulatorProducer::produce(), HcalTrigPrimDigiProducer::produce(), HGCalLayerClusterProducer::produce(), AlCaElectronTracksReducer::produce(), pat::LeptonUpdater< T >::produce(), SETMuonSeedProducer::produce(), ReducedRecHitCollectionProducer::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), L1TMuonQualityAdjuster::produce(), MultShiftMETcorrDBInputProducer::produce(), HcalRecHitRecalib::produce(), L1CaloJetHTTProducer::produce(), RecoTauGenericJetRegionProducer< JetType, CandType >::produce(), TrackMVAClassifierBase::produce(), L1EmulBias::produce(), EcalRecHitRecalib::produce(), PixelVertexProducer::produce(), Onia2MuMuPAT::produce(), CaloTowersMerger::produce(), ConversionSeedFilter::produce(), HBHENoiseFilterResultProducer::produce(), MTDClusterProducer::produce(), HcalDigiToRawuHTR::produce(), L1TGlobalProducer::produce(), TcdsRawToDigi::produce(), PhotonProducer::produce(), cms::MuonTCMETValueMapProducer::produce(), ConvertedPhotonProducer::produce(), L1GctEmulator::produce(), L1GlobalTriggerRecordProducer::produce(), EventWithHistoryProducerFromL1ABC::produce(), L1Comparator::produce(), EgammaHLTNxNClusterProducer::produce(), EcalDetailedTimeRecHitProducer::produce(), ZdcHitReconstructor::produce(), L1GTEvmDigiToRaw::produce(), pat::PATIsolatedTrackProducer::produce(), OnlineMetaDataRawToDigi::produce(), L1TExtCondProducer::produce(), pat::PATPhotonProducer::produce(), FFTJetPFPileupCleaner::produce(), HcalHitSelection::produce(), L1TMuonLegacyConverter::produce(), L1GTDigiToRaw::produce(), L1TrackerEtMissEmulatorProducer::produce(), FFTJetVertexAdder::produce(), PPSSimTrackProducer::produce(), AlCaDiJetsProducer::produce(), IsolatedEcalPixelTrackCandidateProducer::produce(), L1TExtCondLegacyToStage2::produce(), L1GlobalTriggerEvmRawToDigi::produce(), MuIsolatorResultProducer< BT >::produce(), PFTauPrimaryVertexProducerBase::produce(), pat::PATTriggerEventProducer::produce(), JetTagProducer::produce(), PrimaryVertexProducer::produce(), L1ExtraParticlesProd::produce(), RPCTrigger::produce(), APVCyclePhaseProducerFromL1ABC::produce(), SoftPFMuonTagInfoProducer::produce(), GenFilterEfficiencyProducer::produce(), CSCTriggerPrimitivesProducer::produce(), L1TCaloLayer1::produce(), ConditionDumperInEdm::produce(), APVCyclePhaseProducerFromL1TS::produce(), JetIdSelector< T >::produce(), L1GlobalTriggerRawToDigi::produce(), ConversionProducer::produce(), PFSimParticleProducer::produce(), pat::PATElectronProducer::produce(), TriggerMatcherToHLTDebug::produce(), MuonIdProducer::produce(), L1TCaloLayer1RawToDigi::produce(), RPCTechnicalTrigger::produce(), pat::PATTriggerProducer::produce(), L1GlobalTrigger::produce(), HadronAndPartonSelector::produce(), GEDPhotonProducer::produce(), pat::PATMuonProducer::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(), 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(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), GsfEleRelPFIsoScaledCut::value(), PhoAnyPFIsoWithEACut::value(), PhoAnyPFIsoWithEAAndExpoScalingCut::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_, std::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(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
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