#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 |
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::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 < WrapperOwningHolder, 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 37 of file LuminosityBlock.h.
|
private |
Definition at line 134 of file LuminosityBlock.h.
|
private |
Definition at line 112 of file LuminosityBlock.h.
LuminosityBlock::LuminosityBlock | ( | LuminosityBlockPrincipal & | lbp, |
ModuleDescription const & | md | ||
) |
Definition at line 9 of file LuminosityBlock.cc.
LuminosityBlock::~LuminosityBlock | ( | ) |
Definition at line 15 of file LuminosityBlock.cc.
References edm::for_all(), and putProducts_.
|
private |
Definition at line 69 of file LuminosityBlock.cc.
References edm::Provenance::branchID(), and gotBranchIDs_.
Referenced by getByLabelImpl().
|
private |
Definition at line 42 of file LuminosityBlock.cc.
References begin, end, luminosityBlockPrincipal(), 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 165 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::get(), and provRecorder_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
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 171 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
Referenced by EventHeader::analyze(), L1GtAnalyzer::analyzeConditionsInLumiBlock(), LogErrorEventFilter::beginLuminosityBlock(), HLTPrescaleRecorder::beginLuminosityBlock(), pat::PATTriggerEventProducer::beginLuminosityBlock(), pat::PATTriggerProducer::beginLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), BPhysicsOniaDQM::endLuminosityBlock(), DigiLumiCorrHistogramMaker::fill(), HighLumiFilter::filter(), GetLumi::getRawValue(), 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 177 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 186 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
|
privatevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 74 of file LuminosityBlock.cc.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), h, edm::BasicHandle::isValid(), edm::BasicHandle::provenance(), and provRecorder_.
Definition at line 198 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 192 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 204 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getManyByType(), provRecorder_, and python.entryComment::results.
Provenance LuminosityBlock::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 32 of file LuminosityBlock.cc.
References edm::Principal::getProvenance(), and luminosityBlockPrincipal().
|
inline |
Definition at line 77 of file LuminosityBlock.h.
References run_.
Referenced by LumiCalculator::endLuminosityBlock(), and edm::Event::getRun().
|
inlinevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 43 of file LuminosityBlock.h.
References aux_.
|
private |
Definition at line 27 of file LuminosityBlock.cc.
References compareJSON::const, edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by commit_(), getAllProvenance(), getProvenance(), and processHistoryID().
|
private |
Definition at line 22 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
ProcessHistory const & LuminosityBlock::processHistory | ( | ) | const |
Definition at line 64 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
ProcessHistoryID const & LuminosityBlock::processHistoryID | ( | ) | const |
Definition at line 59 of file LuminosityBlock.cc.
References luminosityBlockPrincipal(), and edm::Principal::processHistoryID().
|
inline |
Put a new product.
Definition at line 84 of file LuminosityBlock.h.
Referenced by RandomEngineStateProducer::beginLuminosityBlock(), LumiProducer::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlock(), EventCountProducer::endLuminosityBlock(), LogErrorEventFilter::endLuminosityBlock(), GenFilterEfficiencyProducer::endLuminosityBlock(), HLTPrescaleRecorder::endLuminosityBlock(), ConditionDumperInEdm::endLuminosityBlock(), ExpressLumiProducer::writeEmptyProductForEntry(), ExpressLumiProducer::writeProductsForEntry(), 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 140 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getBranchDescription(), PROD, provRecorder_, putProducts(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and relativeConstraints::value.
|
inlineprivate |
Definition at line 113 of file LuminosityBlock.h.
References putProducts_.
Referenced by commit_(), and put().
|
inlineprivate |
|
friend |
Definition at line 120 of file LuminosityBlock.h.
|
friend |
Definition at line 122 of file LuminosityBlock.h.
|
friend |
Definition at line 124 of file LuminosityBlock.h.
|
friend |
Definition at line 125 of file LuminosityBlock.h.
|
friend |
Definition at line 121 of file LuminosityBlock.h.
|
friend |
Definition at line 123 of file LuminosityBlock.h.
|
private |
Definition at line 132 of file LuminosityBlock.h.
Referenced by luminosityBlockAuxiliary().
|
mutableprivate |
Definition at line 135 of file LuminosityBlock.h.
Referenced by addToGotBranchIDs().
|
private |
Definition at line 130 of file LuminosityBlock.h.
Referenced by get(), getByLabel(), getByLabelImpl(), getByType(), getMany(), getManyByType(), luminosityBlockPrincipal(), processHistory(), and put().
|
private |
Definition at line 131 of file LuminosityBlock.h.
Referenced by putProducts(), and ~LuminosityBlock().
|
private |
Definition at line 133 of file LuminosityBlock.h.
Referenced by getRun().