CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::Run Class Reference

#include <Run.h>

Inheritance diagram for edm::Run:
edm::RunBase

Public Types

typedef PrincipalGetAdapter Base
 
typedef unsigned long CacheIdentifier_t
 

Public Member Functions

CacheIdentifier_t cacheIdentifier () const
 
template<typename PROD , typename... Args>
void emplace (EDPutToken token, Args &&... args)
 
template<typename PROD , typename... Args>
void emplace (EDPutTokenT< PROD > token, Args &&... args)
 puts a new product More...
 
template<typename PROD >
PROD const & get (EDGetTokenT< PROD > token) const noexcept(false)
 
void getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const
 
template<typename PROD >
bool getByLabel (InputTag const &tag, Handle< PROD > &result) const
 same as above, but using the InputTag class More...
 
template<typename PROD >
bool getByLabel (std::string const &label, Handle< PROD > &result) const
 
template<typename PROD >
bool getByLabel (std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
 
template<typename PROD >
bool getByToken (EDGetToken token, Handle< PROD > &result) const
 
template<typename PROD >
bool getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const
 
template<typename PROD >
Handle< PRODgetHandle (EDGetTokenT< PROD > token) const
 
template<typename PROD >
void getManyByType (std::vector< Handle< PROD >> &results) const
 
Provenance const & getProvenance (BranchID const &theID) const
 
StableProvenance const & getStableProvenance (BranchID const &theID) const
 
RunIndex index () const
 
void labelsForToken (EDGetToken const &iToken, ProductLabels &oLabels) const
 
ModuleCallingContext const * moduleCallingContext () const
 
ProcessHistory const & processHistory () const
 
ProcessHistoryID const & processHistoryID () const
 
template<typename PROD >
void put (EDPutToken token, std::unique_ptr< PROD > product)
 
template<typename PROD >
void put (EDPutTokenT< PROD > token, std::unique_ptr< PROD > product)
 
template<typename PROD >
void put (std::unique_ptr< PROD > product)
 Put a new product. More...
 
template<typename PROD >
void put (std::unique_ptr< PROD > product, std::string const &productInstanceName)
 Put a new product with a 'product instance name'. More...
 
 Run (RunPrincipal const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
 
 Run (RunTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
 
RunAuxiliary const & runAuxiliary () const override
 
void setConsumer (EDConsumerBase const *iConsumer)
 
void setProducer (ProducerBase const *iProducer)
 
void setSharedResourcesAcquirer (SharedResourcesAcquirer *iResourceAcquirer)
 
 ~Run () override
 
- Public Member Functions inherited from edm::RunBase
Timestamp const & beginTime () const
 
Timestamp const & endTime () const
 
template<typename PROD >
bool getByLabel (InputTag const &tag, Handle< PROD > &result) const
 same as above, but using the InputTag class More...
 
template<typename T >
bool getByLabel (InputTag const &tag, Handle< T > &result) const
 
RunID const & id () const
 
RunNumber_t run () const
 
 RunBase ()
 
virtual ~RunBase ()
 

Private Types

typedef std::vector< edm::propagate_const< std::unique_ptr< WrapperBase > > > ProductPtrVec
 

Private Member Functions

void commit_ (std::vector< edm::ProductResolverIndex > const &iShouldPut)
 
template<typename PROD , typename... Args>
void emplaceImpl (EDPutToken::value_type token, Args &&... args)
 
BasicHandle getByLabelImpl (std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const override
 
template<typename PROD >
void putImpl (EDPutToken::value_type token, std::unique_ptr< PROD > product)
 
ProductPtrVecputProducts ()
 
ProductPtrVec const & putProducts () const
 
RunPrincipal const & runPrincipal () const
 

Private Attributes

RunAuxiliary const & aux_
 
ModuleCallingContext const * moduleCallingContext_
 
PrincipalGetAdapter provRecorder_
 
ProductPtrVec putProducts_
 
SharedResourcesAcquirersharedResourcesAcquirer_
 

Static Private Attributes

static const std::string emptyString_
 

Friends

class ProducerBase
 
class RawInputSource
 
template<typename T >
class stream::ProducingModuleAdaptorBase
 

Detailed Description

Definition at line 45 of file Run.h.

Member Typedef Documentation

◆ Base

Definition at line 60 of file Run.h.

◆ CacheIdentifier_t

typedef unsigned long edm::Run::CacheIdentifier_t

If you are caching data from the Run, you should also keep this number. If this number changes then you know that the data you have cached is invalid. The value of '0' will never be returned so you can use that to denote that you have not yet checked the value.

Definition at line 79 of file Run.h.

◆ ProductPtrVec

typedef std::vector<edm::propagate_const<std::unique_ptr<WrapperBase> > > edm::Run::ProductPtrVec
private

Definition at line 170 of file Run.h.

Constructor & Destructor Documentation

◆ Run() [1/2]

Run::Run ( RunTransitionInfo const &  info,
ModuleDescription const &  md,
ModuleCallingContext const *  mcc,
bool  isAtEnd 
)

Definition at line 13 of file Run.cc.

14  : Run(info.principal(), md, mcc, isAtEnd) {}

◆ Run() [2/2]

Run::Run ( RunPrincipal const &  rp,
ModuleDescription const &  md,
ModuleCallingContext const *  moduleCallingContext,
bool  isAtEnd 
)

Definition at line 16 of file Run.cc.

20  : provRecorder_(rp, md, isAtEnd), aux_(rp.aux()), moduleCallingContext_(moduleCallingContext) {}

◆ ~Run()

Run::~Run ( )
override

Definition at line 22 of file Run.cc.

22 {}

Member Function Documentation

◆ cacheIdentifier()

Run::CacheIdentifier_t Run::cacheIdentifier ( ) const

Definition at line 24 of file Run.cc.

24 { return runPrincipal().cacheIdentifier(); }

References edm::Principal::cacheIdentifier(), and runPrincipal().

◆ commit_()

void Run::commit_ ( std::vector< edm::ProductResolverIndex > const &  iShouldPut)
private

Definition at line 83 of file Run.cc.

83  {
84  RunPrincipal const& rp = runPrincipal();
85  size_t nPut = 0;
86  for (size_t i = 0; i < putProducts().size(); ++i) {
87  auto& p = get_underlying_safe(putProducts()[i]);
88  if (p) {
90  ++nPut;
91  }
92  }
93 
94  auto sz = iShouldPut.size();
95  if (sz != 0 and sz != nPut) {
96  //some were missed
97  auto& p = provRecorder_.principal();
98  for (auto index : iShouldPut) {
99  auto resolver = p.getProductResolverByIndex(index);
100  if (not resolver->productResolved() and isEndTransition(provRecorder_.transition()) ==
101  resolver->branchDescription().availableOnlyAtEndTransition()) {
102  dynamic_cast<ProductPutterBase const*>(resolver)->putProduct(std::unique_ptr<WrapperBase>());
103  }
104  }
105  }
106 
107  // the cleanup is all or none
108  putProducts().clear();
109  }

References edm::get_underlying_safe(), mps_fire::i, index(), edm::isEndTransition(), eostools::move(), AlCaHLTBitMon_ParallelJobs::p, edm::PrincipalGetAdapter::principal(), provRecorder_, edm::RunPrincipal::put(), putProducts(), edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex(), runPrincipal(), and edm::PrincipalGetAdapter::transition().

Referenced by edm::stream::ProducingModuleAdaptorBase< EDProducerBase >::commit().

◆ emplace() [1/2]

template<typename PROD , typename... Args>
void Run::emplace ( EDPutToken  token,
Args &&...  args 
)

◆ emplace() [2/2]

template<typename PROD , typename... Args>
void Run::emplace ( EDPutTokenT< PROD token,
Args &&...  args 
)

puts a new product

Definition at line 248 of file Run.h.

248  {
249  if (UNLIKELY(token.isUninitialized())) {
251  }
252  emplaceImpl<PROD>(token.index(), std::forward<Args>(args)...);
253  }

References writedatasetfile::args, PROD, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.

Referenced by ParameterSetBlobProducer::globalBeginRunProduce(), and ExternalGeneratorFilter::globalEndRunProduce().

◆ emplaceImpl()

template<typename PROD , typename... Args>
void Run::emplaceImpl ( EDPutToken::value_type  token,
Args &&...  args 
)
private

Definition at line 269 of file Run.h.

269  {
270  assert(index < putProducts().size());
271 
272  std::unique_ptr<Wrapper<PROD>> wp(new Wrapper<PROD>(WrapperBase::Emplace{}, std::forward<Args>(args)...));
273 
274  // The following will call post_insert if T has such a function,
275  // and do nothing if T has no such function.
276  std::conditional_t<detail::has_postinsert<PROD>::value, DoPostInsert<PROD>, DoNotPostInsert<PROD>> maybe_inserter;
277  maybe_inserter(&(wp->bareProduct()));
278 
280  }

References writedatasetfile::args, cms::cuda::assert(), index(), eostools::move(), putProducts(), findQualityFiles::size, relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.

Referenced by emplace().

◆ get()

template<typename PROD >
PROD const & Run::get ( EDGetTokenT< PROD token) const
noexcept

◆ getAllStableProvenance()

void Run::getAllStableProvenance ( std::vector< StableProvenance const * > &  provenances) const

Definition at line 36 of file Run.cc.

36  {
37  runPrincipal().getAllStableProvenance(provenances);
38  }

References edm::Principal::getAllStableProvenance(), and runPrincipal().

Referenced by GlobalHitsProdHistStripper::beginRun().

◆ getByLabel() [1/3]

template<typename PROD >
bool Run::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

Definition at line 304 of file Run.h.

304  {
306  principal_get_adapter_detail::throwOnPrematureRead("Run", TypeID(typeid(PROD)), tag.label(), tag.instance());
307  }
308  result.clear();
309  BasicHandle bh = provRecorder_.getByLabel_(TypeID(typeid(PROD)), tag, moduleCallingContext_);
310  result = convert_handle<PROD>(std::move(bh)); // throws on conversion error
311  if (result.failedToGet()) {
312  return false;
313  }
314  return true;
315  }

References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByLabel_(), moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, GlobalPosition_Frontier_DevDB_cff::tag, and edm::principal_get_adapter_detail::throwOnPrematureRead().

◆ getByLabel() [2/3]

template<typename PROD >
bool Run::getByLabel ( std::string const &  label,
Handle< PROD > &  result 
) const

◆ getByLabel() [3/3]

template<typename PROD >
bool Run::getByLabel ( std::string const &  label,
std::string const &  productInstanceName,
Handle< PROD > &  result 
) const

Definition at line 288 of file Run.h.

288  {
290  principal_get_adapter_detail::throwOnPrematureRead("Run", TypeID(typeid(PROD)), label, productInstanceName);
291  }
292  result.clear();
293  BasicHandle bh = provRecorder_.getByLabel_(
294  TypeID(typeid(PROD)), label, productInstanceName, emptyString_, moduleCallingContext_);
295  result = convert_handle<PROD>(std::move(bh)); // throws on conversion error
296  if (result.failedToGet()) {
297  return false;
298  }
299  return true;
300  }

References edm::PrincipalGetAdapter::checkIfComplete(), emptyString_, edm::PrincipalGetAdapter::getByLabel_(), label, moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, and edm::principal_get_adapter_detail::throwOnPrematureRead().

◆ getByLabelImpl()

BasicHandle Run::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
InputTag const &  iTag 
) const
overrideprivatevirtual

Implements edm::RunBase.

Definition at line 115 of file Run.cc.

117  {
118  BasicHandle h = provRecorder_.getByLabel_(TypeID(iProductType), iTag, moduleCallingContext_);
119  return h;
120  }

References edm::PrincipalGetAdapter::getByLabel_(), h, moduleCallingContext_, and provRecorder_.

◆ getByToken() [1/2]

template<typename PROD >
bool Run::getByToken ( EDGetToken  token,
Handle< PROD > &  result 
) const

◆ getByToken() [2/2]

template<typename PROD >
bool Run::getByToken ( EDGetTokenT< PROD token,
Handle< PROD > &  result 
) const

Definition at line 332 of file Run.h.

332  {
335  }
336  result.clear();
337  BasicHandle bh = provRecorder_.getByToken_(TypeID(typeid(PROD)), PRODUCT_TYPE, token, moduleCallingContext_);
338  result = convert_handle<PROD>(std::move(bh)); // throws on conversion error
339  if (result.failedToGet()) {
340  return false;
341  }
342  return true;
343  }

References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.

◆ getHandle()

template<typename PROD >
Handle< PROD > Run::getHandle ( EDGetTokenT< PROD token) const

◆ getManyByType()

template<typename PROD >
void Run::getManyByType ( std::vector< Handle< PROD >> &  results) const

◆ getProvenance()

Provenance const & Run::getProvenance ( BranchID const &  theID) const

Definition at line 30 of file Run.cc.

30 { return runPrincipal().getProvenance(bid); }

References edm::Principal::getProvenance(), and runPrincipal().

◆ getStableProvenance()

StableProvenance const & Run::getStableProvenance ( BranchID const &  theID) const

Definition at line 32 of file Run.cc.

32  {
33  return runPrincipal().getStableProvenance(bid);
34  }

References edm::Principal::getStableProvenance(), and runPrincipal().

◆ index()

RunIndex Run::index ( ) const

◆ labelsForToken()

void edm::Run::labelsForToken ( EDGetToken const &  iToken,
ProductLabels oLabels 
) const
inline

Definition at line 152 of file Run.h.

152  {
153  provRecorder_.labelsForToken(iToken, oLabels);
154  }

References edm::PrincipalGetAdapter::labelsForToken(), and provRecorder_.

◆ moduleCallingContext()

ModuleCallingContext const* edm::Run::moduleCallingContext ( ) const
inline

Definition at line 150 of file Run.h.

150 { return moduleCallingContext_; }

References moduleCallingContext_.

◆ processHistory()

ProcessHistory const & Run::processHistory ( ) const

◆ processHistoryID()

ProcessHistoryID const & Run::processHistoryID ( ) const

Definition at line 111 of file Run.cc.

111 { return runPrincipal().processHistoryID(); }

References edm::Principal::processHistoryID(), and runPrincipal().

◆ put() [1/4]

template<typename PROD >
void Run::put ( EDPutToken  token,
std::unique_ptr< PROD product 
)

◆ put() [2/4]

template<typename PROD >
void Run::put ( EDPutTokenT< PROD token,
std::unique_ptr< PROD product 
)

Definition at line 219 of file Run.h.

219  {
220  if (UNLIKELY(product.get() == nullptr)) { // null pointer is illegal
221  TypeID typeID(typeid(PROD));
223  }
224  if (UNLIKELY(token.isUninitialized())) {
226  }
227  putImpl(token.index(), std::move(product));
228  }

References eostools::move(), PROD, edm::PrincipalGetAdapter::productInstanceLabel(), provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.

◆ put() [3/4]

template<typename PROD >
void edm::Run::put ( std::unique_ptr< PROD product)
inline

◆ put() [4/4]

template<typename PROD >
void Run::put ( std::unique_ptr< PROD product,
std::string const &  productInstanceName 
)

Put a new product with a 'product instance name'.

Definition at line 209 of file Run.h.

209  {
210  if (UNLIKELY(product.get() == nullptr)) { // null pointer is illegal
211  TypeID typeID(typeid(PROD));
212  principal_get_adapter_detail::throwOnPutOfNullProduct("Run", typeID, productInstanceName);
213  }
214  auto index = provRecorder_.getPutTokenIndex(TypeID(*product), productInstanceName);
215  putImpl(index, std::move(product));
216  }

References edm::PrincipalGetAdapter::getPutTokenIndex(), index(), eostools::move(), PROD, provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and UNLIKELY.

◆ putImpl()

template<typename PROD >
void Run::putImpl ( EDPutToken::value_type  token,
std::unique_ptr< PROD product 
)
private

Definition at line 196 of file Run.h.

196  {
197  // The following will call post_insert if T has such a function,
198  // and do nothing if T has no such function.
199  std::conditional_t<detail::has_postinsert<PROD>::value, DoPostInsert<PROD>, DoNotPostInsert<PROD>> maybe_inserter;
200  maybe_inserter(product.get());
201 
202  assert(index < putProducts().size());
203 
204  std::unique_ptr<Wrapper<PROD>> wp(new Wrapper<PROD>(std::move(product)));
206  }

References cms::cuda::assert(), index(), eostools::move(), putProducts(), findQualityFiles::size, relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.

Referenced by put().

◆ putProducts() [1/2]

ProductPtrVec& edm::Run::putProducts ( )
inlineprivate

Definition at line 171 of file Run.h.

171 { return putProducts_; }

References putProducts_.

Referenced by commit_(), emplaceImpl(), and putImpl().

◆ putProducts() [2/2]

ProductPtrVec const& edm::Run::putProducts ( ) const
inlineprivate

Definition at line 172 of file Run.h.

172 { return putProducts_; }

References putProducts_.

◆ runAuxiliary()

RunAuxiliary const& edm::Run::runAuxiliary ( ) const
inlineoverridevirtual

◆ runPrincipal()

RunPrincipal const & Run::runPrincipal ( ) const
private

Definition at line 28 of file Run.cc.

28 { return dynamic_cast<RunPrincipal const&>(provRecorder_.principal()); }

References edm::PrincipalGetAdapter::principal(), and provRecorder_.

Referenced by cacheIdentifier(), commit_(), getAllStableProvenance(), getProvenance(), getStableProvenance(), index(), and processHistoryID().

◆ setConsumer()

void edm::Run::setConsumer ( EDConsumerBase const *  iConsumer)
inline

Definition at line 52 of file Run.h.

52 { provRecorder_.setConsumer(iConsumer); }

References provRecorder_, and edm::PrincipalGetAdapter::setConsumer().

◆ setProducer()

void Run::setProducer ( ProducerBase const *  iProducer)

◆ setSharedResourcesAcquirer()

void edm::Run::setSharedResourcesAcquirer ( SharedResourcesAcquirer iResourceAcquirer)
inline

Definition at line 54 of file Run.h.

54  {
55  provRecorder_.setSharedResourcesAcquirer(iResourceAcquirer);
56  }

References provRecorder_, and edm::PrincipalGetAdapter::setSharedResourcesAcquirer().

Friends And Related Function Documentation

◆ ProducerBase

friend class ProducerBase
friend

Definition at line 179 of file Run.h.

◆ RawInputSource

friend class RawInputSource
friend

Definition at line 178 of file Run.h.

◆ stream::ProducingModuleAdaptorBase

template<typename T >
friend class stream::ProducingModuleAdaptorBase
friend

Definition at line 181 of file Run.h.

Member Data Documentation

◆ aux_

RunAuxiliary const& edm::Run::aux_
private

Definition at line 187 of file Run.h.

Referenced by runAuxiliary().

◆ emptyString_

const std::string Run::emptyString_
staticprivate

Definition at line 192 of file Run.h.

Referenced by getByLabel().

◆ moduleCallingContext_

ModuleCallingContext const* edm::Run::moduleCallingContext_
private

◆ provRecorder_

PrincipalGetAdapter edm::Run::provRecorder_
private

◆ putProducts_

ProductPtrVec edm::Run::putProducts_
private

Definition at line 186 of file Run.h.

Referenced by putProducts(), and setProducer().

◆ sharedResourcesAcquirer_

SharedResourcesAcquirer* edm::Run::sharedResourcesAcquirer_
private

Definition at line 190 of file Run.h.

writedatasetfile.args
args
Definition: writedatasetfile.py:18
edm::PrincipalGetAdapter::setConsumer
void setConsumer(EDConsumerBase const *iConsumer)
Definition: PrincipalGetAdapter.h:143
edm::PrincipalGetAdapter::principal
Principal const & principal() const
Definition: PrincipalGetAdapter.h:165
edm::principal_get_adapter_detail::throwOnPutOfWrongType
void throwOnPutOfWrongType(std::type_info const &wrongType, TypeID const &rightType)
Definition: PrincipalGetAdapter.cc:48
mps_fire.i
i
Definition: mps_fire.py:428
edm::PrincipalGetAdapter::setProducer
void setProducer(ProducerBase const *iProd)
Definition: PrincipalGetAdapter.h:149
edm::PRODUCT_TYPE
Definition: ProductKindOfType.h:5
edm::isEndTransition
constexpr bool isEndTransition(Transition iValue)
Definition: Transition.h:37
pfClustersFromHGC3DClusters_cfi.wp
wp
Definition: pfClustersFromHGC3DClusters_cfi.py:20
edm::Run::index
RunIndex index() const
Definition: Run.cc:26
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
h
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Definition: L1TUtmAlgorithmRcd.h:4
edm::Run::putImpl
void putImpl(EDPutToken::value_type token, std::unique_ptr< PROD > product)
Definition: Run.h:196
cms::cuda::assert
assert(be >=bs)
edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken
void throwOnPutOfUninitializedToken(char const *principalType, std::type_info const &productType)
Definition: PrincipalGetAdapter.cc:41
bookConverter.results
results
Definition: bookConverter.py:144
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
edm::get_underlying_safe
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
Definition: get_underlying_safe.h:41
edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex() const
Definition: PrincipalGetAdapter.cc:289
edm::PrincipalGetAdapter::labelsForToken
void labelsForToken(EDGetToken const &iToken, ProductLabels &oLabels) const
Definition: PrincipalGetAdapter.cc:84
edm::Run::emptyString_
static const std::string emptyString_
Definition: Run.h:192
edm::PrincipalGetAdapter::setSharedResourcesAcquirer
void setSharedResourcesAcquirer(SharedResourcesAcquirer *iSra)
Definition: PrincipalGetAdapter.h:146
edm::Run::provRecorder_
PrincipalGetAdapter provRecorder_
Definition: Run.h:185
UNLIKELY
#define UNLIKELY(x)
Definition: Likely.h:21
edm::Run::putProducts
ProductPtrVec & putProducts()
Definition: Run.h:171
edm::PrincipalGetAdapter::getByToken_
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
Definition: PrincipalGetAdapter.cc:147
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
edm::Principal::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: Principal.h:142
edm::Principal::getProvenance
Provenance const & getProvenance(BranchID const &bid) const
Definition: Principal.cc:833
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::Principal::getAllStableProvenance
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
Definition: Principal.cc:875
edm::Run::Run
Run(RunTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
Definition: Run.cc:13
edm::PrincipalGetAdapter::getByLabel_
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
Definition: PrincipalGetAdapter.cc:133
edm::Run::moduleCallingContext
ModuleCallingContext const * moduleCallingContext() const
Definition: Run.h:150
edm::PrincipalGetAdapter::transition
Transition transition() const
Definition: PrincipalGetAdapter.cc:249
h
edm::Run::moduleCallingContext_
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:188
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::RunPrincipal::index
RunIndex index() const
Definition: RunPrincipal.h:57
edm::Run::runPrincipal
RunPrincipal const & runPrincipal() const
Definition: Run.cc:28
edm::Principal::getStableProvenance
StableProvenance const & getStableProvenance(BranchID const &bid) const
Definition: Principal.cc:846
edm::Run::putProducts_
ProductPtrVec putProducts_
Definition: Run.h:186
edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex
TypeID const & getTypeIDForPutTokenIndex(EDPutToken::value_type index) const
Definition: PrincipalGetAdapter.cc:285
edm::PrincipalGetAdapter::productInstanceLabel
std::string const & productInstanceLabel(EDPutToken) const
Definition: PrincipalGetAdapter.cc:281
edm::Run::aux_
RunAuxiliary const & aux_
Definition: Run.h:187
edm::principal_get_adapter_detail::throwOnPutOfNullProduct
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
Definition: PrincipalGetAdapter.cc:32
edm::Run::emplaceImpl
void emplaceImpl(EDPutToken::value_type token, Args &&... args)
Definition: Run.h:269
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::PrincipalGetAdapter::getPutTokenIndex
EDPutToken::value_type getPutTokenIndex(TypeID const &type, std::string const &productInstanceName) const
Definition: PrincipalGetAdapter.cc:267
relativeConstraints.value
value
Definition: relativeConstraints.py:53
mps_fire.result
result
Definition: mps_fire.py:311
PROD
#define PROD(A, B)
Definition: Simplify_begin.h:55
edm::Run::getByLabel
bool getByLabel(std::string const &label, Handle< PROD > &result) const
Definition: Run.h:283
edm::Principal::cacheIdentifier
CacheIdentifier_t cacheIdentifier() const
Definition: Principal.h:185
edm::PrincipalGetAdapter::getManyByType
void getManyByType(std::vector< Handle< PROD > > &results, ModuleCallingContext const *mcc) const
Definition: PrincipalGetAdapter.h:317
label
const char * label
Definition: PFTauDecayModeTools.cc:11
edm::PrincipalGetAdapter::checkIfComplete
bool checkIfComplete() const
Definition: PrincipalGetAdapter.h:312
edm::PrincipalGetAdapter::processHistory
ProcessHistory const & processHistory() const
Definition: PrincipalGetAdapter.cc:193
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316