1 #ifndef FWCore_Framework_EventPrincipal_h 2 #define FWCore_Framework_EventPrincipal_h 32 class BranchIDListHelper;
33 class ProductProvenanceRetriever;
36 class HistoryAppender;
37 class LuminosityBlockPrincipal;
38 class ModuleCallingContext;
41 class ThinnedAssociation;
42 class ThinnedAssociationsHelper;
43 class ProcessHistoryRegistry;
55 std::shared_ptr<ProductRegistry const> reg,
56 std::shared_ptr<BranchIDListHelper const> branchIDListHelper,
57 std::shared_ptr<ThinnedAssociationsHelper const> thinnedAssociationsHelper,
60 unsigned int streamIndex = 0,
61 bool isForPrimaryProcess =
true);
78 bool deepCopyRetriever =
true);
153 std::unique_ptr<WrapperBase> edp,
158 std::unique_ptr<WrapperBase> edp,
164 std::vector<WrapperBase const*>& foundContainers,
165 std::vector<unsigned int>&
keys)
const override;
std::shared_ptr< ThinnedAssociationsHelper const > thinnedAssociationsHelper_
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
void setLuminosityBlockPrincipal(std::shared_ptr< LuminosityBlockPrincipal > const &lbp)
EventSelectionIDVector const & eventSelectionIDs() const
virtual WrapperBase const * getThinnedProduct(ProductID const &pid, unsigned int &key) const override
int bunchCrossing() const
std::shared_ptr< ProductProvenanceRetriever > & provRetrieverPtr()
EventAuxiliary::ExperimentType ExperimentType() const
BasicHandle getByProductID(ProductID const &oid) const
EventSelectionIDVector eventSelectionIDs_
BranchID pidToBid(ProductID const &pid) const
static int const invalidBunchXing
BranchListIndexes branchListIndexes_
edm::ThinnedAssociation const * getThinnedAssociation(edm::BranchID const &branchID) const
EventPrincipal(std::shared_ptr< ProductRegistry const > reg, std::shared_ptr< BranchIDListHelper const > branchIDListHelper, std::shared_ptr< ThinnedAssociationsHelper const > thinnedAssociationsHelper, ProcessConfiguration const &pc, HistoryAppender *historyAppender, unsigned int streamIndex=0, bool isForPrimaryProcess=true)
EventID const & id() const
Provenance getProvenance(ProductID const &pid, ModuleCallingContext const *mcc) const
Timestamp const & time() const
std::map< BranchListIndex, ProcessIndex > branchListIndexToProcessIndex_
Provenance getProvenance(BranchID const &bid, ModuleCallingContext const *mcc) const
std::shared_ptr< BranchIDListHelper const > branchIDListHelper_
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockPrincipal & luminosityBlockPrincipal()
edm::propagate_const< std::shared_ptr< ProductProvenanceRetriever > > provRetrieverPtr_
LuminosityBlockNumber_t luminosityBlock() const
BranchListIndexes const & branchListIndexes() const
unsigned int LuminosityBlockNumber_t
int bunchCrossing() const
ProductID branchIDToProductID(BranchID const &bid) const
RunPrincipal const & runPrincipal() const
std::vector< EventSelectionID > EventSelectionIDVector
virtual void getThinnedProducts(ProductID const &pid, std::vector< WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const override
ExperimentType experimentType() const
Timestamp const & time() const
void mergeProvenanceRetrievers(EventPrincipal &other)
std::vector< BranchListIndex > BranchListIndexes
static int const invalidBunchXing
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
Base::ConstProductResolverPtr ConstProductResolverPtr
StreamID streamID() const
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
DelayedReader * reader() const
static int const invalidStoreNumber
void clearEventPrincipal()
void putOnRead(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const *productProvenance) const
edm::propagate_const< std::shared_ptr< LuminosityBlockPrincipal > > luminosityBlockPrincipal_
ProductResolverBase const * ConstProductResolverPtr
EventID const & id() const
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
static int const invalidStoreNumber
virtual unsigned int transitionIndex_() const override
bool luminosityBlockPrincipalPtrValid() const
void setRunAndLumiNumber(RunNumber_t run, LuminosityBlockNumber_t lumi)
EventAuxiliary const & aux() const
std::shared_ptr< ProductProvenanceRetriever const > provRetrieverPtr() const
virtual WrapperBase const * getIt(ProductID const &pid) const override