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
edm::PrincipalGetAdapter::setConsumer
void setConsumer(EDConsumerBase const *iConsumer)
Definition: PrincipalGetAdapter.h:143
edm::PrincipalGetAdapter::principal
Principal const & principal() const
Definition: PrincipalGetAdapter.h:165
edm::OccurrenceForOutput::OccurrenceForOutput
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
Definition: OccurrenceForOutput.cc:14
edm::PRODUCT_TYPE
Definition: ProductKindOfType.h:5
TriggerResults.h
edm::BasicHandle
Definition: BasicHandle.h:43
edm::OccurrenceForOutput::setConsumer
void setConsumer(EDConsumerBase const *iConsumer)
Definition: OccurrenceForOutput.cc:22
edm
HLT enums.
Definition: AlignableModifier.h:19
Algorithms.h
edm::OccurrenceForOutput::size
size_t size() const
Definition: OccurrenceForOutput.cc:42
edm::Principal
Definition: Principal.h:56
edm::PrincipalGetAdapter::isComplete
bool isComplete() const
Definition: PrincipalGetAdapter.h:153
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::OccurrenceForOutput::getByToken
BasicHandle getByToken(EDGetToken token, TypeID const &typeID) const
Definition: OccurrenceForOutput.cc:44
edm::EDConsumerBase
Definition: EDConsumerBase.h:71
edm::Principal::getAllProvenance
void getAllProvenance(std::vector< Provenance const * > &provenances) const
Definition: Principal.cc:862
edm::PrincipalGetAdapter::getByToken_
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
Definition: PrincipalGetAdapter.cc:151
edm::Principal::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: Principal.h:142
edm::Principal::getProvenance
Provenance const & getProvenance(BranchID const &bid) const
Definition: Principal.cc:837
edm::principal_get_adapter_detail::throwOnPrematureRead
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
Definition: PrincipalGetAdapter.cc:55
edm::BranchID
Definition: BranchID.h:14
Provenance.h
edm::Principal::getAllStableProvenance
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
Definition: Principal.cc:879
edm::OccurrenceForOutput::getAllProvenance
void getAllProvenance(std::vector< Provenance const * > &provenances) const
Definition: OccurrenceForOutput.cc:32
edm::Hash< ProcessHistoryType >
edm::OccurrenceForOutput::~OccurrenceForOutput
virtual ~OccurrenceForOutput()
Definition: OccurrenceForOutput.cc:20
Principal.h
edm::OccurrenceForOutput::moduleCallingContext_
ModuleCallingContext const * moduleCallingContext_
Definition: OccurrenceForOutput.h:85
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::OccurrenceForOutput::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: OccurrenceForOutput.cc:26
edm::EDGetToken
Definition: EDGetToken.h:35
edm::OccurrenceForOutput::processHistory
virtual ProcessHistory const & processHistory() const
Definition: OccurrenceForOutput.cc:40
InputTag.h
Registry.h
edm::TypeID
Definition: TypeID.h:22
edm::OccurrenceForOutput::getProvenance
Provenance getProvenance(BranchID const &theID) const
Definition: OccurrenceForOutput.cc:28
edm::Principal::size
size_t size() const
Definition: Principal.cc:303
edm::OccurrenceForOutput::principal
Principal const & principal() const
Definition: OccurrenceForOutput.cc:24
edm::OccurrenceForOutput::getAllStableProvenance
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
Definition: OccurrenceForOutput.cc:36
mps_fire.result
result
Definition: mps_fire.py:311
OccurrenceForOutput.h
edm::ProcessHistory
Definition: ProcessHistory.h:13
edm::Provenance
Definition: Provenance.h:34
TriggerResultsByName.h
StableProvenance.h
edm::PrincipalGetAdapter::processHistory
ProcessHistory const & processHistory() const
Definition: PrincipalGetAdapter.cc:197
edm::OccurrenceForOutput::provRecorder_
PrincipalGetAdapter provRecorder_
Definition: OccurrenceForOutput.h:83
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316