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 getProvenance (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 &rp, ModuleDescription const &md, 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 59 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 78 of file Run.h.

◆ ProductPtrVec

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

Definition at line 167 of file Run.h.

Constructor & Destructor Documentation

◆ Run()

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

Definition at line 11 of file Run.cc.

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

◆ ~Run()

Run::~Run ( )
override

Definition at line 17 of file Run.cc.

17 {}

Member Function Documentation

◆ cacheIdentifier()

Run::CacheIdentifier_t Run::cacheIdentifier ( ) const

Definition at line 19 of file Run.cc.

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

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

◆ commit_()

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

Definition at line 76 of file Run.cc.

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

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 245 of file Run.h.

245  {
246  if (UNLIKELY(token.isUninitialized())) {
248  }
249  emplaceImpl<PROD>(token.index(), std::forward<Args>(args)...);
250  }

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 266 of file Run.h.

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

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 29 of file Run.cc.

29  {
30  runPrincipal().getAllStableProvenance(provenances);
31  }

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 301 of file Run.h.

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

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 285 of file Run.h.

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

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 108 of file Run.cc.

110  {
111  BasicHandle h = provRecorder_.getByLabel_(TypeID(iProductType), iTag, moduleCallingContext_);
112  return h;
113  }

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 329 of file Run.h.

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

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 Run::getProvenance ( BranchID const &  theID) const

Definition at line 25 of file Run.cc.

25  {
27  }

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

◆ index()

RunIndex Run::index ( ) const

◆ labelsForToken()

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

Definition at line 149 of file Run.h.

149  {
150  provRecorder_.labelsForToken(iToken, oLabels);
151  }

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

◆ moduleCallingContext()

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

Definition at line 147 of file Run.h.

147 { return moduleCallingContext_; }

References moduleCallingContext_.

◆ processHistory()

ProcessHistory const & Run::processHistory ( ) const

◆ processHistoryID()

ProcessHistoryID const & Run::processHistoryID ( ) const

Definition at line 104 of file Run.cc.

104 { 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 216 of file Run.h.

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

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 206 of file Run.h.

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

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 193 of file Run.h.

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

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 168 of file Run.h.

168 { return putProducts_; }

References putProducts_.

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

◆ putProducts() [2/2]

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

Definition at line 169 of file Run.h.

169 { return putProducts_; }

References putProducts_.

◆ runAuxiliary()

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

◆ runPrincipal()

RunPrincipal const & Run::runPrincipal ( ) const
private

Definition at line 23 of file Run.cc.

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

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

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

◆ setConsumer()

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

Definition at line 51 of file Run.h.

51 { 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 53 of file Run.h.

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

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

Friends And Related Function Documentation

◆ ProducerBase

friend class ProducerBase
friend

Definition at line 176 of file Run.h.

◆ RawInputSource

friend class RawInputSource
friend

Definition at line 175 of file Run.h.

◆ stream::ProducingModuleAdaptorBase

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

Definition at line 178 of file Run.h.

Member Data Documentation

◆ aux_

RunAuxiliary const& edm::Run::aux_
private

Definition at line 184 of file Run.h.

Referenced by runAuxiliary().

◆ emptyString_

const std::string Run::emptyString_
staticprivate

Definition at line 189 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 183 of file Run.h.

Referenced by putProducts(), and setProducer().

◆ sharedResourcesAcquirer_

SharedResourcesAcquirer* edm::Run::sharedResourcesAcquirer_
private

Definition at line 187 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:355
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:25
pfClustersFromHGC3DClusters_cfi.wp
wp
Definition: pfClustersFromHGC3DClusters_cfi.py:20
edm::Run::index
RunIndex index() const
Definition: Run.cc:21
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:193
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
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:189
edm::PrincipalGetAdapter::setSharedResourcesAcquirer
void setSharedResourcesAcquirer(SharedResourcesAcquirer *iSra)
Definition: PrincipalGetAdapter.h:146
edm::Run::provRecorder_
PrincipalGetAdapter provRecorder_
Definition: Run.h:182
edm::Principal::getProvenance
Provenance getProvenance(BranchID const &bid, ModuleCallingContext const *mcc) const
Definition: Principal.cc:796
UNLIKELY
#define UNLIKELY(x)
Definition: Likely.h:21
edm::Run::putProducts
ProductPtrVec & putProducts()
Definition: Run.h:168
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: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::Principal::getAllStableProvenance
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
Definition: Principal.cc:830
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:147
edm::PrincipalGetAdapter::transition
Transition transition() const
Definition: PrincipalGetAdapter.cc:249
h
edm::Run::moduleCallingContext_
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:185
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::RunPrincipal::index
RunIndex index() const
Definition: RunPrincipal.h:57
edm::get_underlying_safe
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
Definition: get_underlying_safe.h:40
edm::Run::runPrincipal
RunPrincipal const & runPrincipal() const
Definition: Run.cc:23
edm::Run::putProducts_
ProductPtrVec putProducts_
Definition: Run.h:183
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:184
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:266
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:303
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:280
edm::Principal::cacheIdentifier
CacheIdentifier_t cacheIdentifier() const
Definition: Principal.h:183
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