1 #ifndef FWCore_Framework_EventPrincipal_h
2 #define FWCore_Framework_EventPrincipal_h
31 class BranchIDListHelper;
32 class ProductProvenanceRetriever;
35 class HistoryAppender;
36 class LuminosityBlockPrincipal;
37 class ModuleCallingContext;
40 class ThinnedAssociation;
41 class ThinnedAssociationsHelper;
42 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);
154 std::unique_ptr<WrapperBase> edp,
159 std::unique_ptr<WrapperBase> edp,
165 std::vector<WrapperBase const*>& foundContainers,
166 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
std::shared_ptr< LuminosityBlockPrincipal > luminosityBlockPrincipal_
int bunchCrossing() const
std::shared_ptr< UnscheduledHandler > unscheduledHandler_
ProductHolderBase const * ConstProductHolderPtr
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
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
void mergeProvenanceRetrievers(EventPrincipal const &other)
std::shared_ptr< BranchIDListHelper const > branchIDListHelper_
LuminosityBlockNumber_t luminosityBlock() const
virtual void readFromSource_(ProductHolderBase const &phb, ModuleCallingContext const *mcc) const override
LuminosityBlockPrincipal & luminosityBlockPrincipal()
void putOnRead(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance)
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 WrapperBase const * getThinnedProduct(ProductID const &pid, unsigned int &key) const override
ExperimentType experimentType() const
Timestamp const & time() const
void setUnscheduledHandler(std::shared_ptr< UnscheduledHandler > iHandler)
std::vector< std::string > * moduleLabelsRunning_
std::vector< BranchListIndex > BranchListIndexes
static int const invalidBunchXing
std::shared_ptr< ProductProvenanceRetriever > productProvenanceRetrieverPtr() const
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
UnscheduledSentry(std::vector< std::string > *moduleLabelsRunning, std::string const &moduleLabel)
StreamID streamID() const
virtual WrapperBase const * getIt(ProductID const &pid) const override
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
DelayedReader * reader() const
static int const invalidStoreNumber
virtual unsigned int transitionIndex_() const override
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance)
void clearEventPrincipal()
std::shared_ptr< UnscheduledHandler > unscheduledHandler() const
EventID const & id() const
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
std::shared_ptr< ProductProvenanceRetriever > provRetrieverPtr_
static int const invalidStoreNumber
Base::ConstProductHolderPtr ConstProductHolderPtr
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)
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
void setRunAndLumiNumber(RunNumber_t run, LuminosityBlockNumber_t lumi)
bool luminosityBlockPrincipalPtrValid()
EventAuxiliary const & aux() const
virtual void getThinnedProducts(ProductID const &pid, std::vector< WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const override
std::vector< std::string > moduleLabelsRunning_
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_
virtual bool unscheduledFill(std::string const &moduleLabel, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override