1 #ifndef FWCore_Framework_EventPrincipal_h
2 #define FWCore_Framework_EventPrincipal_h
23 #include "boost/scoped_ptr.hpp"
24 #include "boost/shared_ptr.hpp"
35 class HistoryAppender;
36 class LuminosityBlockPrincipal;
49 boost::shared_ptr<ProductRegistry const> reg,
55 boost::shared_ptr<LuminosityBlockPrincipal> lbp,
56 boost::shared_ptr<EventSelectionIDVector>
eventSelectionIDs = boost::shared_ptr<EventSelectionIDVector>(),
57 boost::shared_ptr<BranchListIndexes>
branchListIndexes = boost::shared_ptr<BranchListIndexes>(),
58 boost::shared_ptr<BranchMapper> mapper = boost::shared_ptr<BranchMapper>(
new BranchMapper),
Base::ConstGroupPtr ConstGroupPtr
void setLuminosityBlockPrincipal(boost::shared_ptr< LuminosityBlockPrincipal > const &lbp)
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
EventSelectionIDVector const & eventSelectionIDs() const
boost::shared_ptr< LuminosityBlockPrincipal > luminosityBlockPrincipal_
int bunchCrossing() const
EventAuxiliary::ExperimentType ExperimentType() const
BasicHandle getByProductID(ProductID const &oid) const
BranchID pidToBid(ProductID const &pid) const
static int const invalidBunchXing
EventID const & id() const
Timestamp const & time() const
std::map< BranchListIndex, ProcessIndex > branchListIndexToProcessIndex_
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockPrincipal & luminosityBlockPrincipal()
void put(ConstBranchDescription const &bd, WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
LuminosityBlockNumber_t luminosityBlock() const
BranchListIndexes const & branchListIndexes() const
unsigned int LuminosityBlockNumber_t
int bunchCrossing() const
WrapperHolder getIt(ProductID const &pid) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
ProductID branchIDToProductID(BranchID const &bid) const
RunPrincipal const & runPrincipal() const
std::vector< EventSelectionID > EventSelectionIDVector
ExperimentType experimentType() const
Timestamp const & time() const
Group const * ConstGroupPtr
boost::shared_ptr< BranchMapper > branchMapperPtr_
std::vector< BranchListIndex > BranchListIndexes
static int const invalidBunchXing
virtual void resolveProduct_(Group const &g, bool fillOnDemand) const
boost::shared_ptr< UnscheduledHandler > unscheduledHandler() const
boost::shared_ptr< BranchMapper > branchMapperPtr() const
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
void mergeMappers(EventPrincipal const &other)
boost::shared_ptr< UnscheduledHandler > unscheduledHandler_
boost::shared_ptr< EventSelectionIDVector > eventSelectionIDs_
EventPrincipal(boost::shared_ptr< ProductRegistry const > reg, ProcessConfiguration const &pc, HistoryAppender *historyAppender=0)
void fillEventPrincipal(EventAuxiliary const &aux, boost::shared_ptr< LuminosityBlockPrincipal > lbp, boost::shared_ptr< EventSelectionIDVector > eventSelectionIDs=boost::shared_ptr< EventSelectionIDVector >(), boost::shared_ptr< BranchListIndexes > branchListIndexes=boost::shared_ptr< BranchListIndexes >(), boost::shared_ptr< BranchMapper > mapper=boost::shared_ptr< BranchMapper >(new BranchMapper), DelayedReader *reader=0)
DelayedReader * reader() const
Provenance getProvenance(ProductID const &pid) const
static int const invalidStoreNumber
void clearEventPrincipal()
boost::shared_ptr< BranchListIndexes > branchListIndexes_
void putOnRead(ConstBranchDescription const &bd, void const *product, ProductProvenance const &productProvenance)
virtual bool unscheduledFill(std::string const &moduleLabel) const
EventID const & id() const
static int const invalidStoreNumber
void setUnscheduledHandler(boost::shared_ptr< UnscheduledHandler > iHandler)
bool luminosityBlockPrincipalPtrValid()
EventAuxiliary const & aux() const
Provenance getProvenance(BranchID const &bid) const
std::vector< std::string > moduleLabelsRunning_