CMS 3D CMS Logo

OccurrenceForOutput.cc
Go to the documentation of this file.
2 
11 
12 namespace edm {
13 
15  ModuleDescription const& md,
16  ModuleCallingContext const* moduleCallingContext,
17  bool isAtEnd)
18  : provRecorder_(p, md, isAtEnd), moduleCallingContext_(moduleCallingContext) {}
19 
21 
23 
25 
27 
30  }
31 
32  void OccurrenceForOutput::getAllProvenance(std::vector<Provenance const*>& provenances) const {
34  }
35 
36  void OccurrenceForOutput::getAllStableProvenance(std::vector<StableProvenance const*>& provenances) const {
38  }
39 
41 
42  size_t OccurrenceForOutput::size() const { return provRecorder_.principal().size(); }
43 
46  if (result.failedToGet()) {
47  return result;
48  }
49  if (!provRecorder_.isComplete() && result.wrapper()->isMergeable()) {
51  }
52  return result;
53  }
54 } // namespace edm
void setConsumer(EDConsumerBase const *iConsumer)
void setConsumer(EDConsumerBase const *iConsumer)
void getAllProvenance(std::vector< Provenance const *> &provenances) const
Definition: Principal.cc:800
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
void getAllStableProvenance(std::vector< StableProvenance const *> &provenances) const
size_t size() const
Definition: Principal.cc:303
BasicHandle getByToken(EDGetToken token, TypeID const &typeID) const
ProcessHistory const & processHistory() const
void getAllProvenance(std::vector< Provenance const *> &provenances) const
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
Principal const & principal() const
void getAllStableProvenance(std::vector< StableProvenance const *> &provenances) const
Definition: Principal.cc:817
ProcessHistoryID const & processHistoryID() const
ModuleCallingContext const * moduleCallingContext_
virtual ProcessHistory const & processHistory() const
HLT enums.
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ProcessHistoryID const & processHistoryID() const
Definition: Principal.h:136
Provenance const & getProvenance(BranchID const &bid) const
Definition: Principal.cc:775
Provenance getProvenance(BranchID const &theID) const
Principal const & principal() const
PrincipalGetAdapter provRecorder_