#include <LuminosityBlock.h>
Public Member Functions | |
template<typename PROD > | |
bool | get (SelectorBase const &, Handle< PROD > &result) 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 | getByType (Handle< PROD > &result) const |
template<typename PROD > | |
void | getMany (SelectorBase const &, std::vector< Handle< PROD > > &results) const |
template<typename PROD > | |
void | getManyByType (std::vector< Handle< PROD > > &results) const |
Provenance | getProvenance (BranchID const &theID) const |
Run const & | getRun () const |
LuminosityBlock (LuminosityBlockPrincipal &lbp, ModuleDescription const &md) | |
LuminosityBlockAuxiliary const & | luminosityBlockAuxiliary () const |
ProcessHistory const & | processHistory () const |
template<typename PROD > | |
void | put (std::auto_ptr< PROD > product) |
Put a new product. More... | |
template<typename PROD > | |
void | put (std::auto_ptr< PROD > product, std::string const &productInstanceName) |
Put a new product with a 'product instance name'. More... | |
~LuminosityBlock () | |
Public Member Functions inherited from edm::LuminosityBlockBase | |
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<class T > | |
bool | getByLabel (const InputTag &tag, Handle< T > &result) const |
LuminosityBlockID | id () const |
LuminosityBlockNumber_t | luminosityBlock () const |
LuminosityBlockBase () | |
RunNumber_t | run () const |
virtual | ~LuminosityBlockBase () |
Private Types | |
typedef std::set< BranchID > | BranchIDSet |
typedef std::vector< std::pair < EDProduct *, ConstBranchDescription 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 |
LuminosityBlockPrincipal const & | luminosityBlockPrincipal () const |
LuminosityBlockPrincipal & | luminosityBlockPrincipal () |
ProductPtrVec & | putProducts () |
ProductPtrVec const & | putProducts () const |
Private Attributes | |
LuminosityBlockAuxiliary const & | aux_ |
BranchIDSet | gotBranchIDs_ |
PrincipalGetAdapter | provRecorder_ |
ProductPtrVec | putProducts_ |
boost::shared_ptr< Run const > const | run_ |
Friends | |
class | ConfigurableInputSource |
class | DaqSource |
class | EDFilter |
class | EDProducer |
class | InputSource |
class | RawInputSource |
Definition at line 35 of file LuminosityBlock.h.
|
private |
Definition at line 130 of file LuminosityBlock.h.
|
private |
Definition at line 108 of file LuminosityBlock.h.
LuminosityBlock::LuminosityBlock | ( | LuminosityBlockPrincipal & | lbp, |
ModuleDescription const & | md | ||
) |
Definition at line 8 of file LuminosityBlock.cc.
LuminosityBlock::~LuminosityBlock | ( | ) |
Definition at line 14 of file LuminosityBlock.cc.
References edm::for_all(), and putProducts_.
|
private |
Definition at line 72 of file LuminosityBlock.cc.
References edm::Provenance::branchID(), and gotBranchIDs_.
Referenced by getByLabelImpl().
|
private |
Definition at line 44 of file LuminosityBlock.cc.
References begin, end, luminosityBlockPrincipal(), edm::productstatus::present(), edm::LuminosityBlockPrincipal::put(), and putProducts().
Referenced by edm::InputSource::doBeginLumi(), edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::InputSource::doEndLumi(), edm::EDProducer::doEndLuminosityBlock(), and edm::EDFilter::doEndLuminosityBlock().
bool LuminosityBlock::get | ( | SelectorBase const & | sel, |
Handle< PROD > & | result | ||
) | const |
Definition at line 162 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::get(), and provRecorder_.
Referenced by Options.Options::__getitem__().
void LuminosityBlock::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 37 of file LuminosityBlock.cc.
References edm::Principal::getAllProvenance(), and luminosityBlockPrincipal().
bool LuminosityBlock::getByLabel | ( | std::string const & | label, |
Handle< PROD > & | result | ||
) | const |
Definition at line 168 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
Referenced by L1GtAnalyzer::analyzeConditionsInLumiBlock(), HLTPrescaleRecorder::beginLuminosityBlock(), pat::PATTriggerEventProducer::beginLuminosityBlock(), pat::PATTriggerProducer::beginLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), edm::service::RandomNumberGeneratorService::readFromLuminosityBlock(), and AlcaBeamSpotManager::readLumi().
bool LuminosityBlock::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 174 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
bool LuminosityBlock::getByLabel | ( | InputTag const & | tag, |
Handle< PROD > & | result | ||
) | const |
same as above, but using the InputTag class
Definition at line 183 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
|
privatevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 77 of file LuminosityBlock.cc.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), h, edm::BasicHandle::isValid(), edm::BasicHandle::provenance(), and provRecorder_.
Definition at line 195 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByType(), and provRecorder_.
Referenced by GenFilterEfficiencyAnalyzer::endLuminosityBlock().
void LuminosityBlock::getMany | ( | SelectorBase const & | sel, |
std::vector< Handle< PROD > > & | results | ||
) | const |
Definition at line 189 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getMany(), provRecorder_, and python.entryComment::results.
void LuminosityBlock::getManyByType | ( | std::vector< Handle< PROD > > & | results | ) | const |
Definition at line 201 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getManyByType(), provRecorder_, and python.entryComment::results.
Provenance LuminosityBlock::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 31 of file LuminosityBlock.cc.
References edm::Principal::getProvenance(), and luminosityBlockPrincipal().
|
inline |
Definition at line 75 of file LuminosityBlock.h.
References run_.
Referenced by edm::Event::getRun().
|
inlinevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 41 of file LuminosityBlock.h.
References aux_.
|
private |
Definition at line 26 of file LuminosityBlock.cc.
References compareJSON::const, edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by commit_(), getAllProvenance(), and getProvenance().
|
private |
Definition at line 21 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
ProcessHistory const & LuminosityBlock::processHistory | ( | ) | const |
Definition at line 67 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
|
inline |
Put a new product.
Definition at line 82 of file LuminosityBlock.h.
Referenced by RandomEngineStateProducer::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlock(), EventCountProducer::endLuminosityBlock(), GenFilterEfficiencyProducer::endLuminosityBlock(), HLTPrescaleRecorder::endLuminosityBlock(), ConditionDumperInEdm::endLuminosityBlock(), LumiProducer::endLuminosityBlock(), and LumiProducer::writeProductsForEntry().
void LuminosityBlock::put | ( | std::auto_ptr< PROD > | product, |
std::string const & | productInstanceName | ||
) |
Put a new product with a 'product instance name'.
Definition at line 136 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getBranchDescription(), PROD, provRecorder_, putProducts(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and relativeConstraints::value.
|
inlineprivate |
Definition at line 109 of file LuminosityBlock.h.
References putProducts_.
Referenced by commit_(), and put().
|
inlineprivate |
|
friend |
Definition at line 116 of file LuminosityBlock.h.
|
friend |
Definition at line 118 of file LuminosityBlock.h.
|
friend |
Definition at line 120 of file LuminosityBlock.h.
|
friend |
Definition at line 121 of file LuminosityBlock.h.
|
friend |
Definition at line 117 of file LuminosityBlock.h.
|
friend |
Definition at line 119 of file LuminosityBlock.h.
|
private |
Definition at line 128 of file LuminosityBlock.h.
Referenced by luminosityBlockAuxiliary().
|
mutableprivate |
Definition at line 131 of file LuminosityBlock.h.
Referenced by addToGotBranchIDs().
|
private |
Definition at line 126 of file LuminosityBlock.h.
Referenced by get(), getByLabel(), getByLabelImpl(), getByType(), getMany(), getManyByType(), luminosityBlockPrincipal(), processHistory(), and put().
|
private |
Definition at line 127 of file LuminosityBlock.h.
Referenced by putProducts(), and ~LuminosityBlock().
|
private |
Definition at line 129 of file LuminosityBlock.h.
Referenced by getRun().