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::OccurrenceForOutput::OccurrenceForOutput
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
Definition: OccurrenceForOutput.cc:14
edm::PrincipalGetAdapter::setConsumer
void setConsumer(EDConsumerBase const *iConsumer)
Definition: PrincipalGetAdapter.h:143
edm::OccurrenceForOutput::size
size_t size() const
Definition: OccurrenceForOutput.cc:42
edm::OccurrenceForOutput::~OccurrenceForOutput
virtual ~OccurrenceForOutput()
Definition: OccurrenceForOutput.cc:20
edm::PrincipalGetAdapter::principal
Principal const & principal() const
Definition: PrincipalGetAdapter.h:165
edm::PRODUCT_TYPE
Definition: ProductKindOfType.h:5
TriggerResults.h
edm::BasicHandle
Definition: BasicHandle.h:43
edm
HLT enums.
Definition: AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::OccurrenceForOutput::getAllStableProvenance
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
Definition: OccurrenceForOutput.cc:36
Algorithms.h
edm::Principal
Definition: Principal.h:57
edm::PrincipalGetAdapter::isComplete
bool isComplete() const
Definition: PrincipalGetAdapter.h:153
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::Principal::getProvenance
Provenance getProvenance(BranchID const &bid, ModuleCallingContext const *mcc) const
Definition: Principal.cc:796
edm::EDConsumerBase
Definition: EDConsumerBase.h:62
edm::Principal::getAllProvenance
void getAllProvenance(std::vector< Provenance const * > &provenances) const
Definition: Principal.cc:813
edm::PrincipalGetAdapter::getByToken_
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
Definition: PrincipalGetAdapter.cc:147
edm::OccurrenceForOutput::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: OccurrenceForOutput.cc:26
edm::Principal::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: Principal.h:141
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:830
edm::Hash< ProcessHistoryType >
edm::OccurrenceForOutput::processHistory
virtual ProcessHistory const & processHistory() const
Definition: OccurrenceForOutput.cc:40
edm::OccurrenceForOutput::getByToken
BasicHandle getByToken(EDGetToken token, TypeID const &typeID) const
Definition: OccurrenceForOutput.cc:44
Principal.h
edm::OccurrenceForOutput::moduleCallingContext_
ModuleCallingContext const * moduleCallingContext_
Definition: OccurrenceForOutput.h:85
edm::OccurrenceForOutput::getAllProvenance
void getAllProvenance(std::vector< Provenance const * > &provenances) const
Definition: OccurrenceForOutput.cc:32
edm::EDGetToken
Definition: EDGetToken.h:35
edm::OccurrenceForOutput::principal
Principal const & principal() const
Definition: OccurrenceForOutput.cc:24
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:298
edm::OccurrenceForOutput::setConsumer
void setConsumer(EDConsumerBase const *iConsumer)
Definition: OccurrenceForOutput.cc:22
mps_fire.result
result
Definition: mps_fire.py:303
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:193
edm::OccurrenceForOutput::provRecorder_
PrincipalGetAdapter provRecorder_
Definition: OccurrenceForOutput.h:83
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316