#include <Event.h>
Public Types | |
typedef unsigned long | CacheIdentifier_t |
typedef std::vector< edm::propagate_const< std::unique_ptr< WrapperBase > > > | ProductPtrVec |
Public Member Functions | |
CacheIdentifier_t | cacheIdentifier () const |
template<typename PROD , typename... Args> | |
OrphanHandle< PROD > | emplace (EDPutToken token, Args &&... args) |
template<typename PROD , typename... Args> | |
OrphanHandle< PROD > | emplace (EDPutTokenT< PROD > token, Args &&... args) |
puts a new product More... | |
Event (EventPrincipal const &, ModuleDescription const &, ModuleCallingContext const *) | |
Event (EventTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *) | |
EventAuxiliary const & | eventAuxiliary () const override |
EventSelectionIDVector const & | eventSelectionIDs () const |
template<typename ELEMENT > | |
Handle< View< ELEMENT > > | fillView_ (BasicHandle &bh) const |
template<typename PROD > | |
PROD const & | get (EDGetTokenT< PROD > token) const noexcept(false) |
template<typename ELEMENT > | |
View< ELEMENT > const & | get (EDGetTokenT< View< ELEMENT >> token) const noexcept(false) |
template<typename PROD > | |
bool | get (ProductID const &oid, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | get (ProductID const &oid, Handle< View< ELEMENT >> &result) const |
void | getAllProvenance (std::vector< Provenance const * > &provenances) const |
void | getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const |
template<> | |
bool | getByLabel (InputTag const &tag, Handle< GenericObject > &result) const |
template<> | |
bool | getByLabel (InputTag const &tag, Handle< GenericObject > &result) const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | getByLabel (InputTag const &tag, Handle< View< ELEMENT >> &result) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | getByLabel (std::string const &label, Handle< View< ELEMENT >> &result) const |
template<> | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< GenericObject > &result) const |
Specialize the getByLabel method to work with a Handle<GenericObject> More... | |
template<> | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< GenericObject > &result) const |
Specialize the Event's getByLabel method to work with a Handle<GenericObject> More... | |
template<typename PROD > | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< View< ELEMENT >> &result) const |
template<> | |
bool | getByToken (EDGetToken token, Handle< GenericObject > &result) const |
Specialize the Event's getByToken method to work with a Handle<GenericObject> More... | |
template<> | |
bool | getByToken (EDGetToken token, Handle< GenericObject > &result) const |
Specialize the Event's getByToken method to work with a Handle<GenericObject> More... | |
template<typename PROD > | |
bool | getByToken (EDGetToken token, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | getByToken (EDGetToken token, Handle< View< ELEMENT >> &result) const |
template<typename PROD > | |
bool | getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const |
template<typename ELEMENT > | |
bool | getByToken (EDGetTokenT< View< ELEMENT >> token, Handle< View< ELEMENT >> &result) const |
template<typename PROD > | |
Handle< PROD > | getHandle (EDGetTokenT< PROD > token) const |
template<typename ELEMENT > | |
Handle< View< ELEMENT > > | getHandle (EDGetTokenT< View< ELEMENT >> token) const |
LuminosityBlock const & | getLuminosityBlock () const |
template<typename PROD > | |
void | getManyByType (std::vector< Handle< PROD >> &results) const |
bool | getProcessParameterSet (std::string const &processName, ParameterSet &ps) const |
Provenance const & | getProvenance (BranchID const &theID) const |
Provenance const & | getProvenance (ProductID const &theID) const |
template<typename PROD > | |
RefProd< PROD > | getRefBeforePut () |
template<typename PROD > | |
RefProd< PROD > | getRefBeforePut (EDPutToken) |
template<typename PROD > | |
RefProd< PROD > | getRefBeforePut (EDPutTokenT< PROD >) |
template<typename PROD > | |
RefProd< PROD > | getRefBeforePut (std::string const &productInstanceName) |
Run const & | getRun () const |
StableProvenance const & | getStableProvenance (BranchID const &theID) const |
StableProvenance const & | getStableProvenance (ProductID const &theID) const |
void | labelsForToken (EDGetToken const &iToken, ProductLabels &oLabels) const |
ModuleCallingContext const * | moduleCallingContext () const |
edm::ParameterSet const * | parameterSet (edm::ParameterSetID const &psID) const override |
unsigned int | processBlockIndex (std::string const &processName) const |
ProcessHistory const & | processHistory () const override |
ProcessHistoryID const & | processHistoryID () const |
EDProductGetter const & | productGetter () const |
template<typename PROD > | |
OrphanHandle< PROD > | put (EDPutToken token, std::unique_ptr< PROD > product) |
template<typename PROD > | |
OrphanHandle< PROD > | put (EDPutTokenT< PROD > token, std::unique_ptr< PROD > product) |
template<typename PROD > | |
OrphanHandle< PROD > | put (std::unique_ptr< PROD > product) |
Put a new product. More... | |
template<typename PROD > | |
OrphanHandle< PROD > | put (std::unique_ptr< PROD > product, std::string const &productInstanceName) |
Put a new product with a 'product instance name'. More... | |
RunNumber_t | run () const |
void | setConsumer (EDConsumerBase const *iConsumer) |
void | setProducer (ProducerBase const *iProd, std::vector< BranchID > *previousParentage, std::vector< BranchID > *gotBranchIDsFromAcquire=nullptr) |
void | setProducerCommon (ProducerBase const *iProd, std::vector< BranchID > *previousParentage) |
void | setProducerForAcquire (ProducerBase const *iProd, std::vector< BranchID > *previousParentage, std::vector< BranchID > &gotBranchIDsFromAcquire) |
void | setSharedResourcesAcquirer (SharedResourcesAcquirer *iResourceAcquirer) |
size_t | size () const |
StreamID | streamID () const |
edm::TriggerNames const & | triggerNames (edm::TriggerResults const &triggerResults) const override |
TriggerResultsByName | triggerResultsByName (edm::TriggerResults const &triggerResults) const override |
~Event () override | |
Public Member Functions inherited from edm::EventBase | |
int | bunchCrossing () const |
EventBase () | |
edm::EventAuxiliary::ExperimentType | experimentType () const |
template<typename T > | |
bool | get (ProductID const &, Handle< T > &) const |
template<> | |
bool | getByLabel (edm::InputTag const &tag, Handle< FWGenericObject > &result) const |
Specialize the getByLabel method to work with a Handle<FWGenericObject> More... | |
template<typename T > | |
bool | getByLabel (InputTag const &, Handle< T > &) const |
edm::EventID | id () const |
bool | isRealData () const |
edm::LuminosityBlockNumber_t | luminosityBlock () const |
int | orbitNumber () const |
edm::Timestamp | time () const |
virtual | ~EventBase () |
Private Types | |
typedef std::unordered_set< BranchID::value_type > | BranchIDSet |
Private Member Functions | |
void | addToGotBranchIDs (BranchID const &branchID) const |
void | addToGotBranchIDs (Provenance const &prov) const |
void | commit_ (std::vector< edm::ProductResolverIndex > const &iShouldPut, ParentageID *previousParentageId=nullptr) |
void | commit_aux (ProductPtrVec &products, ParentageID *previousParentageId=nullptr) |
template<typename PROD , typename... Args> | |
OrphanHandle< PROD > | emplaceImpl (EDPutToken::value_type token, Args &&... args) |
EventPrincipal const & | eventPrincipal () const |
void | fillLuminosityBlock () const |
BasicHandle | getByLabelImpl (std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const override |
BasicHandle | getByProductID_ (ProductID const &oid) const |
BasicHandle | getImpl (std::type_info const &iProductType, ProductID const &pid) const override |
ProductID | makeProductID (BranchDescription const &desc) const |
template<typename PROD > | |
OrphanHandle< PROD > | putImpl (EDPutToken::value_type token, std::unique_ptr< PROD > product) |
ProductPtrVec & | putProducts () |
ProductPtrVec const & | putProducts () const |
Private Attributes | |
EventAuxiliary const & | aux_ |
BranchIDSet | gotBranchIDs_ |
std::vector< BranchID > * | gotBranchIDsFromAcquire_ = nullptr |
std::vector< bool > | gotBranchIDsFromPrevious_ |
std::vector< std::shared_ptr< ViewBase > > | gotViews_ |
std::optional< LuminosityBlock > | luminosityBlock_ |
ModuleCallingContext const * | moduleCallingContext_ |
std::vector< BranchID > * | previousBranchIDs_ = nullptr |
PrincipalGetAdapter | provRecorder_ |
ProductPtrVec | putProducts_ |
StreamID | streamID_ |
Static Private Attributes | |
static const std::string | emptyString_ |
Friends | |
class | ::testEvent |
class | ::testEventGetRefBeforePut |
class | InputSource |
class | ProducerBase |
class | ProducerSourceBase |
class | RawInputSource |
template<typename T > | |
class | stream::ProducingModuleAdaptorBase |
Additional Inherited Members | |
Static Protected Member Functions inherited from edm::EventBase | |
static edm::ParameterSet const * | parameterSetForID_ (edm::ParameterSetID const &psID) |
static TriggerNames const * | triggerNames_ (edm::TriggerResults const &triggerResults) |
|
private |
typedef unsigned long edm::Event::CacheIdentifier_t |
If you are caching data from the Event, you should also keep this number. If this number changes then you know that the data you have cached is invalid. The value of '0' will never be returned so you can use that to denote that you have not yet checked the value.
typedef std::vector<edm::propagate_const<std::unique_ptr<WrapperBase> > > edm::Event::ProductPtrVec |
Event::Event | ( | EventTransitionInfo const & | info, |
ModuleDescription const & | md, | ||
ModuleCallingContext const * | mcc | ||
) |
Event::Event | ( | EventPrincipal const & | ep, |
ModuleDescription const & | md, | ||
ModuleCallingContext const * | moduleCallingContext | ||
) |
|
private |
Definition at line 237 of file Event.cc.
References gotBranchIDs_, gotBranchIDsFromAcquire_, gotBranchIDsFromPrevious_, edm::BranchID::id(), previousBranchIDs_, and FastTimerService_cff::range.
|
private |
Definition at line 235 of file Event.cc.
References edm::Provenance::originalBranchID().
Referenced by fillView_(), get(), getByLabel(), getByLabelImpl(), getByToken(), getHandle(), getImpl(), getManyByType(), and setProducer().
Event::CacheIdentifier_t Event::cacheIdentifier | ( | ) | const |
Definition at line 37 of file Event.cc.
References edm::Principal::cacheIdentifier(), and eventPrincipal().
Referenced by MuonDetLayerMeasurements::checkCSCRecHits(), MuonDetLayerMeasurements::checkDTRecHits(), MuonDetLayerMeasurements::checkGEMRecHits(), MuonDetLayerMeasurements::checkME0RecHits(), MTDDetLayerMeasurements::checkMTDRecHits(), and MuonDetLayerMeasurements::checkRPCRecHits().
|
private |
Definition at line 156 of file Event.cc.
References commit_aux(), AlCaHLTBitMon_ParallelJobs::p, edm::PrincipalGetAdapter::principal(), provRecorder_, and putProducts().
|
private |
Definition at line 179 of file Event.cc.
References SiStripBadComponentsDQMServiceTemplate_cfg::ep, eventPrincipal(), edm::get_underlying_safe(), gotBranchIDs_, gotBranchIDsFromPrevious_, mps_fire::i, edm::ParentageRegistry::insertMapped(), edm::ParentageRegistry::instance(), eostools::move(), dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, previousBranchIDs_, edm::es::products(), provRecorder_, edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex(), edm::PrincipalGetAdapter::recordProvenanceList(), and jetUpdater_cfi::sort.
Referenced by commit_().
OrphanHandle< PROD > Event::emplace | ( | EDPutToken | token, |
Args &&... | args | ||
) |
Definition at line 441 of file Event.h.
References writedatasetfile::args, emplaceImpl(), edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), PROD, provRecorder_, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), edm::principal_get_adapter_detail::throwOnPutOfWrongType(), unpackBuffers-CaloStage2::token, and UNLIKELY.
OrphanHandle< PROD > Event::emplace | ( | EDPutTokenT< PROD > | token, |
Args &&... | args | ||
) |
puts a new product
Definition at line 433 of file Event.h.
References writedatasetfile::args, PROD, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.
Referenced by MCPdgIndexFilter::filter(), ConvertedPhotonProducer::produce(), GenHFHadronMatcher::produce(), and Multi5x5SuperClusterProducer::produceSuperclustersForECALPart().
|
private |
Definition at line 454 of file Event.h.
References writedatasetfile::args, cms::cuda::assert(), edm::PrincipalGetAdapter::getProductID(), eostools::move(), dumpMFGeometry_cfg::prod, PROD, provRecorder_, putProducts(), size(), relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.
Referenced by emplace().
|
inlineoverridevirtual |
Implements edm::EventBase.
Definition at line 95 of file Event.h.
References aux_.
Referenced by DetStatus::filter().
|
private |
Definition at line 102 of file Event.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by cacheIdentifier(), commit_aux(), eventSelectionIDs(), fillLuminosityBlock(), getByProductID_(), getProvenance(), getStableProvenance(), makeProductID(), and processHistoryID().
EventSelectionIDVector const & Event::eventSelectionIDs | ( | ) | const |
Definition at line 114 of file Event.cc.
References eventPrincipal(), and edm::EventPrincipal::eventSelectionIDs().
|
private |
Definition at line 54 of file Event.cc.
References eventPrincipal(), edm::PrincipalGetAdapter::getConsumer(), edm::PrincipalGetAdapter::getSharedResourcesAcquirer(), luminosityBlock_, moduleCallingContext_, edm::PrincipalGetAdapter::moduleDescription(), and provRecorder_.
Referenced by getLuminosityBlock().
Handle< View< ELEMENT > > Event::fillView_ | ( | BasicHandle & | bh | ) | const |
Definition at line 661 of file Event.h.
References addToGotBranchIDs(), edm::WrapperBase::fillView(), gotViews_, edm::BasicHandle::id(), productGetter(), edm::BasicHandle::provenance(), and edm::BasicHandle::wrapper().
|
noexcept |
Definition at line 573 of file Event.h.
References LIKELY, eostools::move(), PROD, edm::PRODUCT_TYPE, mps_fire::result, and unpackBuffers-CaloStage2::token.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
noexcept |
Definition at line 652 of file Event.h.
References edm::ELEMENT_TYPE, edm::BasicHandle::failedToGet(), unpackBuffers-CaloStage2::token, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
Definition at line 346 of file Event.h.
References addToGotBranchIDs(), getByProductID_(), eostools::move(), edm::BasicHandle::provenance(), and mps_fire::result.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), ElectronHcalHelper::beginEvent(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::fill(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), PATTauIDEmbedder::produce(), HGCalRecHitMapProducer::produce(), ParticleBasedIsoProducer::produce(), TrackFromPackedCandidateProducer::produce(), TrackstersProducer::produce(), RecoTauGenericJetRegionProducer< JetType, CandType >::produce(), UniqueMerger< InputCollection, OutputCollection, P >::produce(), ConversionTrackCandidateProducer::produce(), GEDPhotonProducer::produce(), TrackstersFromSimClustersProducer::produce(), HLTRechitInRegionsProducer< T1 >::produce(), rrapi.RRApi::report(), rrapi.RRApi::reports(), AnalyticalTrackSelector::run(), AlignmentTrackFromVertexSelector::select(), EGRegressionModifierV2::setEvent(), EGRegressionModifierV1::setEvent(), EGRegressionModifierV3::setEvent(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
bool Event::get | ( | ProductID const & | oid, |
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 358 of file Event.h.
References edm::BasicHandle::failedToGet(), getByProductID_(), edm::makeHandleExceptionFactory(), edm::errors::ProductNotFound, and mps_fire::result.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void Event::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 132 of file Event.cc.
References edm::Principal::getAllProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
void Event::getAllStableProvenance | ( | std::vector< StableProvenance const * > & | provenances | ) | const |
Definition at line 136 of file Event.cc.
References edm::Principal::getAllStableProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by FWFFMetadataManager::hasModuleLabel().
bool edm::Event::getByLabel | ( | InputTag const & | tag, |
Handle< GenericObject > & | result | ||
) | const |
Definition at line 61 of file GenericHandle.cc.
References addToGotBranchIDs(), edm::convert_handle(), getByLabel(), edm::PrincipalGetAdapter::getByLabel_(), edm::InputTag::label(), moduleCallingContext_, eostools::move(), edm::BasicHandle::provenance(), provRecorder_, mps_fire::result, and makeGlobalPositionRcd_cfg::tag.
bool edm::Event::getByLabel | ( | InputTag const & | tag, |
Handle< GenericObject > & | result | ||
) | const |
bool Event::getByLabel | ( | InputTag const & | tag, |
Handle< PROD > & | result | ||
) | const |
Definition at line 500 of file Event.h.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, makeGlobalPositionRcd_cfg::tag, and UNLIKELY.
Referenced by SimpleJetDump::analyze(), CaloTowersExample::analyze(), myFastSimVal::analyze(), JetToDigiDump::analyze(), JetPlotsExample< Jet >::analyze(), JetValidation::analyze(), JetCorExample< Jet >::analyze(), JetAnaPythia< Jet >::analyze(), myRawAna::analyze(), DijetMass< Jet >::analyze(), PatPhotonSimpleAnalyzer::analyze(), LaserAlignmentT0ProducerDQM::analyze(), SimplePhotonAnalyzer::analyze(), PhotonIDSimpleAnalyzer::analyze(), LaserAlignment::fillDataProfiles(), BTagSkimMC::filter(), ptHatFilter::filter(), RecHitEnergyFilter::filter(), getByLabel(), CalibrationTrackSelector::isIsolated(), EcalTBWeightUncalibRecHitProducer::produce(), readEventData(), and LaserDQM::trackerStatistics().
bool Event::getByLabel | ( | InputTag const & | tag, |
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 583 of file Event.h.
References edm::BasicHandle::failedToGet(), edm::PrincipalGetAdapter::getMatchingSequenceByLabel_(), h, moduleCallingContext_, eostools::move(), provRecorder_, mps_fire::result, makeGlobalPositionRcd_cfg::tag, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
bool Event::getByLabel | ( | std::string const & | label, |
Handle< PROD > & | result | ||
) | const |
Definition at line 525 of file Event.h.
References emptyString_, getByLabel(), label, and mps_fire::result.
bool Event::getByLabel | ( | std::string const & | label, |
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 612 of file Event.h.
References emptyString_, getByLabel(), HerwigMaxPtPartonFilter_cfi::moduleLabel, and mps_fire::result.
bool edm::Event::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< GenericObject > & | result | ||
) | const |
Specialize the getByLabel method to work with a Handle<GenericObject>
Definition at line 47 of file GenericHandle.cc.
References addToGotBranchIDs(), edm::convert_handle(), edm::PrincipalGetAdapter::getByLabel_(), label, moduleCallingContext_, eostools::move(), edm::BasicHandle::provenance(), provRecorder_, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
bool edm::Event::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< GenericObject > & | result | ||
) | const |
Specialize the Event's getByLabel method to work with a Handle<GenericObject>
bool Event::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 512 of file Event.h.
References addToGotBranchIDs(), emptyString_, edm::PrincipalGetAdapter::getByLabel_(), label, moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, and UNLIKELY.
bool Event::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 596 of file Event.h.
References emptyString_, edm::BasicHandle::failedToGet(), edm::PrincipalGetAdapter::getMatchingSequenceByLabel_(), h, moduleCallingContext_, HerwigMaxPtPartonFilter_cfi::moduleLabel, eostools::move(), provRecorder_, mps_fire::result, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
|
overrideprivatevirtual |
Implements edm::EventBase.
Definition at line 257 of file Event.cc.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), h, moduleCallingContext_, and provRecorder_.
|
private |
Definition at line 154 of file Event.cc.
References eventPrincipal(), and edm::EventPrincipal::getByProductID().
bool edm::Event::getByToken | ( | EDGetToken | token, |
Handle< GenericObject > & | result | ||
) | const |
Specialize the Event's getByToken method to work with a Handle<GenericObject>
Definition at line 78 of file GenericHandle.cc.
References addToGotBranchIDs(), edm::convert_handle(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, unpackBuffers-CaloStage2::token, and UNLIKELY.
bool edm::Event::getByToken | ( | EDGetToken | token, |
Handle< GenericObject > & | result | ||
) | const |
Specialize the Event's getByToken method to work with a Handle<GenericObject>
bool Event::getByToken | ( | EDGetToken | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 539 of file Event.h.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, unpackBuffers-CaloStage2::token, and UNLIKELY.
Referenced by PatElectronAnalyzer::analyze(), PatTauAnalyzer::analyze(), EgammaBasicClusters::analyze(), EgammaSuperClusters::analyze(), EcalFEDMonitorTemp< SUBDET >::analyze(), EcalDQMonitorTask::analyze(), sistrip::SpyExtractRunModule::analyze(), L1TStage2OMTF::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), L1TStage2uGTTiming::analyze(), JetTester::analyze(), TopDiLeptonDQM::analyze(), L1TStage2uGT::analyze(), ContainmentCorrectionAnalyzer::analyze(), EnergyScaleAnalyzer::analyze(), PDFWeightsTest::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), L1TStage2BMTF::analyze(), HcalTB06Analysis::analyze(), JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), JetAnalyzer_HeavyIons_matching::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), reco::tau::RecoTauDiscriminantCleanerPlugin::beginEvent(), reco::tau::RecoTauTagInfoWorkaroundModifer::beginEvent(), ecaldqm::TrigPrimTask::beginEvent(), ecaldqm::ClusterTask::beginEvent(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::beginEvent(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::beginEvent(), reco::tau::RecoTauBuilderPlugin::beginEvent(), PFRecoTauDiscriminationByIsolationMVA2::beginEvent(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), reco::tau::PATTauDiscriminationByMVAIsolationRun2::beginEvent(), TtSemiLepHypGenMatch::buildHypo(), TtFullLepHypKinSolution::buildHypo(), TtFullHadHypGenMatch::buildHypo(), TtFullLepHypGenMatch::buildHypo(), TtFullHadHypKinFit::buildHypo(), TtSemiLepHypHitFit::buildHypo(), TtSemiLepHypKinFit::buildHypo(), TtFullLepHypGenMatch::buildMatchingNeutrinos(), MuonDetLayerMeasurements::checkCSCRecHits(), MuonDetLayerMeasurements::checkDTRecHits(), MuonDetLayerMeasurements::checkGEMRecHits(), MuonDetLayerMeasurements::checkME0RecHits(), MTDDetLayerMeasurements::checkMTDRecHits(), AlignmentTrackSelector::checkPrescaledHits(), MuonDetLayerMeasurements::checkRPCRecHits(), CosmicClusterProducer::clusterizeECALPart(), METCorrectionAlgorithm::compMETCorrection(), reco::PFMETProducerMVA::computeLeptonInfo(), SiStripGainFromCalibTree::connect(), PFClusterEMEnergyCorrector::correctEnergies(), PFTauExtractor::depositFromObject(), SiStripFineDelayHit::detId(), HcalSignalGenerator< HBHEDigitizerTraits >::fill(), TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >::TauDiscInfo::fill(), deep_tau::DeepTauBase::TauDiscInfo< ConsumeType >::fill(), EcalSignalGenerator< EEDigitizerTraits >::fill(), TtEvtBuilder< C >::fillSpecific(), DetectorStateFilter::filter(), EcalMonitorPrescaler::filter(), CandCollectionExistFilter::filter(), DetStatus::filter(), EvtPlaneFilter::filter(), RecoTauPileUpVertexSelector::filter(), LHEJetFilter::filter(), StringCutObjectEvtFilter< T >::filter(), JetMETDQMDCSFilter::filter(), ObjectPairFilter< C, S >::filter(), GenHTFilter::filter(), ModelpMSSMFilter::filter(), ObjectSelector< SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >, reco::CandidateCollection, NonNullNumberSelector >::filter(), RunManagerMTWorker::generateEvent(), Multi5x5SuperClusterProducer::getClusterPtrVector(), HiSuperClusterProducer::getClusterPtrVector(), Multi5x5ClusterProducer::getCollection(), IslandClusterProducer::getCollection(), AddCorrectionsToGenericMET::getCorrection(), JetMatchingTools::getEBRecHitCollection(), JetMatchingTools::getEBSimHitCollection(), JetMatchingTools::getEERecHitCollection(), JetMatchingTools::getEESimHitCollection(), DAFTrackProducer::getFromEvt(), JetMatchingTools::getGenParticlesCollection(), JetMatchingTools::getHBHERecHitCollection(), JetMatchingTools::getHcalSimHitCollection(), JetMatchingTools::getHFRecHitCollection(), JetMatchingTools::getHORecHitCollection(), MixEvtVtxGenerator::getRecVertex(), MixBoostEvtVtxGenerator::getRecVertex(), JetMatchingTools::getSimTrackCollection(), JetMatchingTools::getSimVertexCollection(), MixEvtVtxGenerator::getVertex(), MixBoostEvtVtxGenerator::getVertex(), TrackCollectionTokens::indicesInput(), AlignmentTrackSelector::isIsolated(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::loopOnTracks(), TrackerHitAssociator::makeMaps(), OverlapExclusionSelector< C, T, O >::newEvent(), reco::modules::MCMatchCandRefSelector::newEvent(), ObjectCountEventSelector< C, S, N, CS >::operator()(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), MCPdgIndexFilter::pass(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), TtGenEventReco::produce(), StGenEventReco::produce(), TtSemiLepJetCombMaxSumPtWMass::produce(), PATTauIDEmbedder::produce(), TtSemiLepJetCombGeom::produce(), TtSemiLepJetCombWMassMaxSumPt::produce(), HGCalUncalibRecHitProducer::produce(), MTDUncalibratedRecHitProducer::produce(), PileupSummaryInfoSlimmer::produce(), TopInitSubset::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), TtSemiLepJetCombWMassDeltaTopMass::produce(), TtSemiLepKinFitProducer< LeptonCollection >::produce(), GsfTrackRefitter::produce(), TrackRefitter::produce(), EcalUncalibRecHitProducer::produce(), MassKinFitterCandProducer::produce(), TICLLayerTileProducer::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), GenParticleDecaySelector::produce(), MultiClustersFromTrackstersProducer::produce(), AssociationMapOneToOne2Association< CKey, CVal >::produce(), CandOneToOneDeltaRMatcher::produce(), DAFTrackProducer::produce(), TtFullLepKinSolutionProducer::produce(), PFTICLProducer::produce(), AssociationVector2ValueMap< KeyRefProd, CVal >::produce(), CandOneToManyDeltaRMatcher::produce(), TtFullHadSignalSelMVAComputer::produce(), IPTCorrector::produce(), ScaleCorrMETData::produce(), MTDRecHitProducer::produce(), TrackstersMergeProducer::produce(), CandViewRefMerger::produce(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), GenTrackMatcher::produce(), EcalRecalibRecHitProducer::produce(), GenParticlePruner::produce(), MTDTrackingRecHitProducer::produce(), CollectionAdder< C >::produce(), TtSemiLepSignalSelMVAComputer::produce(), PATPuppiJetSpecificProducer::produce(), TtSemiLepJetCombMVAComputer::produce(), MCTrackMatcher::produce(), RecHitFilter::produce(), BaseEvtVtxGenerator::produce(), FilteredLayerClustersProducer::produce(), photonIsolationHIProducer::produce(), CaloTowerCandidateCreator::produce(), ShiftedMETcorrInputProducer::produce(), TICLCandidateFromTrackstersProducer::produce(), HPSPFTauProducer::produce(), EcalTPSkimmer::produce(), GenVisTauProducer::produce(), HGCalRecHitProducer::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), PassThroughEvtVtxGenerator::produce(), JVFJetIdProducer::produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::produce(), TrackProducerWithSCAssociation::produce(), CloneProducer< C >::produce(), EcalRecHitProducer::produce(), ShallowCloneProducer< C >::produce(), reco::modules::MatcherBase< Collection, Collection, reco::helper::CandMapTrait< Collection >::type >::produce(), reco::modulesNew::Matcher< C1, C2, S, D >::produce(), TrackInfoProducer::produce(), CandReducer::produce(), EcalDetailedTimeRecHitProducer::produce(), MuonMETcorrInputProducer::produce(), PhotonCoreProducer::produce(), RecoTauPiZeroUnembedder::produce(), ShiftedParticleMETcorrInputProducer::produce(), SysShiftMETcorrInputProducer::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), Type0PFMETcorrInputProducer::produce(), EcalBarrelClusterFastTimer::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), HGCalMultiClusterProducer::produce(), NoPileUpPFMEtProducer::produce(), EcalDigiSelector::produce(), EgammaHLTCaloTowerProducer::produce(), PFCandMETcorrInputProducer::produce(), InputGenJetsParticleSelector::produce(), CaloTowerFromL1TSeededCreatorForTauHLT::produce(), UncleanSCRecoveryProducer::produce(), TtFullHadHypothesis::produce(), MultShiftMETcorrInputProducer::produce(), PFchsMETcorrInputProducer::produce(), EgammaHLTRecoEcalCandidateProducers::produce(), CorrMETDataExtractor::produce(), ShiftedParticleProducer::produce(), CleanAndMergeProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), MixEvtVtxGenerator::produce(), HybridClusterProducer::produce(), TtSemiLepHypothesis::produce(), Merger< InputCollection, OutputCollection, P >::produce(), HiEgammaSCCorrectionMaker::produce(), HGCalLayerClusterProducer::produce(), PreshowerClusterShapeProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), TtEvtBuilder< C >::produce(), CaloTowerCreatorForTauHLT::produce(), TtFullLepHypothesis::produce(), CosmicTrackSelector::produce(), TrackMVAClassifierBase::produce(), HGCalTrackCollectionProducer::produce(), IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::produce(), RecoTauGenericJetRegionProducer< JetType, CandType >::produce(), MinMETProducerT< T >::produce(), ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce(), CorrectedCaloMETProducer::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), TrackTimeValueMapProducer::produce(), BoostedTauSeedsProducer::produce(), NoPileUpPFMEtDataProducer::produce(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::produce(), pat::TauJetCorrFactorsProducer::produce(), CorrectedPATMETProducer::produce(), PhotonProducer::produce(), ConvertedPhotonProducer::produce(), RecoTauPiZeroProducer::produce(), EgammaSCCorrectionMaker::produce(), reco::PFMETProducerMVA::produce(), TtJetPartonMatch< C >::produce(), SimPFProducer::produce(), EventShapeVarsProducer::produce(), EgammaHLTNxNClusterProducer::produce(), UnifiedSCCollectionProducer::produce(), PreshowerPhiClusterProducer::produce(), RecoTauProducer::produce(), IsolatedPixelTrackCandidateProducer::produce(), PreshowerClusterProducer::produce(), MixBoostEvtVtxGenerator::produce(), GEDPhotonProducer::produce(), IsolatedPixelTrackCandidateL1TProducer::produce(), CorrectedPFMETProducer::produce(), BetaBoostEvtVtxGenerator::produce(), CorrectedPatMETProducer::produce(), GenHFHadronMatcher::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), ShiftedParticleProducerT< T >::produce(), RecoTauCleanerImpl< Prod >::produce(), FlavorHistoryProducer::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), PFRecoTauChargedHadronProducer::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), HLTRechitInRegionsProducer< T1 >::produce(), CorrectedMETProducerT< T >::produce(), ShiftedJetProducerT< T, Textractor >::produce(), GenParticleProducer::produce(), CaloJetMETcorrInputProducerT< T, Textractor >::produce(), CandidateProducer< TColl, CColl, Selector, Conv, Creator, Init >::produce(), Type2CorrectionProducer::produce(), JetCleanerForType1METT< T, Textractor >::produce(), GenPUProtonProducer::produce(), PFJetMETcorrInputProducerT< T, Textractor >::produce(), reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >::produce(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), RunManagerMTWorker::resetGenParticleId(), EcalRecHitWorkerRecover::run(), AnalyticalTrackSelector::run(), MultiTrackSelector::run(), HIMultiTrackSelector::run(), EcalDQMonitorTask::runOnCollection(), AssociatedVariableCollectionSelector< InputCollection, VarCollection, Selector, OutputCollection, StoreContainer, RefAdder >::select(), DualByL2TSG::selectTSG(), EcalUncalibRecHitWorkerMultiFit::set(), reco::tau::RecoTauVertexAssociator::setEvent(), ConversionSeedFinder::setEvent(), IsoTrig::studyTiming(), FastTSGFromIOHit::trackerSeeds(), TrackCollectionTokens::tracks(), and TrackCollectionTokens::trajectories().
bool Event::getByToken | ( | EDGetToken | token, |
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 617 of file Event.h.
References edm::ELEMENT_TYPE, edm::BasicHandle::failedToGet(), edm::PrincipalGetAdapter::getByToken_(), h, moduleCallingContext_, eostools::move(), provRecorder_, mps_fire::result, unpackBuffers-CaloStage2::token, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
bool Event::getByToken | ( | EDGetTokenT< PROD > | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 551 of file Event.h.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, unpackBuffers-CaloStage2::token, and UNLIKELY.
bool Event::getByToken | ( | EDGetTokenT< View< ELEMENT >> | token, |
Handle< View< ELEMENT >> & | result | ||
) | const |
Definition at line 630 of file Event.h.
References edm::ELEMENT_TYPE, edm::BasicHandle::failedToGet(), edm::PrincipalGetAdapter::getByToken_(), h, moduleCallingContext_, eostools::move(), provRecorder_, mps_fire::result, unpackBuffers-CaloStage2::token, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
Handle< PROD > Event::getHandle | ( | EDGetTokenT< PROD > | token | ) | const |
Definition at line 563 of file Event.h.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByToken_(), LIKELY, moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, and unpackBuffers-CaloStage2::token.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::beginEvent(), ParticleBasedIsoProducer::produce(), PFTICLProducer::produce(), ChargedHadronPFTrackIsolationProducer::produce(), ConvertedPhotonProducer::produce(), ConversionTrackCandidateProducer::produce(), AlignmentTrackFromVertexSelector::select(), EGFull5x5ShowerShapeModifierFromValueMaps::setEvent(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
Handle< View< ELEMENT > > Event::getHandle | ( | EDGetTokenT< View< ELEMENT >> | token | ) | const |
Definition at line 643 of file Event.h.
References edm::ELEMENT_TYPE, edm::BasicHandle::failedToGet(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), provRecorder_, unpackBuffers-CaloStage2::token, UNLIKELY, and edm::BasicHandle::whyFailedFactory().
|
overrideprivatevirtual |
Implements edm::EventBase.
Definition at line 267 of file Event.cc.
References addToGotBranchIDs(), getByProductID_(), and h.
|
inline |
Definition at line 100 of file Event.h.
References fillLuminosityBlock(), and luminosityBlock_.
Referenced by EcalDQMonitorTask::analyze(), and getRun().
Definition at line 530 of file Event.h.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getManyByType(), moduleCallingContext_, provRecorder_, bookConverter::results, and trackerHitRTTI::vector.
Referenced by EnergyScaleAnalyzer::analyze().
bool Event::getProcessParameterSet | ( | std::string const & | processName, |
ParameterSet & | ps | ||
) | const |
Definition at line 140 of file Event.cc.
References cms::cuda::assert(), submitPVResolutionJobs::config, edm::ParameterSet::empty(), edm::ProcessHistory::getConfigurationForProcess(), edm::pset::Registry::getMapped(), edm::pset::Registry::instance(), processHistory(), and SimL1EmulatorRepack_CalouGT_cff::processName.
Provenance const & Event::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 118 of file Event.cc.
References edm::Principal::getProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
Provenance const & Event::getProvenance | ( | ProductID const & | theID | ) | const |
Definition at line 122 of file Event.cc.
References eventPrincipal(), and edm::EventPrincipal::getProvenance().
Returns a RefProd to a product before that product has been placed into the Event. The RefProd (and any Ref's made from it) will no work properly until after the Event has been committed (which happens after leaving the EDProducer::produce method)
Definition at line 158 of file Event.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by helper::CandDecayStoreManager::cloneAndStore(), TopInitSubset::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), GenParticleDecaySelector::produce(), GenParticlePruner::produce(), RecoTauPiZeroUnembedder::produce(), CosmicTrackSelector::produce(), BoostedTauSeedsProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), GenParticleProducer::produce(), TrackCollectionCloner::Producer::Producer(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), and AnalyticalTrackSelector::run().
RefProd< PROD > Event::getRefBeforePut | ( | EDPutToken | token | ) |
Definition at line 488 of file Event.h.
References edm::PrincipalGetAdapter::getProductID(), edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), PROD, edm::PrincipalGetAdapter::prodGetter(), provRecorder_, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), edm::principal_get_adapter_detail::throwOnPutOfWrongType(), unpackBuffers-CaloStage2::token, and UNLIKELY.
RefProd< PROD > Event::getRefBeforePut | ( | EDPutTokenT< PROD > | token | ) |
Definition at line 480 of file Event.h.
References edm::PrincipalGetAdapter::getProductID(), PROD, edm::PrincipalGetAdapter::prodGetter(), provRecorder_, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.
RefProd< PROD > Event::getRefBeforePut | ( | std::string const & | productInstanceName | ) |
Definition at line 472 of file Event.h.
References edm::PrincipalGetAdapter::getProductID(), edm::PrincipalGetAdapter::getPutTokenIndex(), PROD, edm::PrincipalGetAdapter::prodGetter(), and provRecorder_.
Run const & Event::getRun | ( | ) | const |
Definition at line 112 of file Event.cc.
References getLuminosityBlock(), and edm::LuminosityBlock::getRun().
Referenced by EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), GenParticleProducer::produce(), and GenPUProtonProducer::produce().
StableProvenance const & Event::getStableProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 124 of file Event.cc.
References edm::Principal::getStableProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by EcalSelectiveReadoutProducer::getBinOfMax().
StableProvenance const & Event::getStableProvenance | ( | ProductID const & | theID | ) | const |
Definition at line 128 of file Event.cc.
References eventPrincipal(), and edm::EventPrincipal::getStableProvenance().
|
inline |
Definition at line 255 of file Event.h.
References edm::PrincipalGetAdapter::labelsForToken(), and provRecorder_.
Referenced by TrackerHitAssociator::makeMaps().
|
private |
Definition at line 108 of file Event.cc.
References edm::EventPrincipal::branchIDToProductID(), submitPVResolutionJobs::desc, and eventPrincipal().
|
inline |
|
overridevirtual |
Implements edm::EventBase.
Definition at line 150 of file Event.cc.
References edm::EventBase::parameterSetForID_().
|
inline |
Definition at line 263 of file Event.h.
References edm::PrincipalGetAdapter::processBlockIndex(), SimL1EmulatorRepack_CalouGT_cff::processName, and provRecorder_.
|
overridevirtual |
Implements edm::EventBase.
Definition at line 250 of file Event.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), EcalSelectiveReadoutProducer::getBinOfMax(), and getProcessParameterSet().
ProcessHistoryID const & Event::processHistoryID | ( | ) | const |
Definition at line 116 of file Event.cc.
References eventPrincipal(), and edm::Principal::processHistoryID().
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent().
EDProductGetter const & Event::productGetter | ( | ) | const |
Definition at line 106 of file Event.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by fillView_(), PFTICLProducer::produce(), CosmicTrackSelector::produce(), and BoostedTauSeedsProducer::produce().
OrphanHandle< PROD > Event::put | ( | EDPutToken | token, |
std::unique_ptr< PROD > | product | ||
) |
Definition at line 416 of file Event.h.
References edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), eostools::move(), PROD, edm::PrincipalGetAdapter::productInstanceLabel(), provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), edm::principal_get_adapter_detail::throwOnPutOfWrongType(), unpackBuffers-CaloStage2::token, and UNLIKELY.
OrphanHandle< PROD > Event::put | ( | EDPutTokenT< PROD > | token, |
std::unique_ptr< PROD > | product | ||
) |
Definition at line 404 of file Event.h.
References eostools::move(), PROD, edm::PrincipalGetAdapter::productInstanceLabel(), provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.
|
inline |
Put a new product.
Definition at line 133 of file Event.h.
References eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Multi5x5ClusterProducer::clusterizeECALPart(), CosmicClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), EDMNeutronWriter::endEvent(), RecoTauPileUpVertexSelector::filter(), gen::Pythia6Gun::loadEvent(), EgammaHLTNxNClusterProducer::makeNxNClusters(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), TtGenEventReco::produce(), StGenEventReco::produce(), PATTauIDEmbedder::produce(), DoubleProducer::produce(), TtSemiLepJetCombMaxSumPtWMass::produce(), HGCalUncalibRecHitProducer::produce(), TtSemiLepJetCombGeom::produce(), TtSemiLepJetCombWMassMaxSumPt::produce(), PileupSummaryInfoSlimmer::produce(), MTDUncalibratedRecHitProducer::produce(), TopInitSubset::produce(), NativeArrayTableProducer< TIn, TCol >::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), TtSemiLepJetCombWMassDeltaTopMass::produce(), TtSemiLepKinFitProducer< LeptonCollection >::produce(), EcalUncalibRecHitProducer::produce(), HGCalRecHitMapProducer::produce(), MassKinFitterCandProducer::produce(), ParticleBasedIsoProducer::produce(), TICLLayerTileProducer::produce(), GenParticleDecaySelector::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), CandOneToOneDeltaRMatcher::produce(), AssociationMapOneToOne2Association< CKey, CVal >::produce(), EcalTBWeightUncalibRecHitProducer::produce(), MultiClustersFromTrackstersProducer::produce(), CandOneToManyDeltaRMatcher::produce(), AssociationVector2ValueMap< KeyRefProd, CVal >::produce(), TtFullHadSignalSelMVAComputer::produce(), TtFullLepKinSolutionProducer::produce(), PFTICLProducer::produce(), MTDRecHitProducer::produce(), IPTCorrector::produce(), ScaleCorrMETData::produce(), CandViewRefMerger::produce(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), TrackstersMergeProducer::produce(), GenParticlePruner::produce(), EcalRecalibRecHitProducer::produce(), MTDTrackingRecHitProducer::produce(), PATPuppiJetSpecificProducer::produce(), GenTrackMatcher::produce(), MCTrackMatcher::produce(), TtSemiLepSignalSelMVAComputer::produce(), CollectionAdder< C >::produce(), TtSemiLepJetCombMVAComputer::produce(), photonIsolationHIProducer::produce(), CaloTowerCandidateCreator::produce(), ChargedHadronPFTrackIsolationProducer::produce(), ShiftedMETcorrInputProducer::produce(), BaseEvtVtxGenerator::produce(), RecHitFilter::produce(), LmfSource::produce(), FilteredLayerClustersProducer::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), GenVisTauProducer::produce(), EcalTPSkimmer::produce(), HGCalRecHitProducer::produce(), PassThroughEvtVtxGenerator::produce(), HPSPFTauProducer::produce(), TICLCandidateFromTrackstersProducer::produce(), JVFJetIdProducer::produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::produce(), EcalRecHitProducer::produce(), CloneProducer< C >::produce(), ShallowCloneProducer< C >::produce(), TrackInfoProducer::produce(), CandReducer::produce(), reco::modules::MatcherBase< Collection, Collection, reco::helper::CandMapTrait< Collection >::type >::produce(), reco::modulesNew::Matcher< C1, C2, S, D >::produce(), TrackProducerWithSCAssociation::produce(), EcalDetailedTimeRecHitProducer::produce(), RecoTauPiZeroUnembedder::produce(), ShiftedParticleMETcorrInputProducer::produce(), MuonMETcorrInputProducer::produce(), PhotonCoreProducer::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), SysShiftMETcorrInputProducer::produce(), TICLSeedingRegionProducer::produce(), TrackFromPackedCandidateProducer::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), Type0PFMETcorrInputProducer::produce(), HGCalMultiClusterProducer::produce(), EcalDigiSelector::produce(), NoPileUpPFMEtProducer::produce(), EgammaHLTCaloTowerProducer::produce(), InputGenJetsParticleSelector::produce(), CaloTowerFromL1TSeededCreatorForTauHLT::produce(), PFCandMETcorrInputProducer::produce(), CorrMETDataExtractor::produce(), ShiftedParticleProducer::produce(), CleanAndMergeProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), TtFullHadHypothesis::produce(), UncleanSCRecoveryProducer::produce(), EgammaHLTRecoEcalCandidateProducers::produce(), MultShiftMETcorrInputProducer::produce(), PFchsMETcorrInputProducer::produce(), TrackstersProducer::produce(), MixEvtVtxGenerator::produce(), HybridClusterProducer::produce(), TtSemiLepHypothesis::produce(), Merger< InputCollection, OutputCollection, P >::produce(), HGCalLayerClusterProducer::produce(), PreshowerClusterShapeProducer::produce(), HiEgammaSCCorrectionMaker::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), MultShiftMETcorrDBInputProducer::produce(), TtFullLepHypothesis::produce(), TtEvtBuilder< C >::produce(), CosmicTrackSelector::produce(), TrackMVAClassifierBase::produce(), CaloTowerCreatorForTauHLT::produce(), IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::produce(), MinMETProducerT< T >::produce(), HGCalTrackCollectionProducer::produce(), RecoTauGenericJetRegionProducer< JetType, CandType >::produce(), UniqueMerger< InputCollection, OutputCollection, P >::produce(), CorrectedCaloMETProducer::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), BoostedTauSeedsProducer::produce(), NoPileUpPFMEtDataProducer::produce(), reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::produce(), pat::TauJetCorrFactorsProducer::produce(), CorrectedPATMETProducer::produce(), PhotonProducer::produce(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), reco::PFMETProducerMVA::produce(), RecoTauPiZeroProducer::produce(), EgammaSCCorrectionMaker::produce(), SimPFProducer::produce(), TtJetPartonMatch< C >::produce(), EventShapeVarsProducer::produce(), UnifiedSCCollectionProducer::produce(), ConversionTrackCandidateProducer::produce(), PreshowerPhiClusterProducer::produce(), RecoTauProducer::produce(), IsolatedPixelTrackCandidateProducer::produce(), PreshowerClusterProducer::produce(), MixBoostEvtVtxGenerator::produce(), GEDPhotonProducer::produce(), IsolatedPixelTrackCandidateL1TProducer::produce(), CorrectedPFMETProducer::produce(), EcalSimpleProducer::produce(), BetaBoostEvtVtxGenerator::produce(), CorrectedPatMETProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), RecoTauCleanerImpl< Prod >::produce(), ShiftedParticleProducerT< T >::produce(), PFRecoTauChargedHadronProducer::produce(), FlavorHistoryProducer::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackstersFromSimClustersProducer::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), HLTRechitInRegionsProducer< T1 >::produce(), CorrectedMETProducerT< T >::produce(), ShiftedJetProducerT< T, Textractor >::produce(), GenParticleProducer::produce(), CaloJetMETcorrInputProducerT< T, Textractor >::produce(), CandidateProducer< TColl, CColl, Selector, Conv, Creator, Init >::produce(), Type2CorrectionProducer::produce(), JetCleanerForType1METT< T, Textractor >::produce(), GenPUProtonProducer::produce(), PFJetMETcorrInputProducerT< T, Textractor >::produce(), reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >::produce(), HiSuperClusterProducer::produceSuperclustersForECALPart(), helper::CandDecayStoreManager::put(), helper::MuonCollectionStoreManager::put(), helper::TrackCollectionStoreManager::put(), put(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >::put(), helper::GsfElectronCollectionStoreManager::put(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), DAFTrackProducer::putInEvtTrajAnn(), SiStripZeroSuppression::putOutputs(), AnalyticalTrackSelector::run(), MultiTrackSelector::run(), HIMultiTrackSelector::run(), l1t::stage2::BMTFCollections::~BMTFCollections(), l1t::stage2::CaloCollections::~CaloCollections(), l1t::stage1::CaloCollections::~CaloCollections(), l1t::stage2::CaloLayer1Collections::~CaloLayer1Collections(), l1t::stage2::EMTFCollections::~EMTFCollections(), GctUnpackCollections::~GctUnpackCollections(), l1t::stage2::GMTCollections::~GMTCollections(), l1t::stage2::GTCollections::~GTCollections(), and RctUnpackCollections::~RctUnpackCollections().
OrphanHandle< PROD > Event::put | ( | std::unique_ptr< PROD > | product, |
std::string const & | productInstanceName | ||
) |
Put a new product with a 'product instance name'.
Definition at line 393 of file Event.h.
References edm::PrincipalGetAdapter::getPutTokenIndex(), eostools::move(), PROD, provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and UNLIKELY.
|
private |
Definition at line 376 of file Event.h.
References cms::cuda::assert(), edm::PrincipalGetAdapter::getProductID(), eostools::move(), dumpMFGeometry_cfg::prod, PROD, provRecorder_, putProducts(), size(), relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.
Referenced by put().
|
inlineprivate |
Definition at line 308 of file Event.h.
References putProducts_.
Referenced by commit_(), emplaceImpl(), putImpl(), and size().
|
inlineprivate |
|
inline |
Definition at line 109 of file Event.h.
References edm::EventBase::id(), and edm::EventID::run().
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and LaserSorter::writeEventHeader().
void Event::setConsumer | ( | EDConsumerBase const * | iConsumer | ) |
Definition at line 39 of file Event.cc.
References gotBranchIDs_, luminosityBlock_, edm::PrincipalGetAdapter::numberOfProductsConsumed(), provRecorder_, and edm::PrincipalGetAdapter::setConsumer().
void Event::setProducer | ( | ProducerBase const * | iProd, |
std::vector< BranchID > * | previousParentage, | ||
std::vector< BranchID > * | gotBranchIDsFromAcquire = nullptr |
||
) |
Definition at line 68 of file Event.cc.
References addToGotBranchIDs(), gotBranchIDsFromPrevious_, previousBranchIDs_, provRecorder_, edm::PrincipalGetAdapter::recordProvenanceList(), setProducerCommon(), and findQualityFiles::v.
void Event::setProducerCommon | ( | ProducerBase const * | iProd, |
std::vector< BranchID > * | previousParentage | ||
) |
Definition at line 61 of file Event.cc.
References previousBranchIDs_, provRecorder_, putProducts_, edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex(), and edm::PrincipalGetAdapter::setProducer().
Referenced by setProducer(), and setProducerForAcquire().
void Event::setProducerForAcquire | ( | ProducerBase const * | iProd, |
std::vector< BranchID > * | previousParentage, | ||
std::vector< BranchID > & | gotBranchIDsFromAcquire | ||
) |
Definition at line 94 of file Event.cc.
References gotBranchIDsFromAcquire_, and setProducerCommon().
void Event::setSharedResourcesAcquirer | ( | SharedResourcesAcquirer * | iResourceAcquirer | ) |
Definition at line 47 of file Event.cc.
References luminosityBlock_, provRecorder_, and edm::PrincipalGetAdapter::setSharedResourcesAcquirer().
size_t Event::size | ( | void | ) | const |
Definition at line 252 of file Event.cc.
References electrons_cff::bool, mps_fire::end, mps_fire::i, edm::PrincipalGetAdapter::principal(), provRecorder_, putProducts(), and edm::Principal::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), emplaceImpl(), and putImpl().
|
inline |
Definition at line 98 of file Event.h.
References streamID_.
Referenced by edm::global::EDFilterBase::doAcquire(), edm::global::EDProducerBase::doAcquire(), edm::global::EDFilterBase::doEvent(), edm::global::EDAnalyzerBase::doEvent(), edm::global::EDProducerBase::doEvent(), edm::limited::EDFilterBase::doEvent(), edm::limited::EDAnalyzerBase::doEvent(), edm::limited::EDProducerBase::doEvent(), BaseEvtVtxGenerator::produce(), gen::Pythia6Gun::produce(), RunManagerMTWorker::produce(), and BetaBoostEvtVtxGenerator::produce().
|
overridevirtual |
Implements edm::EventBase.
Definition at line 275 of file Event.cc.
References Exception, names, edm::EventBase::triggerNames_(), and edm::triggerResults().
Referenced by TopDiLeptonDQM::analyze(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), and egHLT::OffHelper::setTrigInfo().
|
overridevirtual |
Implements edm::EventBase.
Definition at line 284 of file Event.cc.
References names, edm::EventBase::triggerNames_(), and edm::triggerResults().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 318 of file Event.h.
Referenced by eventAuxiliary().
|
staticprivate |
Definition at line 342 of file Event.h.
Referenced by getByLabel().
|
mutableprivate |
Definition at line 328 of file Event.h.
Referenced by addToGotBranchIDs(), commit_aux(), and setConsumer().
|
private |
Definition at line 331 of file Event.h.
Referenced by addToGotBranchIDs(), and setProducerForAcquire().
|
mutableprivate |
Definition at line 329 of file Event.h.
Referenced by addToGotBranchIDs(), commit_aux(), and setProducer().
|
mutableprivate |
Definition at line 337 of file Event.h.
Referenced by fillView_().
|
mutableprivate |
Definition at line 321 of file Event.h.
Referenced by fillLuminosityBlock(), getLuminosityBlock(), setConsumer(), and setSharedResourcesAcquirer().
|
private |
Definition at line 340 of file Event.h.
Referenced by fillLuminosityBlock(), getByLabel(), getByLabelImpl(), getByToken(), getHandle(), getManyByType(), and moduleCallingContext().
|
private |
Definition at line 330 of file Event.h.
Referenced by addToGotBranchIDs(), commit_aux(), setProducer(), and setProducerCommon().
|
private |
Definition at line 311 of file Event.h.
Referenced by commit_(), commit_aux(), emplace(), emplaceImpl(), eventPrincipal(), fillLuminosityBlock(), getAllProvenance(), getAllStableProvenance(), getByLabel(), getByLabelImpl(), getByToken(), getHandle(), getManyByType(), getProvenance(), getRefBeforePut(), getStableProvenance(), labelsForToken(), processBlockIndex(), processHistory(), productGetter(), put(), putImpl(), setConsumer(), setProducer(), setProducerCommon(), setSharedResourcesAcquirer(), and size().
|
private |
Definition at line 316 of file Event.h.
Referenced by putProducts(), and setProducerCommon().
|
private |
Definition at line 339 of file Event.h.
Referenced by streamID().