test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 
void getAllProvenance (std::vector< Provenance const * > &provenances) const
 
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 getByLabel (InputTag const &tag, Handle< PROD > &result) const
 same as above, but using the InputTag class More...
 
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 >
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 (std::auto_ptr< PROD > product)
 Put a new product. More...
 
template<typename PROD >
void put (std::unique_ptr< PROD > product)
 
template<typename PROD >
void put (std::auto_ptr< PROD > product, std::string const &productInstanceName)
 Put a new product with a 'product instance name'. More...
 
template<typename PROD >
void put (std::unique_ptr< PROD > product, std::string const &productInstanceName)
 
 Run (RunPrincipal const &rp, ModuleDescription const &md, ModuleCallingContext const *)
 
RunAuxiliary const & runAuxiliary () const
 
void setConsumer (EDConsumerBase const *iConsumer)
 
void setSharedResourcesAcquirer (SharedResourcesAcquirer *iResourceAcquirer)
 
 ~Run ()
 
- 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::set< BranchIDBranchIDSet
 
typedef std::vector< std::pair
< edm::propagate_const
< std::unique_ptr< WrapperBase >
>, BranchDescription const * > > 
ProductPtrVec
 

Private Member Functions

void addToGotBranchIDs (Provenance const &prov) const
 
void commit_ ()
 
virtual BasicHandle getByLabelImpl (std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const
 
ProductPtrVecputProducts ()
 
ProductPtrVec const & putProducts () const
 
RunPrincipal const & runPrincipal () const
 

Private Attributes

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

Static Private Attributes

static const std::string emptyString_
 

Friends

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

Detailed Description

Definition at line 43 of file Run.h.

Member Typedef Documentation

Definition at line 58 of file Run.h.

typedef std::set<BranchID> edm::Run::BranchIDSet
private

Definition at line 178 of file Run.h.

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

typedef std::vector<std::pair<edm::propagate_const<std::unique_ptr<WrapperBase> >, BranchDescription const*> > edm::Run::ProductPtrVec
private

Definition at line 159 of file Run.h.

Constructor & Destructor Documentation

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

Definition at line 11 of file Run.cc.

12  :
13  provRecorder_(rp, md),
14  aux_(rp.aux()),
16  }
RunAuxiliary const & aux_
Definition: Run.h:177
ModuleCallingContext const * moduleCallingContext() const
Definition: Run.h:148
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
Run::~Run ( )

Definition at line 18 of file Run.cc.

18  {
19  }

Member Function Documentation

void Run::addToGotBranchIDs ( Provenance const &  prov) const
private

Definition at line 104 of file Run.cc.

References edm::Provenance::branchID(), and gotBranchIDs_.

Referenced by getByLabelImpl().

104  {
105  gotBranchIDs_.insert(prov.branchID());
106  }
BranchIDSet gotBranchIDs_
Definition: Run.h:179
Run::CacheIdentifier_t Run::cacheIdentifier ( ) const

Definition at line 22 of file Run.cc.

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

22 {return runPrincipal().cacheIdentifier();}
CacheIdentifier_t cacheIdentifier() const
Definition: Principal.h:183
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
void Run::commit_ ( )
private

Definition at line 79 of file Run.cc.

References begin, end, edm::get_underlying_safe(), eostools::move(), edm::RunPrincipal::put(), putProducts(), and runPrincipal().

Referenced by edm::stream::ProducingModuleAdaptorBase< EDProducerBase >::commit(), edm::InputSource::doBeginRun(), and edm::InputSource::doEndRun().

79  {
80  RunPrincipal const& rp = runPrincipal();
81  ProductPtrVec::iterator pit(putProducts().begin());
82  ProductPtrVec::iterator pie(putProducts().end());
83 
84  while(pit != pie) {
85  rp.put(*pit->second, std::move(get_underlying_safe(pit->first)));
86  ++pit;
87  }
88 
89  // the cleanup is all or none
90  putProducts().clear();
91  }
def move
Definition: eostools.py:510
#define end
Definition: vmac.h:37
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
ProductPtrVec & putProducts()
Definition: Run.h:160
#define begin
Definition: vmac.h:30
void Run::getAllProvenance ( std::vector< Provenance const * > &  provenances) const

Definition at line 37 of file Run.cc.

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

Referenced by GlobalHitsProdHistStripper::beginRun().

37  {
38  runPrincipal().getAllProvenance(provenances);
39  }
void getAllProvenance(std::vector< Provenance const * > &provenances) const
Definition: Principal.cc:798
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
template<typename PROD >
bool Run::getByLabel ( std::string const &  label,
Handle< PROD > &  result 
) const
template<typename PROD >
bool Run::getByLabel ( std::string const &  label,
std::string const &  productInstanceName,
Handle< PROD > &  result 
) const

Definition at line 225 of file Run.h.

References edm::PrincipalGetAdapter::checkIfComplete(), edm::HandleBase::clear(), edm::convert_handle(), emptyString_, edm::HandleBase::failedToGet(), edm::PrincipalGetAdapter::getByLabel_(), moduleCallingContext_, eostools::move(), PROD, provRecorder_, and edm::principal_get_adapter_detail::throwOnPrematureRead().

227  {
229  principal_get_adapter_detail::throwOnPrematureRead("Run", TypeID(typeid(PROD)), label, productInstanceName);
230  }
231  result.clear();
232  BasicHandle bh = provRecorder_.getByLabel_(TypeID(typeid(PROD)), label, productInstanceName, emptyString_, moduleCallingContext_);
233  convert_handle(std::move(bh), result); // throws on conversion error
234  if (result.failedToGet()) {
235  return false;
236  }
237  return true;
238  }
static const std::string emptyString_
Definition: Run.h:183
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
def move
Definition: eostools.py:510
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:19
#define PROD(A, B)
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
template<typename PROD >
bool Run::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const

same as above, but using the InputTag class

Definition at line 243 of file Run.h.

References edm::PrincipalGetAdapter::checkIfComplete(), edm::HandleBase::clear(), edm::convert_handle(), edm::HandleBase::failedToGet(), edm::PrincipalGetAdapter::getByLabel_(), edm::InputTag::instance(), edm::InputTag::label(), moduleCallingContext_, eostools::move(), PROD, provRecorder_, and edm::principal_get_adapter_detail::throwOnPrematureRead().

243  {
245  principal_get_adapter_detail::throwOnPrematureRead("Run", TypeID(typeid(PROD)), tag.label(), tag.instance());
246  }
247  result.clear();
248  BasicHandle bh = provRecorder_.getByLabel_(TypeID(typeid(PROD)), tag, moduleCallingContext_);
249  convert_handle(std::move(bh), result); // throws on conversion error
250  if (result.failedToGet()) {
251  return false;
252  }
253  return true;
254  }
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
def move
Definition: eostools.py:510
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:19
#define PROD(A, B)
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
BasicHandle Run::getByLabelImpl ( std::type_info const &  iWrapperType,
std::type_info const &  iProductType,
InputTag const &  iTag 
) const
privatevirtual

Implements edm::RunBase.

Definition at line 109 of file Run.cc.

References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), h, edm::BasicHandle::isValid(), moduleCallingContext_, edm::BasicHandle::provenance(), and provRecorder_.

109  {
110  BasicHandle h = provRecorder_.getByLabel_(TypeID(iProductType), iTag, moduleCallingContext_);
111  if(h.isValid()) {
112  addToGotBranchIDs(*(h.provenance()));
113  }
114  return h;
115  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
void addToGotBranchIDs(Provenance const &prov) const
Definition: Run.cc:104
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
template<typename PROD >
bool Run::getByToken ( EDGetToken  token,
Handle< PROD > &  result 
) const

Definition at line 258 of file Run.h.

References edm::PrincipalGetAdapter::checkIfComplete(), edm::HandleBase::clear(), edm::convert_handle(), edm::HandleBase::failedToGet(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, and edm::principal_get_adapter_detail::throwOnPrematureRead().

Referenced by L1GtAnalyzer::analyzeConditionsInRunBlock(), L1GtAnalyzer::analyzeL1GtTriggerMenuLite(), HLTPrescaleRecorder::beginRun(), pat::PATTriggerEventProducer::beginRun(), RunHistogramManager::beginRun(), GenXSecAnalyzer::endRun(), PCLTrackerAlProducer::endRun(), edm::GetterOfProducts< trigger::HLTPrescaleTable >::fillHandles(), EDMtoMEConverter::Tokens< T >::getData(), PrescaleWeightProvider::initRun(), and L1GtUtils::retrieveL1GtTriggerMenuLite().

258  {
260  principal_get_adapter_detail::throwOnPrematureRead("Run", TypeID(typeid(PROD)), token);
261  }
262  result.clear();
263  BasicHandle bh = provRecorder_.getByToken_(TypeID(typeid(PROD)),PRODUCT_TYPE, token, moduleCallingContext_);
264  convert_handle(std::move(bh), result); // throws on conversion error
265  if (result.failedToGet()) {
266  return false;
267  }
268  return true;
269  }
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
def move
Definition: eostools.py:510
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:19
#define PROD(A, B)
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
template<typename PROD >
bool Run::getByToken ( EDGetTokenT< PROD token,
Handle< PROD > &  result 
) const

Definition at line 273 of file Run.h.

References edm::PrincipalGetAdapter::checkIfComplete(), edm::HandleBase::clear(), edm::convert_handle(), edm::HandleBase::failedToGet(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, and edm::principal_get_adapter_detail::throwOnPrematureRead().

273  {
276  }
277  result.clear();
278  BasicHandle bh = provRecorder_.getByToken_(TypeID(typeid(PROD)),PRODUCT_TYPE, token, moduleCallingContext_);
279  convert_handle(std::move(bh), result); // throws on conversion error
280  if (result.failedToGet()) {
281  return false;
282  }
283  return true;
284  }
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
def move
Definition: eostools.py:510
void convert_handle(BasicHandle &&bh, Handle< T > &result)
Definition: ConvertHandle.h:19
#define PROD(A, B)
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
template<typename PROD >
void Run::getManyByType ( std::vector< Handle< PROD > > &  results) const

Definition at line 288 of file Run.h.

References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getManyByType(), moduleCallingContext_, PROD, provRecorder_, mps_update::results, and edm::principal_get_adapter_detail::throwOnPrematureRead().

Referenced by GlobalHitsProdHistStripper::endRun().

288  {
291  }
293  }
tuple results
Definition: mps_update.py:44
void getManyByType(std::vector< Handle< PROD > > &results, ModuleCallingContext const *mcc) const
#define PROD(A, B)
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
Provenance Run::getProvenance ( BranchID const &  theID) const

Definition at line 32 of file Run.cc.

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

32  {
34  }
Provenance getProvenance(BranchID const &bid, ModuleCallingContext const *mcc) const
Definition: Principal.cc:778
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
RunIndex Run::index ( ) const
Returns
Reusable index which can be used to separate data for different simultaneous Runs.

Definition at line 24 of file Run.cc.

References edm::RunPrincipal::index(), and runPrincipal().

Referenced by BeautifulSoup.PageElement::_invert().

24 { return runPrincipal().index();}
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
RunIndex index() const
Definition: RunPrincipal.h:53
void edm::Run::labelsForToken ( EDGetToken const &  iToken,
ProductLabels oLabels 
) const
inline

Definition at line 150 of file Run.h.

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

150 { provRecorder_.labelsForToken(iToken, oLabels); }
void labelsForToken(EDGetToken const &iToken, ProductLabels &oLabels) const
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
ModuleCallingContext const* edm::Run::moduleCallingContext ( ) const
inline

Definition at line 148 of file Run.h.

References moduleCallingContext_.

Referenced by DQMEDAnalyzer::beginRun(), edm::PileUp::beginRun(), edm::PileUp::endRun(), and DQMEDAnalyzer::endRunSummary().

148 { return moduleCallingContext_; }
ModuleCallingContext const * moduleCallingContext_
Definition: Run.h:180
ProcessHistory const & Run::processHistory ( ) const
ProcessHistoryID const & Run::processHistoryID ( ) const

Definition at line 94 of file Run.cc.

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

94  {
95  return runPrincipal().processHistoryID();
96  }
ProcessHistoryID const & processHistoryID() const
Definition: Principal.h:148
RunPrincipal const & runPrincipal() const
Definition: Run.cc:27
template<typename PROD >
void edm::Run::put ( std::auto_ptr< PROD product)
inline
template<typename PROD >
void edm::Run::put ( std::unique_ptr< PROD product)
inline

Definition at line 116 of file Run.h.

References eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.

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

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

Definition at line 188 of file Run.h.

References put().

188  {
189  put(std::unique_ptr<PROD>(product.release()),productInstanceName);
190  }
void put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Run.h:112
template<typename PROD >
void Run::put ( std::unique_ptr< PROD product,
std::string const &  productInstanceName 
)

Definition at line 194 of file Run.h.

References edm::PrincipalGetAdapter::getBranchDescription(), eostools::move(), PROD, provRecorder_, putProducts(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and relativeConstraints::value.

194  {
195  if (product.get() == 0) { // null pointer is illegal
196  TypeID typeID(typeid(PROD));
197  principal_get_adapter_detail::throwOnPutOfNullProduct("Run", typeID, productInstanceName);
198  }
199 
200  // The following will call post_insert if T has such a function,
201  // and do nothing if T has no such function.
203  DoPostInsert<PROD>,
204  DoNotPostInsert<PROD> >::type maybe_inserter;
205  maybe_inserter(product.get());
206 
207  BranchDescription const& desc =
208  provRecorder_.getBranchDescription(TypeID(*product), productInstanceName);
209 
210  std::unique_ptr<Wrapper<PROD> > wp(new Wrapper<PROD>(std::move(product)));
211  putProducts().emplace_back(std::move(wp), &desc);
212 
213  // product.release(); // The object has been copied into the Wrapper.
214  // The old copy must be deleted, so we cannot release ownership.
215  }
type
Definition: HCALResponse.h:21
def move
Definition: eostools.py:510
BranchDescription const & getBranchDescription(TypeID const &type, std::string const &productInstanceName) const
ProductPtrVec & putProducts()
Definition: Run.h:160
#define PROD(A, B)
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
ProductPtrVec& edm::Run::putProducts ( )
inlineprivate

Definition at line 160 of file Run.h.

References putProducts_.

Referenced by commit_(), and put().

160 {return putProducts_;}
ProductPtrVec putProducts_
Definition: Run.h:176
ProductPtrVec const& edm::Run::putProducts ( ) const
inlineprivate

Definition at line 161 of file Run.h.

References putProducts_.

161 {return putProducts_;}
ProductPtrVec putProducts_
Definition: Run.h:176
RunAuxiliary const& edm::Run::runAuxiliary ( ) const
inlinevirtual
RunPrincipal const & Run::runPrincipal ( ) const
private

Definition at line 27 of file Run.cc.

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

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

27  {
28  return dynamic_cast<RunPrincipal const&>(provRecorder_.principal());
29  }
Principal const & principal() const
string const
Definition: compareJSON.py:14
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
void edm::Run::setConsumer ( EDConsumerBase const *  iConsumer)
inline

Definition at line 50 of file Run.h.

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

Referenced by edm::EDAnalyzer::doBeginRun(), edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::one::EDAnalyzerBase::doBeginRun(), edm::global::EDAnalyzerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginRun(), edm::stream::EDAnalyzerAdaptor< T >::doBeginRun(), edm::EDAnalyzer::doEndRun(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::one::EDAnalyzerBase::doEndRun(), edm::global::EDAnalyzerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndRun(), edm::stream::EDAnalyzerAdaptor< T >::doEndRun(), edm::global::EDAnalyzerBase::doStreamBeginRun(), edm::global::EDFilterBase::doStreamBeginRun(), edm::global::EDProducerBase::doStreamBeginRun(), edm::global::EDAnalyzerBase::doStreamEndRun(), edm::global::EDFilterBase::doStreamEndRun(), edm::global::EDProducerBase::doStreamEndRun(), edm::stream::EDAnalyzerAdaptorBase::doStreamEndRun(), and edm::stream::ProducingModuleAdaptorBase< T >::doStreamEndRun().

50  {
51  provRecorder_.setConsumer(iConsumer);
52  }
void setConsumer(EDConsumerBase const *iConsumer)
PrincipalGetAdapter provRecorder_
Definition: Run.h:175
void edm::Run::setSharedResourcesAcquirer ( SharedResourcesAcquirer iResourceAcquirer)
inline

Definition at line 54 of file Run.h.

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

54  {
55  provRecorder_.setSharedResourcesAcquirer(iResourceAcquirer);
56  }
void setSharedResourcesAcquirer(SharedResourcesAcquirer *iSra)
PrincipalGetAdapter provRecorder_
Definition: Run.h:175

Friends And Related Function Documentation

friend class InputSource
friend

Definition at line 167 of file Run.h.

friend class ProducerBase
friend

Definition at line 169 of file Run.h.

friend class RawInputSource
friend

Definition at line 168 of file Run.h.

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

Definition at line 170 of file Run.h.

Member Data Documentation

RunAuxiliary const& edm::Run::aux_
private

Definition at line 177 of file Run.h.

Referenced by runAuxiliary().

std::string const Run::emptyString_
staticprivate

Definition at line 183 of file Run.h.

Referenced by getByLabel().

BranchIDSet edm::Run::gotBranchIDs_
mutableprivate

Definition at line 179 of file Run.h.

Referenced by addToGotBranchIDs().

ModuleCallingContext const* edm::Run::moduleCallingContext_
private
PrincipalGetAdapter edm::Run::provRecorder_
private
ProductPtrVec edm::Run::putProducts_
private

Definition at line 176 of file Run.h.

Referenced by putProducts().

SharedResourcesAcquirer* edm::Run::sharedResourcesAcquirer_
private

Definition at line 181 of file Run.h.