#include <Run.h>
Public Types | |
typedef PrincipalGetAdapter | Base |
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 |
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... | |
Run (RunPrincipal &rp, ModuleDescription const &md) | |
RunAuxiliary const & | runAuxiliary () const |
~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< 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 |
ProductPtrVec & | putProducts () |
ProductPtrVec const & | putProducts () const |
RunPrincipal const & | runPrincipal () const |
RunPrincipal & | runPrincipal () |
Private Attributes | |
RunAuxiliary const & | aux_ |
BranchIDSet | gotBranchIDs_ |
PrincipalGetAdapter | provRecorder_ |
ProductPtrVec | putProducts_ |
Friends | |
class | ConfigurableInputSource |
class | DaqSource |
class | EDFilter |
class | EDProducer |
class | InputSource |
class | RawInputSource |
typedef PrincipalGetAdapter edm::Run::Base |
|
private |
|
private |
Run::Run | ( | RunPrincipal & | rp, |
ModuleDescription const & | md | ||
) |
Run::~Run | ( | ) |
Definition at line 13 of file Run.cc.
References edm::for_all(), and putProducts_.
|
private |
Definition at line 104 of file Run.cc.
References edm::Provenance::branchID(), and gotBranchIDs_.
Referenced by getByLabelImpl().
|
private |
Definition at line 77 of file Run.cc.
References begin, end, edm::RunPrincipal::put(), putProducts(), and runPrincipal().
Referenced by edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::InputSource::doBeginRun(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), and edm::InputSource::doEndRun().
bool Run::get | ( | SelectorBase const & | sel, |
Handle< PROD > & | result | ||
) | const |
Definition at line 171 of file Run.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 Run::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 35 of file Run.cc.
References edm::Principal::getAllProvenance(), and runPrincipal().
Referenced by GlobalHitsProdHistStripper::beginRun(), and L1GtUtils::getL1GtTriggerMenuLiteInputTag().
bool Run::getByLabel | ( | std::string const & | label, |
Handle< PROD > & | result | ||
) | const |
Definition at line 177 of file Run.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
Referenced by L1GtAnalyzer::analyzeConditionsInRunBlock(), L1GtAnalyzer::analyzeL1GtTriggerMenuLite(), LHEWriter::beginRun(), LHECOMWeightProducer::beginRun(), LHEProducer::beginRun(), HLTPrescaleRecorder::beginRun(), pat::PATTriggerEventProducer::beginRun(), FWFFLooper::beginRun(), pat::PATTriggerProducer::beginRun(), LHE2HepMCConverter::beginRun(), RunHistogramManager::beginRun(), LumiCalculator::endLuminosityBlock(), ExternalLHEAsciiDumper::endRun(), TkLasBeamFitter::endRun(), AlignmentProducer::endRun(), L1GtBeamModeFilter::filter(), PrescaleWeightProvider::initRun(), FWFFService::postBeginRun(), EveService::postBeginRun(), and L1GtUtils::retrieveL1GtTriggerMenuLite().
bool Run::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 183 of file Run.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
bool Run::getByLabel | ( | InputTag const & | tag, |
Handle< PROD > & | result | ||
) | const |
same as above, but using the InputTag class
Definition at line 192 of file Run.h.
References edm::PrincipalGetAdapter::getByLabel(), and provRecorder_.
|
privatevirtual |
Implements edm::RunBase.
Definition at line 109 of file Run.cc.
References addToGotBranchIDs(), edm::PrincipalGetAdapter::getByLabel_(), h, edm::BasicHandle::isValid(), edm::BasicHandle::provenance(), and provRecorder_.
Definition at line 204 of file Run.h.
References edm::PrincipalGetAdapter::getByType(), and provRecorder_.
void Run::getMany | ( | SelectorBase const & | sel, |
std::vector< Handle< PROD > > & | results | ||
) | const |
Definition at line 198 of file Run.h.
References edm::PrincipalGetAdapter::getMany(), provRecorder_, and python.entryComment::results.
Definition at line 210 of file Run.h.
References edm::PrincipalGetAdapter::getManyByType(), provRecorder_, and python.entryComment::results.
Referenced by edm::HadronizerFilter< HAD, DEC >::beginRun(), and GlobalHitsProdHistStripper::endRun().
Provenance Run::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 30 of file Run.cc.
References edm::Principal::getProvenance(), and runPrincipal().
ProcessHistory const & Run::processHistory | ( | ) | const |
Definition at line 99 of file Run.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
Referenced by pat::PATTriggerEventProducer::beginRun(), MEtoMEComparitor::beginRun(), pat::PATTriggerProducer::beginRun(), and HLTConfigProvider::init().
ProcessHistoryID const & Run::processHistoryID | ( | ) | const |
Definition at line 94 of file Run.cc.
References edm::Principal::processHistoryID(), and runPrincipal().
|
inline |
Put a new product.
Definition at line 81 of file Run.h.
Referenced by LHESource::beginRun(), AlpgenSource::beginRun(), MCatNLOSource::beginRun(), L1GtTriggerMenuLiteProducer::beginRun(), ExternalLHEProducer::beginRun(), edm::CosMuoGenSource::endRun(), edm::CosMuoGenProducer::endRun(), edm::PomwigProducer::endRun(), edm::FlatBaseThetaGunProducer::endRun(), LHESource::endRun(), edm::BeamHaloProducer::endRun(), edm::ExhumeProducer::endRun(), edm::BaseFlatGunProducer::endRun(), LHEProducer::endRun(), HLTPrescaleRecorder::endRun(), edm::GeneratorFilter< HAD, DEC >::endRun(), edm::HadronizerFilter< HAD, DEC >::endRun(), ConditionDumperInEdm::endRun(), TkLasBeamFitter::endRun(), ExternalLHEProducer::endRun(), GlobalHitsProdHist::endRun(), LaserAlignment::endRun(), and LumiProducer::endRun().
void Run::put | ( | std::auto_ptr< PROD > | product, |
std::string const & | productInstanceName | ||
) |
Put a new product with a 'product instance name'.
Definition at line 146 of file Run.h.
References edm::PrincipalGetAdapter::getBranchDescription(), PROD, provRecorder_, putProducts(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and relativeConstraints::value.
|
inlineprivate |
|
inlineprivate |
|
inlinevirtual |
Implements edm::RunBase.
Definition at line 40 of file Run.h.
References aux_.
Referenced by L1GtUtils::getL1GtRunCache(), L1GtUtils::getL1GtTriggerMenuLiteInputTag(), and L1GtUtils::retrieveL1GtTriggerMenuLite().
|
private |
Definition at line 25 of file Run.cc.
References compareJSON::const, edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by commit_(), getAllProvenance(), getProvenance(), and processHistoryID().
|
private |
Definition at line 20 of file Run.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 139 of file Run.h.
Referenced by runAuxiliary().
|
mutableprivate |
Definition at line 141 of file Run.h.
Referenced by addToGotBranchIDs().
|
private |
Definition at line 137 of file Run.h.
Referenced by get(), getByLabel(), getByLabelImpl(), getByType(), getMany(), getManyByType(), processHistory(), put(), and runPrincipal().
|
private |
Definition at line 138 of file Run.h.
Referenced by putProducts(), and ~Run().