CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
core.AutoHandle.AutoHandle Class Reference
Inheritance diagram for core.AutoHandle.AutoHandle:

Public Member Functions

def __init__ (self, label, type, mayFail=False, fallbackLabel=None, lazy=True, disableAtFirstFail=True)
 
def Load (self, event)
 
def product (self)
 
def ReallyLoad (self, event)
 

Public Attributes

 autoDisable
 
 disabled
 
 event
 
 fallbackLabel
 
 isLoaded
 
 label
 if I succeeded, swap default and fallback assuming that the next event will be like this one More...
 
 lazy
 
 mayFail
 
 type
 

Detailed Description

Handle + label.

Definition at line 6 of file AutoHandle.py.

Constructor & Destructor Documentation

def core.AutoHandle.AutoHandle.__init__ (   self,
  label,
  type,
  mayFail = False,
  fallbackLabel = None,
  lazy = True,
  disableAtFirstFail = True 
)
Note: label can be a tuple : (module_label, collection_label, process)

Definition at line 11 of file AutoHandle.py.

11  def __init__(self, label, type, mayFail=False, fallbackLabel=None, lazy=True,disableAtFirstFail=True):
12  '''Note: label can be a tuple : (module_label, collection_label, process)'''
13  self.label = label
14  self.fallbackLabel = fallbackLabel
15  self.type = type
16  self.mayFail = mayFail
17  self.lazy = lazy
18  self.isLoaded = False
19  self.autoDisable = disableAtFirstFail;
20  self.disabled= False
21  Handle.__init__(self, self.type)
def __init__(self, label, type, mayFail=False, fallbackLabel=None, lazy=True, disableAtFirstFail=True)
Definition: AutoHandle.py:11
label
if I succeeded, swap default and fallback assuming that the next event will be like this one ...
Definition: AutoHandle.py:13

Member Function Documentation

def core.AutoHandle.AutoHandle.Load (   self,
  event 
)

Definition at line 28 of file AutoHandle.py.

28  def Load(self, event): #is actually a reset state
29  self.event=event
30  self.isLoaded=False
31  if self.lazy==False: self.ReallyLoad(self.event)
32 
def Load(self, event)
Definition: AutoHandle.py:28
def ReallyLoad(self, event)
Definition: AutoHandle.py:33
def core.AutoHandle.AutoHandle.product (   self)
def core.AutoHandle.AutoHandle.ReallyLoad (   self,
  event 
)
Load self from a given event.

Call this function, and then just call self.product() to get the collection

Definition at line 33 of file AutoHandle.py.

References core.AutoHandle.AutoHandle.autoDisable, core.AutoHandle.AutoHandle.disabled, core.AutoHandle.AutoHandle.fallbackLabel, edm::FileFormatVersion.isValid(), MeasurementDetWithData.isValid(), reco::PFMultiLinksTC.isValid, edm::FileID.isValid(), GlobalParametersWithPath.isValid(), TtSemiLepJetCombMaxSumPtWMass.isValid(), ExtendedPerigeeTrajectoryError.isValid(), DetIdSelector.isValid(), TtSemiLepJetCombGeom.isValid(), TtSemiLepJetCombWMassMaxSumPt.isValid(), GEMPadDigi.isValid(), GEMCoPadDigi.isValid(), edm::ElementID.isValid(), edm::BranchID.isValid(), fftjetcms::EtaAndPtDependentPeakSelector.isValid(), SeedFromProtoTrack.isValid(), reco::TrackGhostTrackState.isValid(), TtSemiLepJetCombWMassDeltaTopMass.isValid(), TwoBodyDecayTrajectoryState.isValid(), SubLayerCrossings.isValid(), DaqScopeModeAnalysis.isValid(), cms::MD5Result.isValid(), CSCALCTDigi.isValid(), ExtendedPerigeeTrajectoryParameters.isValid(), MediumProperties.isValid(), ApvTimingAnalysis.isValid(), CalibrationScanAnalysis.isValid(), NoiseAnalysis.isValid(), OptoScanAnalysis.isValid(), PedestalsAnalysis.isValid(), PedsOnlyAnalysis.isValid(), VpspScanAnalysis.isValid(), FiducialVolume.isValid(), BeamConfiguration.isValid(), FastLine.isValid(), PedsFullNoiseAnalysis.isValid(), CSCCLCTDigi.isValid(), CSCCLCTPreTriggerDigi.isValid(), ConversionFastHelix.isValid(), edm::ProductID.isValid(), FastFedCablingAnalysis.isValid(), FedCablingAnalysis.isValid(), DTOccupancyCluster.isValid(), PFGsfHelper.isValid(), MillePedeVariables.isValid(), CovarianceParameterization.isValid(), L1MuonPixelTrackFitter::Circle.isValid(), SiStripNullKey.isValid(), HLTTauDQMPlotter.isValid(), LMFRunTag.isValid(), GenericProjectedRecHit2D.isValid(), reco::BasicGhostTrackState.isValid(), CalibrationAnalysis.isValid(), GammaNumericalGenerator.isValid(), PerigeeKinematicState.isValid(), HLTTauDQMPath.isValid(), edm::test::TestHandle< T >.isValid(), CSCCorrelatedLCTDigi.isValid(), PixelKeys.isValid(), reco::GhostTrackState.isValid(), ESHandle< L1TMuonOverlapParams >.isValid(), ESHandle< L1TriggerKeyListExt >.isValid(), ESHandle< DTCCBConfig >.isValid(), ESHandle< HcalGainWidths >.isValid(), ESHandle< HcalL1TriggerObjects >.isValid(), ESHandle< HcalLongRecoParams >.isValid(), ESHandle< HcalLUTCorrs >.isValid(), ESHandle< L1TGlobalPrescalesVetos >.isValid(), ESHandle< L1TGlobalParameters >.isValid(), ESHandle< HcalMCParams >.isValid(), ESHandle< L1RPCHwConfig >.isValid(), ESHandle< HcalPFCorrs >.isValid(), ESHandle< TTUBoardSpecs >.isValid(), ESHandle< HcalQIEData >.isValid(), ESHandle< HcalQIETypes >.isValid(), ESHandle< L1TMuonGlobalParams >.isValid(), ESHandle< HcalRecoParams >.isValid(), ESHandle< HcalSiPMCharacteristics >.isValid(), ESHandle< HcalSiPMParameters >.isValid(), ESHandle< HcalTimeCorrs >.isValid(), ESHandle< HcalTimingParams >.isValid(), ESHandle< HcalTPChannelParameters >.isValid(), ESHandle< RBCBoardSpecs >.isValid(), ESHandle< HcalTPParameters >.isValid(), ESHandle< L1RPCConeBuilder >.isValid(), ESHandle< HcalValidationCorrs >.isValid(), edm::ESHandleBase.isValid(), ESHandle< HcalZDCLowGainFractions >.isValid(), ESHandle< HcalZSThresholds >.isValid(), ESHandle< TTClusterAlgorithm< T >.isValid(), ESHandle< Type >.isValid(), ESHandle< TTStubAlgorithm< T >.isValid(), ESHandle< L1TriggerKey >.isValid(), ESHandle< L1TriggerKeyExt >.isValid(), ESHandle< RPCObImon >.isValid(), ESHandle< MagFieldConfig >.isValid(), ESHandle< RPCObPVSSmap >.isValid(), ESHandle< RPCStripNoises >.isValid(), ESHandle< T >.isValid(), ESHandle< FillInfo >.isValid(), ESHandle< L1RCTNoisyChannelMask >.isValid(), ESHandle< L1RCTChannelMask >.isValid(), ESHandle< L1GtPsbSetup >.isValid(), ESHandle< L1TriggerScaler >.isValid(), ESHandle< L1RPCBxOrConfig >.isValid(), ESHandle< L1RPCHsbConfig >.isValid(), ESHandle< L1RPCConeDefinition >.isValid(), ESHandle< RunSummary >.isValid(), ESHandle< L1MuCSCTFAlignment >.isValid(), ESHandle< L1TriggerKeyList >.isValid(), ESHandle< TrackerDetToDTCELinkCablingMap >.isValid(), ESHandle< SiStripApvSimulationParameters >.isValid(), ESHandle< SiStripFecCabling >.isValid(), ESHandle< SiStripSummary >.isValid(), ESHandle< EcalIntercalibConstants >.isValid(), ESHandle< EcalIntercalibConstantsMC >.isValid(), ESHandle< HcalLutMetadata >.isValid(), ESHandle< HcalTrigTowerGeometry >.isValid(), ESHandle< CastorPedestals >.isValid(), ESHandle< CastorPedestalWidths >.isValid(), ESHandle< CastorGains >.isValid(), ESHandle< CastorGainWidths >.isValid(), ESHandle< CastorQIEData >.isValid(), ESHandle< CastorChannelQuality >.isValid(), ESHandle< CastorElectronicsMap >.isValid(), ESHandle< CastorDbService >.isValid(), ESHandle< EcalLaserAlphas >.isValid(), ESTransientHandle< DDDetector >.isValid(), ESTransientHandle< DDVectorRegistry >.isValid(), ESHandle< DDDetector >.isValid(), ESTransientHandle< DDSpecParRegistry >.isValid(), ESHandle< EcalLaserAPDPNRatiosRef >.isValid(), ESHandle< SiStripConfObject >.isValid(), ESHandle< EcalLaserAPDPNRatios >.isValid(), ESHandle< EcalLinearCorrections >.isValid(), PixelForwardLayer::SubTurbineCrossings.isValid, ESHandle< EcalTPGPedestals >.isValid(), ESHandle< EcalTPGLinearizationConst >.isValid(), ESHandle< EcalTPGSlidingWindow >.isValid(), ESHandle< EcalTPGFineGrainEBIdMap >.isValid(), ESHandle< EcalTPGFineGrainStripEE >.isValid(), ESHandle< EcalTPGFineGrainTowerEE >.isValid(), ESHandle< CSCCrateMap >.isValid(), ESHandle< EcalTPGLutIdMap >.isValid(), ESHandle< EcalTPGWeightIdMap >.isValid(), ESHandle< CTPPSGeometry >.isValid(), ESHandle< EcalTPGWeightGroup >.isValid(), ESHandle< EcalTPGLutGroup >.isValid(), ESHandle< L1MuGMTScales >.isValid(), ESHandle< L1GctChannelMask >.isValid(), ESHandle< EcalTPGFineGrainEBGroup >.isValid(), ESHandle< EcalTPGPhysicsConst >.isValid(), ESHandle< EcalTPGCrystalStatus >.isValid(), ESHandle< DTConfigManager >.isValid(), ESHandle< EcalTPGSpike >.isValid(), ESHandle< EcalPedestals >.isValid(), ESHandle< CSCDBL1TPParameters >.isValid(), ESHandle< L1MuCSCTFConfiguration >.isValid(), ESHandle< EcalGainRatios >.isValid(), ESHandle< EcalWeightXtalGroups >.isValid(), ESHandle< EcalIntercalibErrors >.isValid(), ESHandle< EcalTimeCalibConstants >.isValid(), ESHandle< EcalTimeCalibErrors >.isValid(), ESHandle< EcalClusterLocalContCorrParameters >.isValid(), ESHandle< DTTPGParameters >.isValid(), ESHandle< QGLikelihoodSystematicsObject >.isValid(), ESHandle< QGLikelihoodObject >.isValid(), ESHandle< EcalClusterCrackCorrParameters >.isValid(), ESHandle< JME::JetResolutionObject >.isValid(), ESHandle< JetCorrector >.isValid(), ESHandle< FFTJetCorrectorParameters >.isValid(), ESHandle< EcalClusterEnergyCorrectionParameters >.isValid(), ESHandle< EcalClusterEnergyUncertaintyParameters >.isValid(), ESHandle< MixingModuleConfig >.isValid(), ESHandle< EcalClusterEnergyCorrectionObjectSpecificParameters >.isValid(), ESHandle< EcalChannelStatus >.isValid(), ESHandle< HcalTimeSlew >.isValid(), ESHandle< EcalSRSettings >.isValid(), ESTransientHandle< HcalPedestals >.isValid(), ESTransientHandle< HcalPedestalWidths >.isValid(), ESHandle< HcalPedestals >.isValid(), ESHandle< HcalPedestalWidths >.isValid(), ESTransientHandle< ProductType >.isValid(), ESHandle< ProductType >.isValid(), ESHandle< HBHEDarkening >.isValid(), ESHandle< HcalTPGCoder >.isValid(), ESHandle< CaloTPGTranscoder >.isValid(), ESHandle< DTStatusFlag >.isValid(), ESHandle< L1MuTriggerScales >.isValid(), ESHandle< CTPPSRPAlignmentCorrectionsData >.isValid(), ESHandle< L1MuTriggerPtScale >.isValid(), ESHandle< LHCOpticalFunctionsSetCollection >.isValid(), ESHandle< LHCInfo >.isValid(), ESHandle< TotemDAQMapping >.isValid(), ESHandle< TotemAnalysisMask >.isValid(), ESTransientHandle< SiPixelFedCablingMap >.isValid(), ESTransientHandle< RPCEMap >.isValid(), ESHandle< HcalRespCorrs >.isValid(), ESHandle< PixelClusterParameterEstimator >.isValid(), ESHandle< HcalDDDRecConstants >.isValid(), ESHandle< LumiCorrections >.isValid(), ESHandle< BeamSpotObjects >.isValid(), ESHandle< DropBoxMetadata >.isValid(), ESHandle< JetTagComputer >.isValid(), ESHandle< SiPixelFEDChannelContainer >.isValid(), ESHandle< SiPixel2DTemplateDBObject >.isValid(), ESHandle< SiPixelGenErrorDBObject >.isValid(), ESHandle< SiPixelTemplateDBObject >.isValid(), ESHandle< SetupData >.isValid(), ESHandle< CSCChamberMap >.isValid(), ESHandle< EcalChannelStatusMap >.isValid(), ESHandle< TkDetMap >.isValid(), ESHandle< TObject >.isValid(), ESHandle< L1CaloGeometry >.isValid(), ESHandle< L1CaloEtScale >.isValid(), ESHandle< SiStripBaseDelay >.isValid(), ESHandle< GEMeMap >.isValid(), ESHandle< SiStripBadStrip >.isValid(), ESHandle< L1GtBoardMaps >.isValid(), ESHandle< L1GtParameters >.isValid(), ESHandle< L1GtStableParameters >.isValid(), ESHandle< L1GtTriggerMask >.isValid(), ESHandle< CaloTPGTranscoderULUT >.isValid(), ESHandle< Phase2TrackerCabling >.isValid(), ESHandle< RPCInverseAMCLinkMap >.isValid(), ESHandle< RPCInverseLBLinkMap >.isValid(), ESHandle< RPCEMap >.isValid(), ESHandle< TrackerInteractionGeometry >.isValid(), ESHandle< PGeometricDet >.isValid(), ESHandle< MagneticFieldMap >.isValid(), ESHandle< HcalDDDSimConstants >.isValid(), ESHandle< TGeoManager >.isValid(), ESHandle< DDCompactView >.isValid(), ESHandle< FWRecoGeometry >.isValid(), ESTransientHandle< FWRecoGeometry >.isValid(), ESTransientHandle< FWTGeoRecoGeometry >.isValid(), ESTransientHandle< TGeoManager >.isValid(), ESHandle< HGCalDDDConstants >.isValid(), ESTransientHandle< DTGeometry >.isValid(), ESHandle< RecoIdealGeometry >.isValid(), ESHandle< GeometricTimingDet >.isValid(), ESHandle< MTDTopology >.isValid(), ESHandle< PMTDParameters >.isValid(), ESHandle< PGeometricTimingDet >.isValid(), ESHandle< PGeometricTimingDetExtra >.isValid(), ESTransientHandle< cms::MuonNumbering >.isValid(), ESHandle< AlignmentErrorsExtended >.isValid(), ESHandle< PGeometricDetExtra >.isValid(), ESTransientHandle< FileBlob >.isValid(), ESHandle< L1TUtmTriggerMenu >.isValid(), ESHandle< SiStripLatency >.isValid(), ESHandle< AlCaRecoTriggerBits >.isValid(), ESHandle< RunInfo >.isValid(), ESTransientHandle< DDCompactView >.isValid(), ESHandle< PTrackerParameters >.isValid(), ESHandle< SimBeamSpotObjects >.isValid(), ESHandle< JetCorrectorParametersCollection >.isValid(), ESHandle< AlignmentSurfaceDeformations >.isValid(), ESHandle< JetResolutionObject >.isValid(), ESTransientHandle< FFTJetCorrectorParameters >.isValid(), ESHandle< CTPPSPixelDAQMapping >.isValid(), ESHandle< CTPPSPixelAnalysisMask >.isValid(), ESHandle< MEtXYcorrectParametersCollection >.isValid(), ESHandle< CTPPSPixelGainCalibrations >.isValid(), ESHandle< MuonDDDConstants >.isValid(), ESHandle< PPSTimingCalibration >.isValid(), ESHandle< CTPPSBeamParameters >.isValid(), ESHandle< FileBlob >.isValid(), ESHandle< L1MuCSCPtLut >.isValid(), ESHandle< DQMSummary >.isValid(), ESHandle< SurveyErrors >.isValid(), ESHandle< cond::persistency::KeyList >.isValid(), ESHandle< EcalDQMChannelStatus >.isValid(), ESHandle< EcalDQMTowerStatus >.isValid(), ESHandle< L1GctJetFinderParams >.isValid(), ESHandle< EcalDCSTowerStatus >.isValid(), ESHandle< EcalDAQTowerStatus >.isValid(), ESHandle< EcalPFRecHitThresholds >.isValid(), ESHandle< L1MuGMTParameters >.isValid(), ESHandle< L1MuGMTChannelMask >.isValid(), ESHandle< EcalSimPulseShape >.isValid(), ESHandle< ESPedestals >.isValid(), ESHandle< ESADCToGeVConstant >.isValid(), ESHandle< ESChannelStatus >.isValid(), ESHandle< ESIntercalibConstants >.isValid(), ESHandle< ESWeightStripGroups >.isValid(), ESHandle< ESTBWeights >.isValid(), ESHandle< PCaloGeometry >.isValid(), ESHandle< CaloTowerTopology >.isValid(), ESHandle< HGCalTopology >.isValid(), ESHandle< l1t::CaloParams >.isValid(), vector< GeometricDetExtra >.isValid(), ESHandle< DataType >.isValid(), ESHandle< CaloParams >.isValid(), ESHandle< CaloConfig >.isValid(), ESHandle< OOTPileupCorrectionBuffer >.isValid(), ESHandle< S >.isValid(), ESHandle< CastorRecoParams >.isValid(), ESHandle< CastorSaturationCorrs >.isValid(), ESHandle< L1CaloEcalScale >.isValid(), ESHandle< L1CaloHcalScale >.isValid(), ESHandle< HcalDcsMap >.isValid(), ESHandle< HcalDcsValues >.isValid(), ESHandle< AlignPCLThresholds >.isValid(), ESHandle< HcalElectronicsMap >.isValid(), ESHandle< L1RPCConfig >.isValid(), ESHandle< HcalFlagHFDigiTimeParams >.isValid(), ESHandle< HcalFrontEndMap >.isValid(), ESHandle< L1RCTParameters >.isValid(), ESHandle< HcalGains >.isValid(), PixelForwardLayerPhase1::SubTurbineCrossings.isValid, fwlite::ESHandle< T >.isValid(), LumiDetails.isValid(), AlgoMuon.isValid(), LMFUnique.isValid(), KinematicParametersError.isValid(), TwoBodyDecay.isValid(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler.isValid(), BasicVertexState.isValid(), HcalLayerDepthMap.isValid(), cond::persistency::BasePayloadProxy.isValid(), LMFColor.isValid(), LMFSeqDat.isValid(), CommissioningAnalysis.isValid(), edm::TriggerResultsByName.isValid(), RefToBaseVector< reco::Muon >.isValid(), RefToBaseVector< reco::Candidate >.isValid(), edm::RefToBaseVector< T >.isValid(), HcalHPDRBXMap.isValid(), SeedFromNuclearInteraction.isValid(), l1t::CaloCluster.isValid(), edm::RefToBaseVector< reco::Jet >.isValid(), edm::RefToBaseVector< reco::Track >.isValid(), RefToBaseVector< T >.isValid(), KinematicTree.isValid(), cond::Iov_t.isValid(), FWRepresentationInfo.isValid(), DetSet< TTCluster< Ref_Phase2TrackerDigi_ >.isValid(), iterator.isValid(), edmNew::DetSet< T >.isValid(), DetSet< TTStub< Ref_Phase2TrackerDigi_ >.isValid(), DetSet< T >.isValid(), CTPPSTimingLocalTrack.isValid(), DetSet< SiStripCluster >.isValid(), DetSet< Phase2TrackerCluster1D >.isValid(), DetSet< SiPixelCluster >.isValid(), TtFullHadHypothesis.isValid(), FastCircle.isValid(), HGCalDetId.isValid(), TtFullLepHypothesis.isValid(), OrphanHandle< reco::TrackInfoCollection >.isValid(), OrphanHandle< PATPrimitiveCollection >.isValid(), vector< pat::GenericParticle >.isValid(), OrphanHandle< reco::GenParticleCollection >.isValid(), edm::OrphanHandleBase.isValid(), OrphanHandle< C >.isValid(), TestHandle< C >.isValid(), OrphanHandle< product_type >.isValid(), TestHandle< product_type >.isValid(), OrphanHandle< PROD >.isValid(), OrphanHandle< TriggerObjectMatch >.isValid(), OrphanHandle< SiPixelClusters >.isValid(), OrphanHandle< SiStripClusters >.isValid(), OrphanHandle< Phase2TrackerCluster1Ds >.isValid(), OrphanHandle< L1EmParticleCollection >.isValid(), OrphanHandle< L1EtMissParticleCollection >.isValid(), OrphanHandle< L1JetParticleCollection >.isValid(), OrphanHandle< OutputCollection >.isValid(), OrphanHandle< reco::PreIdCollection >.isValid(), OrphanHandle< TrackingRecHitCollection >.isValid(), OrphanHandle< reco::TrackExtraCollection >.isValid(), OrphanHandle< reco::PFCandidateCollection >.isValid(), OrphanHandle< pat::PackedCandidateCollection >.isValid(), OrphanHandle< Collection >.isValid(), OrphanHandle< reco::PhotonCollection >.isValid(), OrphanHandle< reco::MuonCollection >.isValid(), OwnVector< pat::UserData >.isValid(), OrphanHandle< reco::VertexCollection >.isValid(), OrphanHandle< pat::CompositeCandidateCollection >.isValid(), OrphanHandle< TriggerEvent >.isValid(), OrphanHandle< TriggerEventWithRefs >.isValid(), OrphanHandle< collection_t >.isValid(), vector< Trajectory >.isValid(), OrphanHandle< L1MuonParticleCollection >.isValid(), OrphanHandle< L1HFRingsCollection >.isValid(), edm::RootOutputTree.isValid(), npstat::ArrayNDScanner.isValid(), LMFRunIOV.isValid(), TrajectoryStateClosestToBeamLine.isValid(), SummaryPlot.isValid(), Handle< vector< reco::GenParticle >.isValid(), Handle< trigger::TriggerEvent >.isValid(), fwlite::Handle< T >.isValid(), fwlite::Handle< Collection >.isValid(), Handle< L1GtTriggerMenuLite >.isValid(), Handle< edm::TriggerResults >.isValid(), TrajectoryStateOnSurface.isValid(), Hash< I >.isValid(), value_type.isValid(), FastHelix.isValid(), edm::Hash< I >.isValid(), edm::Hash< ProcessConfigurationType >.isValid(), edm::Hash< ModuleDescriptionType >.isValid(), edm::Hash< ParameterSetType >.isValid(), edm::Hash< ParentageType >.isValid(), edm::Hash< EntryDescriptionType >.isValid(), edm::Hash< ProcessHistoryType >.isValid(), LMFClsDat.isValid(), TtSemiLepHypothesis.isValid(), ProxyBase11< T >.isValid(), npstat::BoxNDScanner< Numeric >.isValid(), KinematicParameters.isValid(), sistrip::SpyUtilities.isValid(), StripKeys.isValid(), SteppingHelixStateInfo.isValid(), reco::Vertex.isValid(), LMFLaserPulseDat.isValid(), BasicSingleVertexState.isValid(), SiStripKey.isValid(), L1TBeamConfiguration.isValid(), View< pat::Muon >.isValid(), View< pat::Electron >.isValid(), View< reco::MET >.isValid(), Handle< RPCRawDataCounts >.isValid(), Handle< reco::TrackJetCollection >.isValid(), Handle< PhotonCollection >.isValid(), Handle< TYPE >.isValid(), Handle< CSCComparatorDigiCollection >.isValid(), Handle< BasicJetCollection >.isValid(), Handle< reco::PFTauCollection >.isValid(), Handle< View< Photon >.isValid(), DetSetVector< Phase2TrackerDigi >.isValid(), Handle< View< reco::Vertex >.isValid(), Handle< View< GsfElectron >.isValid(), vector< reco::Track >.isValid(), Handle< BXVector< T >.isValid(), Handle< reco::EvtPlaneCollection >.isValid(), Handle< EcalRecHitCollection >.isValid(), vector< reco::PFMET >.isValid(), View< reco::Vertex >.isValid(), View< reco::GsfElectron >.isValid(), Handle< l1t::EMTFTrackCollection >.isValid(), Handle< l1t::EMTFHitCollection >.isValid(), Handle< View< reco::Muon >.isValid(), Handle< l1t::MuonBxCollection >.isValid(), Handle< L1GctEtTotalCollection >.isValid(), Handle< L1GctEtHadCollection >.isValid(), Handle< reco::CaloMuonCollection >.isValid(), Handle< L1GctEtMissCollection >.isValid(), Handle< L1MuDTTrackContainer >.isValid(), Handle< T >.isValid(), Handle< l1t::HGCalTowerMapBxCollection >.isValid(), Handle< CSCTriggerContainer< csctf::TrackStub >.isValid(), Handle< L1CSCTrackCollection >.isValid(), Handle< L1CSCStatusDigiCollection >.isValid(), Handle< reco::IsolatedPixelTrackCandidateCollection >.isValid(), Handle< MuonCollection >.isValid(), Handle< RPCTag::digi_collection >.isValid(), Handle< TrajectoryCollection >.isValid(), Handle< MicroGMTConfiguration::CaloInputCollection >.isValid(), Handle< L1CaloEmCollection >.isValid(), Handle< L1EtMissParticleCollection >.isValid(), Handle< L1JetParticleCollection >.isValid(), Handle< emtf::CPPFTag::digi_collection >.isValid(), Handle< l1t::RegionalMuonCandBxCollection >.isValid(), View< reco::Track >.isValid(), edm::BasicHandle.isValid(), vector< L1MuKBMTCombinedStub >.isValid(), Handle< vector< reco::PFJet >.isValid(), vector< Vertex >.isValid(), Handle< ZDCDigiCollection >.isValid(), Handle< HcalTrigPrimDigiCollection >.isValid(), Handle< GEMAMCdataCollection >.isValid(), Handle< GEMGEBdataCollection >.isValid(), Handle< GEMVfatStatusDigiCollection >.isValid(), DetSetVector< SiStripCluster >.isValid(), Handle< ESRecHitCollection >.isValid(), Handle< ESLocalRawDataCollection >.isValid(), Handle< BeamSpot >.isValid(), SortedCollection< HODataFrame >.isValid(), Handle< HcalTBTriggerData >.isValid(), Handle< GEMTag::digi_collection >.isValid(), Handle< ME0PadDigiClusterCollection >.isValid(), DetSetVector< RPCDigiSimLink >.isValid(), Handle< EBDetIdCollection >.isValid(), Handle< CollectionClass >.isValid(), Handle< DTLocalTriggerCollection >.isValid(), Handle< l1t::CaloClusterBxCollection >.isValid(), Handle< DTDDUCollection >.isValid(), Handle< DTuROSFEDDataCollection >.isValid(), Handle< DTRecSegment2DCollection >.isValid(), vector< std::string >.isValid(), Handle< CaloMETCollection >.isValid(), Handle< vector< math::XYZTLorentzVector >.isValid(), Handle< reco::ElectronCollection >.isValid(), Handle< L1GctJetCountsCollection >.isValid(), Handle< vector< math::PtEtaPhiMLorentzVector >.isValid(), DetSetVector< TotemTimingRecHit >.isValid(), DetSetVector< TotemTimingDigi >.isValid(), Handle< l1t::HGCalClusterBxCollection >.isValid(), Handle< DetSetVector< TotemRPCluster >.isValid(), Handle< CSCTag::digi_collection >.isValid(), Handle< MicroGMTConfiguration::InputCollection >.isValid(), DetSetVector< SiPixelCluster >.isValid(), Handle< DetSetVector< TotemRPLocalTrack >.isValid(), Handle< pat::MuonCollection >.isValid(), Handle< DetSetVector< TotemRPRecHit >.isValid(), Handle< l1t::HGCalTowerBxCollection >.isValid(), Handle< DetSetVector< CTPPSPixelCluster >.isValid(), Handle< DetSetVector< CTPPSPixelDigi >.isValid(), DetSetVector< CTPPSDiamondLocalTrack >.isValid(), DetSetVector< CTPPSDiamondRecHit >.isValid(), vector< TotemFEDInfo >.isValid(), DetSetVector< CTPPSDiamondDigi >.isValid(), DetSetVector< CTPPSPixelLocalTrack >.isValid(), Handle< l1t::HGCalMulticlusterBxCollection >.isValid(), Handle< l1t::HGCFETriggerDigiCollection >.isValid(), Handle< vector< reco::ForwardProton >.isValid(), Handle< vector< CTPPSLocalTrackLite >.isValid(), Handle< CTPPSRecord >.isValid(), Handle< L1EtMissParticle >.isValid(), Handle< reco::CastorTowerCollection >.isValid(), Handle< CastorRecHitCollection >.isValid(), Handle< HcalUnpackerReport >.isValid(), Handle< SiPixelClusterCollectionNew >.isValid(), Handle< BeamSpotOnlineCollection >.isValid(), View< reco::Photon >.isValid(), vector< reco::GenParticle >.isValid(), Handle< reco::JetIDValueMap >.isValid(), Handle< reco::SecondaryVertexTagInfoCollection >.isValid(), Handle< FileBlobCollection >.isValid(), ObjectRefPairBxCollection< T >.isValid(), Handle< reco::CandViewMatchMap >.isValid(), Handle< l1t::HGCalTriggerCellBxCollection >.isValid(), Handle< CSCWireDigiCollection >.isValid(), Handle< vector< pat::Muon >.isValid(), map< unsigned int, int >.isValid(), Handle< ClusterSummary >.isValid(), vector< Muon >.isValid(), Handle< BXVector< GlobalExtBlk >.isValid(), Handle< L1AcceptBunchCrossingCollection >.isValid(), Handle< Level1TriggerScalersCollection >.isValid(), Handle< BXVector< GlobalAlgBlk >.isValid(), Handle< HBHERecHitCollection >.isValid(), Handle< SimTrackContainer >.isValid(), Handle< BXVector< l1t::Muon >.isValid(), Association< pat::PackedCandidateCollection >.isValid(), Handle< View< Candidate >.isValid(), DetSetVector< SiStripProcessedRawDigi >.isValid(), Handle< EcalRawDataCollection >.isValid(), Handle< HFRecHitCollection >.isValid(), Handle< GsfElectronCollection >.isValid(), Handle< SiStripClusters >.isValid(), Handle< SiPixelClusters >.isValid(), Handle< CaloJetCollection >.isValid(), Handle< HORecHitCollection >.isValid(), Handle< BXVector< l1t::Jet >.isValid(), Handle< TriggerObjectMatch >.isValid(), Handle< TriggerObjectCollection >.isValid(), Handle< TriggerFilterCollection >.isValid(), Handle< TriggerPathCollection >.isValid(), Handle< TriggerConditionCollection >.isValid(), vector< reco::GsfElectron >.isValid(), vector< reco::Vertex >.isValid(), Handle< vector< reco::Track >.isValid(), Handle< View< element_type >.isValid(), ObjectRefBxCollection< T >.isValid(), Handle< product_type >.isValid(), DetSetVector< Digitype >.isValid(), vector< TInputCandidateType >.isValid(), Handle< BXVector< CaloTower >.isValid(), Handle< PROD >.isValid(), Handle< BXVector< CaloRegion >.isValid(), Handle< View< ELEMENT >.isValid(), Handle< TriggerAlgorithmCollection >.isValid(), Handle< BXVector< l1t::EGamma >.isValid(), Handle< BXVector< CaloEmCand >.isValid(), edm::HandleBase.isValid(), Handle< BXVector< l1t::Tau >.isValid(), Handle< CSCCLCTDigiCollection >.isValid(), Handle< reco::SoftLeptonTagInfoCollection >.isValid(), Handle< View< BaseTagInfo >.isValid(), Handle< CastorDigiCollection >.isValid(), Handle< BXVector< l1t::CaloCluster >.isValid(), Handle< Phase2TrackerCluster1Ds >.isValid(), Handle< vector< Trajectory >.isValid(), DetSetVector< TTStub< Ref_Phase2TrackerDigi_ >.isValid(), Handle< TkFittedLasBeamCollection >.isValid(), Handle< L1GctInternEtSumCollection >.isValid(), Handle< EcalPnDiodeDigiCollection >.isValid(), Handle< PATPrimitiveCollection >.isValid(), Handle< EBUncalibratedRecHitCollection >.isValid(), Handle< EcalMatacqDigiCollection >.isValid(), Handle< APVCyclePhaseCollection >.isValid(), Handle< EcalTBEventHeader >.isValid(), Handle< L1HFRingsCollection >.isValid(), Handle< L1GctInternHFDataCollection >.isValid(), Handle< EventWithHistory >.isValid(), Handle< L1GctInternEmCandCollection >.isValid(), Handle< L1GctFibreCollection >.isValid(), Handle< edm::ConditionsInRunBlock >.isValid(), RefVector< collection >.isValid(), Handle< GenParticleCollection >.isValid(), Handle< CSCDCCFormatStatusDigiCollection >.isValid(), Handle< PFClusterCollection >.isValid(), Handle< ErrorList >.isValid(), LMFPnPrimDat.isValid(), Handle< EESrFlagCollection >.isValid(), DetSetVector< SiStripRawDigi >.isValid(), Handle< edm::ConditionsInEventBlock >.isValid(), vector< reco::CompositeCandidate >.isValid(), Handle< L1GctInternJetDataCollection >.isValid(), Handle< CaloSpareBxCollection >.isValid(), Handle< L1GlobalTriggerRecord >.isValid(), Handle< myCol >.isValid(), vector< TRecord >.isValid(), Handle< l1extra::L1HFRingsCollection >.isValid(), Handle< TkLasBeamCollection >.isValid(), Handle< L1MuRegionalCandCollection >.isValid(), vector< uint32_t >.isValid(), Handle< CTPPSFastRecHitContainer >.isValid(), Handle< CSCCLCTPreTriggerCollection >.isValid(), Handle< L1GctJetCounts >.isValid(), Handle< L1GlobalTriggerObjectMaps >.isValid(), DetSetVector< TotemVFATStatus >.isValid(), Handle< L1GctInternHtMissCollection >.isValid(), Handle< FEDRawDataCollection >.isValid(), Handle< SimVertexContainer >.isValid(), Handle< PixelFitter >.isValid(), Handle< FastTrackerRecHitCollection >.isValid(), Handle< L1MuGMTCandCollection >.isValid(), Handle< TrackCollection >.isValid(), Handle< vector< SimVertex >.isValid(), Handle< edm::ConditionsInLumiBlock >.isValid(), Handle< SiStripRecHit2DCollection >.isValid(), Handle< HGCRecHitCollection >.isValid(), Handle< vector< l1extra::L1MuonParticle >.isValid(), Handle< reco::IsolatedTauTagInfoCollection >.isValid(), vector< L1MuRegionalCand >.isValid(), Handle< DetSetVector< CTPPSPixelLocalTrack >.isValid(), vector< reco::PFCluster >.isValid(), Handle< EBRecHitCollection >.isValid(), Handle< TsosVectorCollection >.isValid(), Handle< DetSetVector< TotemRPUVPattern >.isValid(), Handle< vector< TotemFEDInfo >.isValid(), Handle< DetSetVector< TotemVFATStatus >.isValid(), vector< pat::Tau >.isValid(), Handle< DetSetVector< TotemRPDigi >.isValid(), Handle< HandleType >.isValid(), Handle< RandomEngineStates >.isValid(), Handle< CSCRPCDigiCollection >.isValid(), Handle< EcalListOfFEDS >.isValid(), Handle< C2 >.isValid(), Handle< GEMPadDigiClusterCollection >.isValid(), Handle< association_t >.isValid(), Handle< ValueMap< double >.isValid(), Handle< am_t >.isValid(), Handle< VarCollection >.isValid(), Handle< InputCollection >.isValid(), DetSetVector< TotemRPLocalTrack >.isValid(), Handle< L1GlobalTriggerEvmReadoutRecord >.isValid(), Handle< GlobalObjectMapRecord >.isValid(), Handle< VertexCompositeCandidateCollection >.isValid(), Handle< L3MuonTrajectorySeedCollection >.isValid(), Handle< VertexToTrackAssMap >.isValid(), vector< L1MuGMTCand >.isValid(), Handle< L1GctEtTotal >.isValid(), Handle< L1GctEtHad >.isValid(), Handle< H >.isValid(), Handle< reco::RecoEcalCandidateCollection >.isValid(), Handle< TCollection >.isValid(), Handle< RecoChargedCandidateCollection >.isValid(), vector< reco::ME0Muon >.isValid(), View< reco::Jet >.isValid(), Handle< CSCCLCTPreTriggerDigiCollection >.isValid(), vector< reco::RecoChargedCandidate >.isValid(), View< pat::PackedGenParticle >.isValid(), Handle< vector< SimTrack >.isValid(), Handle< patMETCollection >.isValid(), Handle< CorrMETData >.isValid(), Handle< vector< pat::Jet >.isValid(), Handle< bool >.isValid(), Handle< HcalNoiseSummary >.isValid(), vector< GenJet >.isValid(), Handle< GenFilterInfo >.isValid(), Handle< LHEEventProduct >.isValid(), Handle< OtherThingCollection >.isValid(), vector< pat::Jet >.isValid(), Handle< JetCorrector >.isValid(), vector< pat::Muon >.isValid(), Handle< TrajectorySeedCollection >.isValid(), Handle< pfMETCollection >.isValid(), ValueMap< reco::PFCandidateRef >.isValid(), vector< reco::PFCandidateRef >.isValid(), vector< T >.isValid(), View< I >.isValid(), Handle< pat::METCollection >.isValid(), Handle< DTROS25Collection >.isValid(), vector< reco::Muon >.isValid(), Handle< TrackingRecHitCollection >.isValid(), Handle< CandMatchMap >.isValid(), Handle< typename Selector::collection >.isValid(), Handle< vector< reco::PFCandidate >.isValid(), Handle< IsoMap >.isValid(), ValueMap< float >.isValid(), Handle< MuonMETCorrectionMap >.isValid(), vector< Ele >.isValid(), Handle< MVACollection >.isValid(), Handle< C >.isValid(), Handle< MuonBxCollection >.isValid(), Handle< EcalTrigPrimDigiCollection >.isValid(), Handle< TauBxCollection >.isValid(), Handle< EcalUncalibratedRecHitCollection >.isValid(), Handle< L1MuGMTReadoutCollection >.isValid(), Handle< ValueMap< DeDxData >.isValid(), Handle< HGCBHDigiCollection >.isValid(), Handle< L1GctEtMiss >.isValid(), Handle< TCollectionVector >.isValid(), Handle< RecoEcalCandMap >.isValid(), Handle< vector< reco::SoftLeptonTagInfo >.isValid(), Handle< DcsStatusCollection >.isValid(), vector< PSimHit >.isValid(), Handle< EEDetIdCollection >.isValid(), Handle< EcalElectronicsIdCollection >.isValid(), vector< bool >.isValid(), vector< unsigned short >.isValid(), vector< unsigned int >.isValid(), Handle< IsolationCollection >.isValid(), vector< float >.isValid(), Handle< reco::WMuNuCandidateCollection >.isValid(), Handle< reco::GenParticleMatch >.isValid(), Handle< vector< pat::GenericParticle >.isValid(), Handle< DetSetVector< SiPixelCalibDigi >.isValid(), Handle< MEtoEDM< T >.isValid(), Handle< Product >.isValid(), Handle< reco::JetView >.isValid(), View< reco::PFJet >.isValid(), View< reco::PFMET >.isValid(), Handle< HcalUMNioDigi >.isValid(), vector< reco::SoftLeptonTagInfo >.isValid(), Handle< VertexScore >.isValid(), Handle< collection >.isValid(), vector< pat::TriggerObjectStandAlone >.isValid(), Handle< CSCALCTDigiCollection >.isValid(), View< reco::SuperCluster >.isValid(), Handle< reco::METCollection >.isValid(), Handle< LumiInfo >.isValid(), Handle< JPTJetCollection >.isValid(), Handle< SeedingLayerSetsHits >.isValid(), Handle< LumiDetails >.isValid(), Handle< l1extra::L1MuonParticleCollection >.isValid(), Handle< reco::EcalHaloData >.isValid(), Handle< L1GlobalTriggerReadoutRecord >.isValid(), View< reco::CaloCluster >.isValid(), Handle< reco::HcalIsolatedTrackCandidateCollection >.isValid(), Handle< TrackingRegionsSeedingLayerSets >.isValid(), Handle< QIE10DigiCollection >.isValid(), View< TrajectorySeed >.isValid(), Handle< QIE11DigiCollection >.isValid(), Handle< LumiSummary >.isValid(), Handle< HFPreRecHitCollection >.isValid(), Handle< sistrip::SpyDigiConverter::DSVRawDigis >.isValid(), Handle< L1GlobalTriggerObjectMapRecord >.isValid(), Handle< ESRawDataCollection >.isValid(), Handle< pat::GenericParticleCollection >.isValid(), vector< TTTrack< Ref_Phase2TrackerDigi_ >.isValid(), Handle< LumiScalersCollection >.isValid(), Handle< L1GtTechnicalTriggerRecord >.isValid(), ValueMap< Bool_t >.isValid(), vector< Jet >.isValid(), vector< Mu >.isValid(), View< pat::MET >.isValid(), StrictWeakOrdering< HBHERecHit >.isValid(), View< reco::PFCandidate >.isValid(), Handle< TriggerResults >.isValid(), Handle< PFMETCollection >.isValid(), Handle< HepMCProduct >.isValid(), Handle< View< Muon >.isValid(), Handle< Map_t >.isValid(), Handle< View< Jet >.isValid(), View< reco::BasicJet >.isValid(), vector< PileupSummaryInfo >.isValid(), Handle< TrackExtraCollection >.isValid(), Handle< l1t::EMTFDaqOutCollection >.isValid(), Handle< reco::SuperClusterCollection >.isValid(), Handle< L1GctHtMissCollection >.isValid(), SurveyPxbImage.isValid(), Handle< MCColl >.isValid(), Handle< T1 >.isValid(), Handle< reco::BasicClusterCollection >.isValid(), Handle< L1GctEmCandCollection >.isValid(), Handle< L1GctJetCandCollection >.isValid(), Handle< GenJetCollection >.isValid(), Handle< L1EmParticleCollection >.isValid(), Handle< GlobalAlgBlkBxCollection >.isValid(), Handle< vector< reco::RecoChargedCandidate >.isValid(), Handle< RecoChargedCandMap >.isValid(), Handle< LorentzVectorCollection >.isValid(), Handle< ESDigiCollection >.isValid(), View< Object >.isValid(), Handle< GenMETCollection >.isValid(), Handle< AliClusterValueMap >.isValid(), Handle< TriggerEvent >.isValid(), Handle< reco::CompositeCandidateCollection >.isValid(), vector< reco::SuperCluster >.isValid(), Handle< vector< reco::CaloJet >.isValid(), OneToValue< T, float >.isValid(), Handle< reco::JetFlavourMatchingCollection >.isValid(), Handle< L1CaloRegionCollection >.isValid(), Handle< OColl >.isValid(), Handle< VertexToPFCandAssMap >.isValid(), Handle< vector< reco::Muon >.isValid(), Handle< L1DataEmulRecord >.isValid(), Handle< CaloTowerBxCollection >.isValid(), Handle< reco::MuonToTrackingParticleAssociator >.isValid(), Handle< SeedMap >.isValid(), View< reco::RecoCandidate >.isValid(), Handle< L1MuonParticleCollection >.isValid(), Handle< LVColl >.isValid(), Handle< TEleColl >.isValid(), Handle< View< MET >.isValid(), Handle< TCDSRecord >.isValid(), Handle< reco::PFRecTrackCollection >.isValid(), Handle< pat::CompositeCandidateCollection >.isValid(), Handle< reco::PFCandidateCollection >.isValid(), Handle< CaloTowerCollection >.isValid(), Handle< uint32_t >.isValid(), Handle< vector< double >.isValid(), StrictWeakOrdering< HFRecHit >.isValid(), View< pat::Jet >.isValid(), StrictWeakOrdering< HORecHit >.isValid(), View< reco::Muon >.isValid(), Handle< RPCRawSynchro::ProdItem >.isValid(), Handle< HOCalibVariableCollection >.isValid(), vector< int >.isValid(), Handle< JetCollection >.isValid(), DetSetVector< PixelFEDChannel >.isValid(), Handle< GenEventInfoProduct >.isValid(), Handle< HBHEDigiCollection >.isValid(), Handle< reco::DeDxHitInfoAss >.isValid(), Handle< HFDigiCollection >.isValid(), Handle< reco::GenMETCollection >.isValid(), Handle< edm::PCaloHitContainer >.isValid(), Handle< HODigiCollection >.isValid(), OwnVector< TrackingRegion >.isValid(), Handle< l1extra::L1JetParticleCollection >.isValid(), Handle< CandDoubleAssociations >.isValid(), Handle< l1extra::L1EmParticleCollection >.isValid(), Handle< RecoEcalCandidateCollection >.isValid(), ValueMap< double >.isValid(), Handle< ESListOfFEDS >.isValid(), Handle< SiPixelRecHitCollection >.isValid(), Handle< reco::PixelClusterCounts >.isValid(), Handle< ElectronCollection >.isValid(), Handle< l1extra::L1EtMissParticleCollection >.isValid(), View< reco::CaloJet >.isValid(), DetSetVector< SiPixelRawDataError >.isValid(), Handle< TtGenEvent >.isValid(), Handle< StGenEvent >.isValid(), vector< reco::CaloJet >.isValid(), Handle< ObjCollType >.isValid(), vector< reco::ShallowTagInfo >.isValid(), vector< reco::PFJet >.isValid(), DetSetVector< PixelDigi >.isValid(), Handle< PixelFEDChannelCollection >.isValid(), Handle< SiPixelDetectorStatus >.isValid(), Handle< MEtoEDM_T >.isValid(), Handle< ExampleData >.isValid(), Handle< EtSumBxCollection >.isValid(), Handle< EGammaBxCollection >.isValid(), Handle< GlobalExtBlkBxCollection >.isValid(), Handle< BXVector< l1t::EtSum >.isValid(), Handle< SiStripEventSummary >.isValid(), Handle< CandidateCollection >.isValid(), vector< SimVertex >.isValid(), DetSetVector< SiStripDigi >.isValid(), Handle< FastTrackerRecHitRefCollection >.isValid(), Handle< PixelTrackFilter >.isValid(), Handle< SiStripMatchedRecHit2DCollection >.isValid(), Handle< reco::TrackExtraCollection >.isValid(), vector< DcsStatus >.isValid(), Handle< PFCandidateCollection >.isValid(), vector< reco::PFRecHit >.isValid(), Handle< METView >.isValid(), Handle< GenParticleMatch >.isValid(), vector< pat::Photon >.isValid(), Handle< reco::PFRecHitCollection >.isValid(), vector< double >.isValid(), Handle< ThingCollection >.isValid(), Handle< av_t >.isValid(), Handle< FlavorHistoryEvent >.isValid(), Handle< JetCollectionVector >.isValid(), Handle< PFDisplacedVertexCollection >.isValid(), Handle< TrajTrackAssociationCollection >.isValid(), Handle< TColl >.isValid(), Handle< TrackToVertexAssMap >.isValid(), Handle< ME0MuonCollection >.isValid(), Handle< ParticlesCollection >.isValid(), Handle< LHERunInfoProduct >.isValid(), Handle< vector< pat::CompositeCandidate >.isValid(), Handle< HitCollection >.isValid(), Handle< LHEXMLStringProduct >.isValid(), Handle< CrossingFrame< edm::HepMCProduct >.isValid(), Handle< vector< reco::GenJet >.isValid(), Handle< METCollection >.isValid(), ValueMap< bool >.isValid(), Handle< PFJetCollection >.isValid(), Handle< DetSetVector< PixelDigi >.isValid(), Handle< reco::DeDxDataValueMap >.isValid(), View< T >.isValid(), Handle< ValueMap< float >.isValid(), View< reco::Candidate >.isValid(), Handle< QualityMaskCollection >.isValid(), Handle< unsigned int >.isValid(), Handle< L2MuonTrajectorySeedCollection >.isValid(), Handle< TriggerEventWithRefs >.isValid(), Handle< TriggerFilterObjectWithRefs >.isValid(), Handle< JetBxCollection >.isValid(), Handle< reco::ElectronIsolationMap >.isValid(), Handle< HGCHEDigiCollection >.isValid(), Handle< HcalCalibDigiCollection >.isValid(), Handle< T1IsolationMap >.isValid(), Handle< PFCandToVertexAssMap >.isValid(), Handle< HGCalDigiCollection >.isValid(), Handle< CSCDDUStatusDigiCollection >.isValid(), Handle< CSCDCCStatusDigiCollection >.isValid(), Handle< EBSrFlagCollection >.isValid(), vector< unsigned char >.isValid(), Handle< vector< BPHTrackReference::candidate >.isValid(), vector< pat::PackedCandidate >.isValid(), Handle< IsolatedTauTagInfoCollection >.isValid(), Handle< reco::JetTracksAssociationCollection >.isValid(), DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ >.isValid(), Handle< vector< reco::Vertex >.isValid(), Handle< CandidateView >.isValid(), Handle< View< reco::Candidate >.isValid(), vector< edm::ErrorSummaryEntry >.isValid(), Handle< uint >.isValid(), vector< reco::Photon >.isValid(), vector< SiStripCluster >.isValid(), ValueMap< reco::JetID >.isValid(), Handle< PFView >.isValid(), Handle< View< T >.isValid(), Handle< PFCollection >.isValid(), Handle< ValueMap< int >.isValid(), Handle< pat::JetCollection >.isValid(), Handle< CrossingFrame< HepMCProduct >.isValid(), Handle< DetSetVector< SiPixelRawDataError >.isValid(), vector< GenParticleRef >.isValid(), Handle< HGCEEDigiCollection >.isValid(), vector< pat::MET >.isValid(), Handle< reco::JetTracksAssociation::Container >.isValid(), View< C >.isValid(), Handle< reco::GlobalHaloData >.isValid(), Handle< BeamHaloSummary >.isValid(), View< Candidate >.isValid(), Handle< reco::CSCHaloData >.isValid(), vector< reco::PFRecTrack >.isValid(), Handle< HcalNoiseRBXCollection >.isValid(), vector< pat::Met >.isValid(), Handle< reco::HcalHaloData >.isValid(), FwdPtr< T >.isValid(), vector< pat::Electron >.isValid(), Handle< std::string >.isValid(), vector< SeedStopInfo >.isValid(), Handle< reco::PreshowerClusterCollection >.isValid(), Handle< EERecHitCollection >.isValid(), vector< reco::PFCandidate >.isValid(), Handle< ConversionTrackCollection >.isValid(), Handle< GenLumiInfoProduct >.isValid(), Handle< CollectionType >.isValid(), Handle< reco::HcalNoiseRBXCollection >.isValid(), Handle< JetTagCollection >.isValid(), vector< SimTrack >.isValid(), Handle< CrossingFrame< PSimHit >.isValid(), Handle< RegionalMuonCandBxCollection >.isValid(), Handle< BXVector< l1t::CaloTower >.isValid(), Handle< DetIdCollection >.isValid(), ME0TriggerDigi.isValid(), python.Handle.isValid(), fwlite::ChainEvent.isValid(), fwlite::Run.isValid(), reco::PFTrajectoryPoint.isValid(), ntupleDataFormat._Object.isValid(), KinematicState.isValid(), OmniClusterRef.isValid(), fwlite::LuminosityBlock.isValid(), rpccppf::TXRecord.isValid(), UCTDAQRawData.isValid(), METCorrectorParameters.isValid(), edm::Handle< GenericObject >.isValid(), fwlite::MultiChainEvent.isValid(), SiStripDetKey.isValid(), pat::JetCorrFactors.isValid(), MEtXYcorrectParameters.isValid(), BasicMultiVertexState.isValid(), LMFPrimDat.isValid(), reco::PFDisplacedVertexCandidate.isValid(), edm::Handle< FWGenericObject >.isValid(), JetCorrectorParameters.isValid(), AlignmentParameters.isValid(), unique_ptr< DDI::Material >.isValid(), DDBase< N, C >.isValid(), DDBase< DDName, std::unique_ptr< DDI::Material > >.isValid(), DDBase< DDName, std::unique_ptr< DDI::Solid > >.isValid(), DDBase< DDName, std::unique_ptr< double > >.isValid(), DDBase< DDName, std::unique_ptr< DDI::Division > >.isValid(), DDBase< DDName, std::unique_ptr< dd_map_type > >.isValid(), DDBase< DDName, std::unique_ptr< std::vector< std::string > > >.isValid(), DDBase< DDName, std::unique_ptr< std::string > >.isValid(), DDBase< DDName, std::unique_ptr< std::vector< double > > >.isValid(), DDBase< DDName, std::unique_ptr< DDI::LogicalPart > >.isValid(), DDBase< DDName, std::unique_ptr< DDI::Specific > >.isValid(), DDBase< DDName, std::unique_ptr< DDRotationMatrix > >.isValid(), edm::RootTree.isValid(), PlotCompareUtility.isValid(), LumiSummary.isValid(), TrajectoryStateClosestToPoint.isValid(), rpcamc13::AMCHeader.isValid(), SiStripFecKey.isValid(), SiStripFedKey.isValid(), CachingVertex< N >.isValid(), VertexState.isValid(), CachingVertex< 5 >.isValid(), LMFDat.isValid(), fwlite::Event.isValid(), TotemRPLocalTrack.isValid(), FTLTrackingRecHit< ObjRef >.isValid(), TrackingRecHit.isValid(), edm::reftobase::BaseVectorHolder< T >::const_iterator.isValid(), ReferenceTrajectoryBase.isValid(), LinearizedTrackState< N >.isValid(), LinearizedTrackState< 6 >.isValid(), LinearizedTrackState< 5 >.isValid(), PerigeeLinearizedTrackState.isValid(), L1GtUtils::LogicalExpressionL1Results.isValid(), edmNew::dstvdetails::DetSetVectorTrans::Item.isValid(), edm::reftobase::RefVectorHolderBase::const_iterator.isValid(), reco::TransientTrack.isValid(), rpctwinmux::BlockAMCContent.isValid(), rpcamc13::AMCPayload.isValid(), CTPPSPixelLocalTrack.isValid(), TransientVertex.isValid(), cmdline::OneShotIStream.isValid(), BasicTrajectoryState.isValid(), TempTrajectory.isValid(), Trajectory.isValid(), DetSetVector< T >.isValid(), edmNew::DetSetVector< T >.isValid(), FastFiller.isValid(), const_iterator.isValid(), DetSetVector< ClusterType >.isValid(), core.AutoHandle.AutoHandle.label, L1TriggerKeyExtViewer.label, SubDetParams.label, ElectronLikelihoodCategoryData.label, entry< T >.label, classes.PlotData.label, SiPixelFedFillerWordEventNumber.label, l1t::L1GtBoardTypeStringToEnum.label, HcalLutSet.label, TtEvent::HypoClassKeyStringToEnum.label, L1GtBoardTypeStringToEnum.label, ConverterTester.label, l1t::L1TGtObjectStringToEnum.label, L1GtObjectStringToEnum.label, TaggingVariablePlotter::VariableConfig.label, SiPixelRawToDigi.label, muon::SelectionTypeStringToEnum.label, SiPixelQualityESProducer.label, HLTVertexPerformanceAnalyzer.label, hltPlot.label, FWPSetTableManager::PSetData.label, L1GtPsbQuadStringToEnum.label, l1t::GtConditionTypeStringToEnum.label, DependencyGraph::node.label, MatrixInjector.MatrixInjector.label, ValidationMisalignedTracker.label, HLTBTagPerformanceAnalyzer.label, l1t::GtConditionCategoryStringToEnum.label, MatrixUtil.InputInfo.label, L1GtConditionTypeStringToEnum.label, cond::payloadInspector::ModuleVersion.label, L1GtConditionCategoryStringToEnum.label, FastTimerService::GroupOfModules.label, JsonOutputProducer::JsonVars.label, core.AutoHandle.AutoHandle.mayFail, edm.print(), AlignableObjectId::entry.type, BCoptions.type, core.AutoHandle.AutoHandle.type, TotemTriggerCounters.type, l1t::Parameter.type, DQM.DQMReader.type, DDHCalForwardAlgo.type, plottingOptions.BasePlottingOptions.type, DB_ME.type, SummationStep.type, BdecayFilter::CutStruct.type, TauJetCorrector::ParametrizationTauJet.type, BsJpsiPhiFilter::CutStruct.type, cond::TimeTypeSpecs.type, JetPartonNamespace::ParametrizationJetParton.type, TauJetCorrector.type, DQMGenericClient::EfficOption.type, DTTMax::TMax.type, metsig::SigInputObj.type, PrimaryVertexMonitor.type, CounterChecker.type, FWPSetTableManager::PSetData.type, MuonGeometrySanityCheckPoint.type, ME::Settings.type, DependencyGraph::node.type, HcalRaddamMuon.type, options.HLTProcessOptions.type, nanoaod::FlatTable::Column.type, BPHMassFitSelect.type, ME.type, L1Analysis::L1AnalysisRecoMuonDataFormat.type, edm::Entry.type, gen::Hydjet2Hadronizer.type, and JsonOutputProducer::JsonVars.type.

Referenced by core.AutoHandle.AutoHandle.product().

33  def ReallyLoad(self, event):
34  '''Load self from a given event.
35 
36  Call this function, and then just call self.product() to get the collection'''
37  if self.disabled : #if autodisable kicked in, we do not even try getbylabel
38  return
39  try:
40  event.getByLabel( self.label, self)
41  if not self.isValid(): raise RuntimeError
42  except RuntimeError:
43  Handle.__init__(self, self.type) # must re-init, since otherwise after a failure it becomes unusable
44  errstr = '''
45  Cannot find collection with:
46  type = {type}
47  label = {label}
48  '''.format(type = self.type, label = self.label)
49  if not self.mayFail and self.fallbackLabel == None:
50  if self.autoDisable : # if auto disable we disable at first failure
51  self.disabled=True
52  print("Disabling as there is no fallback ",self.label,self.type,"at first failure")
53  raise Exception(errstr)
54  if self.fallbackLabel != None:
55  try:
56  event.getByLabel( self.fallbackLabel, self)
57  if not self.isValid(): raise RuntimeError
58  ## if I succeeded, swap default and fallback assuming that the next event will be like this one
59  self.fallbackLabel, self.label = self.label, self.fallbackLabel
60  except RuntimeError:
61  Handle.__init__(self, self.type) # must re-init, since otherwise after a failure it becomes unusable
62  errstr = '''
63  Cannot find collection with:
64  type = {type}
65  label = {label} or {lab2}
66  '''.format(type = self.type, label = self.label, lab2 = self.fallbackLabel)
67  if not self.mayFail:
68  if self.autoDisable : # if auto disable we disable at first failure
69  self.disabled=True
70  print("Disabling after fallback ",self.label,self.type,"at first failure")
71  raise Exception(errstr)
72  if not self.isValid() :
73  if self.autoDisable : # if auto disable we disable at first failure
74  self.disabled=True
75  print("Disabling ",self.label,self.type,"at first failure")
76  return
77 
78 
79 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
label
if I succeeded, swap default and fallback assuming that the next event will be like this one ...
Definition: AutoHandle.py:13
def ReallyLoad(self, event)
Definition: AutoHandle.py:33

Member Data Documentation

core.AutoHandle.AutoHandle.autoDisable

Definition at line 19 of file AutoHandle.py.

Referenced by core.AutoHandle.AutoHandle.ReallyLoad().

core.AutoHandle.AutoHandle.disabled

Definition at line 20 of file AutoHandle.py.

Referenced by core.AutoHandle.AutoHandle.ReallyLoad().

core.AutoHandle.AutoHandle.event
core.AutoHandle.AutoHandle.fallbackLabel

Definition at line 14 of file AutoHandle.py.

Referenced by core.AutoHandle.AutoHandle.ReallyLoad().

core.AutoHandle.AutoHandle.isLoaded

Definition at line 18 of file AutoHandle.py.

Referenced by core.AutoHandle.AutoHandle.product().

core.AutoHandle.AutoHandle.lazy

Definition at line 17 of file AutoHandle.py.

core.AutoHandle.AutoHandle.mayFail

Definition at line 16 of file AutoHandle.py.

Referenced by core.AutoHandle.AutoHandle.ReallyLoad().