#include <BranchDescription.h>
Classes | |
struct | Transients |
Public Types | |
enum | MatchMode { Strict = 0, Permissive } |
Public Member Functions | |
int & | basketSize () const |
std::set< std::string > const & | branchAliases () const |
std::set< std::string > & | branchAliases () |
BranchDescription () | |
BranchDescription (BranchType const &branchType, std::string const &moduleLabel, std::string const &processName, std::string const &className, std::string const &friendlyClassName, std::string const &productInstanceName, std::string const &moduleName, ParameterSetID const ¶meterSetID, TypeID const &theTypeID, bool produced=true, std::set< std::string > const &aliases=std::set< std::string >()) | |
BranchID const & | branchID () const |
std::string & | branchName () const |
BranchType const & | branchType () const |
std::string const & | className () const |
bool & | dropped () const |
std::string const & | friendlyClassName () const |
std::string const & | fullClassName () const |
WrapperInterfaceBase const * | getInterface () const |
void | init () const |
void | initBranchName () const |
void | initFromDictionary () const |
void | initializeTransients () const |
bool | isPsetIDUnique () const |
void | merge (BranchDescription const &other) |
std::string const & | moduleLabel () const |
std::string const & | moduleName () const |
std::map < ProcessConfigurationID, std::string > & | moduleNames () const |
bool & | onDemand () const |
ParameterSetID const & | parameterSetID () const |
std::map < ProcessConfigurationID, ParameterSetID > & | parameterSetIDs () const |
bool | present () const |
std::string const & | processName () const |
bool & | produced () const |
std::string const & | productInstanceName () const |
ParameterSetID const & | psetID () const |
void | setDropped () const |
void | setOnDemand () const |
int & | splitLevel () const |
bool & | transient () const |
Reflex::Type & | type () const |
TypeID & | typeID () const |
void | updateFriendlyClassName () |
std::string & | wrappedName () const |
WrapperInterfaceBase *& | wrapperInterfaceBase () const |
void | write (std::ostream &os) const |
~BranchDescription () | |
Static Public Attributes | |
static int const | invalidBasketSize = 0 |
static int const | invalidSplitLevel = -1 |
Private Member Functions | |
void | throwIfInvalid_ () const |
Private Attributes | |
std::set< std::string > | branchAliases_ |
BranchID | branchID_ |
BranchType | branchType_ |
std::string | friendlyClassName_ |
std::string | fullClassName_ |
std::string | moduleLabel_ |
std::string | processName_ |
std::string | productInstanceName_ |
Transients | transient_ |
Definition at line 35 of file BranchDescription.h.
edm::BranchDescription::BranchDescription | ( | ) |
Definition at line 43 of file BranchDescription.cc.
edm::BranchDescription::BranchDescription | ( | BranchType const & | branchType, |
std::string const & | moduleLabel, | ||
std::string const & | processName, | ||
std::string const & | className, | ||
std::string const & | friendlyClassName, | ||
std::string const & | productInstanceName, | ||
std::string const & | moduleName, | ||
ParameterSetID const & | parameterSetID, | ||
TypeID const & | theTypeID, | ||
bool | produced = true , |
||
std::set< std::string > const & | aliases = std::set<std::string>() |
||
) |
Definition at line 56 of file BranchDescription.cc.
References dropped(), init(), moduleName(), edm::BranchDescription::Transients::moduleName_, onDemand(), parameterSetID(), edm::BranchDescription::Transients::parameterSetID_, produced(), edm::BranchDescription::Transients::produced_, transient_, and typeID().
|
inline |
Definition at line 56 of file BranchDescription.h.
|
inline |
Definition at line 86 of file BranchDescription.h.
References edm::BranchDescription::Transients::basketSize_, and transient_.
Referenced by edm::PoolOutputModule::fillSelectedItemList(), initFromDictionary(), and merge().
|
inline |
Definition at line 99 of file BranchDescription.h.
References branchAliases_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::Provenance::branchAliases(), merge(), edm::operator<(), edm::operator==(), and edm::RootOutputFile::setBranchAliases().
|
inline |
Definition at line 100 of file BranchDescription.h.
References branchAliases_.
|
inline |
Definition at line 73 of file BranchDescription.h.
References branchID_.
Referenced by edm::StreamedProduct::branchID(), edm::Provenance::branchID(), edm::PoolOutputModule::OutputItem::branchID(), edm::check(), edm::combinable(), edm::RootFile::dropOnInput(), fwlite::DataGetterHelper::getByProductID(), edm::match(), edm::operator<(), edm::DaqProvenanceHelper::saveInfo(), edm::StreamSerializer::serializeEvent(), and write().
|
inline |
Definition at line 101 of file BranchDescription.h.
References edm::BranchDescription::Transients::branchName_, and transient_.
Referenced by edm::RootTree::addBranch(), edm::Provenance::branchName(), edm::PoolOutputModule::OutputItem::branchName(), BareRootProductGetter::createNewBuffer(), FWLiteJobMetadataManager::doUpdate(), edm::RootFile::dropOnInput(), dumpInitVerbose(), edm::PoolOutputModule::fillSelectedItemList(), edm::root::FWLiteDelayedReader::getProduct_(), initBranchName(), edm::match(), edm::PoolOutputModule::OutputItem::Sorter::operator()(), psetID(), edm::RootFile::RootFile(), edm::RootOutputFile::RootOutputFile(), edm::GroupSelector::selected(), edm::RootOutputFile::setBranchAliases(), TFWLiteSelectorBasic::setupNewFile(), edm::StreamedProduct::StreamedProduct(), and updateFriendlyClassName().
|
inline |
Definition at line 102 of file BranchDescription.h.
References branchType_.
Referenced by edm::combinable(), edm::RootFile::dropOnInput(), edm::match(), edm::operator<(), edm::RootFile::RootFile(), edm::OutputModule::selectProducts(), TFWLiteSelectorBasic::setupNewFile(), and write().
|
inline |
Definition at line 75 of file BranchDescription.h.
References fullClassName().
Referenced by edm::SignallingProductRegistry::addCalled(), edm::Provenance::className(), BareRootProductGetter::createNewBuffer(), edm::root::FWLiteDelayedReader::getProduct_(), edm::RootFile::RootFile(), TFWLiteSelectorBasic::setupNewFile(), and edm::HiMixingModule::verifyRegistry().
|
inline |
Definition at line 80 of file BranchDescription.h.
References edm::BranchDescription::Transients::dropped_, and transient_.
Referenced by BranchDescription(), edm::match(), edm::operator==(), and setDropped().
|
inline |
Definition at line 76 of file BranchDescription.h.
References friendlyClassName_.
Referenced by edm::GroupSelectorRules::Rule::appliesTo(), EcalTrigPrimProducer::beginJob(), edm::combinable(), edm::Provenance::friendlyClassName(), initBranchName(), edm::operator<(), edm::RootFile::RootFile(), TFWLiteSelectorBasic::setupNewFile(), and write().
|
inline |
Definition at line 74 of file BranchDescription.h.
References fullClassName_.
Referenced by edm::PoolOutputModule::beginJob(), className(), edm::combinable(), FWFFMetadataManager::doUpdate(), FWLiteJobMetadataManager::doUpdate(), fwlite::DataGetterHelper::getByProductID(), initFromDictionary(), edm::match(), edm::operator<(), edm::RootOutputFile::RootOutputFile(), edm::StreamedProduct::setNewClassType(), updateFriendlyClassName(), and write().
WrapperInterfaceBase const * edm::BranchDescription::getInterface | ( | ) | const |
Definition at line 346 of file BranchDescription.cc.
References wrappedName(), and wrapperInterfaceBase().
Referenced by BareRootProductGetter::createNewBuffer(), edm::RootFile::dropOnInput(), edm::ProductData::getInterface(), edm::root::FWLiteDelayedReader::getProduct_(), and edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 58 of file BranchDescription.h.
References initBranchName(), and initFromDictionary().
Referenced by edm::RootTree::addBranch(), BranchDescription(), edm::ProductRegistry::copyProduct(), dumpInitVerbose(), edm::RootFile::RootFile(), edm::RootOutputFile::RootOutputFile(), edm::RootTree::setPresence(), TFWLiteSelectorBasic::setupNewFile(), and edm::StreamedProduct::StreamedProduct().
void edm::BranchDescription::initBranchName | ( | ) | const |
Definition at line 87 of file BranchDescription.cc.
References branchID_, branchName(), relativeConstraints::empty, edm::hlt::Exception, friendlyClassName(), friendlyClassName_, edm::BranchID::isValid(), moduleLabel(), moduleLabel_, processName(), processName_, productInstanceName(), productInstanceName_, edm::BranchID::setID(), findQualityFiles::size, and throwIfInvalid_().
Referenced by init(), and updateFriendlyClassName().
void edm::BranchDescription::initFromDictionary | ( | ) | const |
Definition at line 135 of file BranchDescription.cc.
References basketSize(), edm::hlt::Exception, fullClassName(), invalidBasketSize, invalidSplitLevel, splitLevel(), lumiQTWidget::t, throwIfInvalid_(), type(), typeID(), edm::wrappedClassName(), and wrappedName().
Referenced by init().
|
inline |
Definition at line 111 of file BranchDescription.h.
References edm::BranchDescription::Transients::reset(), and transient_.
|
inline |
Definition at line 98 of file BranchDescription.h.
References parameterSetIDs().
void edm::BranchDescription::merge | ( | BranchDescription const & | other | ) |
Definition at line 201 of file BranchDescription.cc.
References basketSize(), branchAliases(), branchAliases_, invalidBasketSize, invalidSplitLevel, moduleNames(), parameterSetIDs(), and splitLevel().
|
inline |
Definition at line 71 of file BranchDescription.h.
References moduleLabel_.
Referenced by edm::SignallingProductRegistry::addCalled(), edm::GroupSelectorRules::Rule::appliesTo(), EcalTrigPrimProducer::beginJob(), edm::combinable(), FWFFMetadataManager::doUpdate(), FWLiteJobMetadataManager::doUpdate(), edm::fillProductRegistryTransients(), fwlite::DataGetterHelper::getByProductID(), initBranchName(), edm::Provenance::moduleLabel(), edm::operator<(), edm::RootOutputFile::RootOutputFile(), edm::RootOutputFile::setBranchAliases(), edm::HiMixingModule::verifyRegistry(), and write().
|
inline |
Definition at line 89 of file BranchDescription.h.
References edm::BranchDescription::Transients::moduleName_, and transient_.
Referenced by BranchDescription(), and edm::Provenance::moduleName().
|
inline |
Definition at line 94 of file BranchDescription.h.
References edm::BranchDescription::Transients::moduleNames_, and transient_.
Referenced by edm::fillProductRegistryTransients(), merge(), edm::Provenance::moduleNames(), edm::operator<(), and edm::operator==().
|
inline |
Definition at line 81 of file BranchDescription.h.
References edm::BranchDescription::Transients::onDemand_, and transient_.
Referenced by BranchDescription(), and setOnDemand().
|
inline |
Definition at line 88 of file BranchDescription.h.
References edm::BranchDescription::Transients::parameterSetID_, and transient_.
Referenced by BranchDescription(), edm::Provenance::psetID(), and throwIfInvalid_().
|
inline |
Definition at line 91 of file BranchDescription.h.
References edm::BranchDescription::Transients::parameterSetIDs_, and transient_.
Referenced by edm::fillProductRegistryTransients(), isPsetIDUnique(), edm::match(), merge(), edm::operator<(), edm::operator==(), edm::Provenance::parameterSetIDs(), and psetID().
|
inline |
Definition at line 79 of file BranchDescription.h.
References edm::BranchDescription::Transients::dropped_, and transient_.
Referenced by edm::RootTree::addBranch(), FWFFMetadataManager::doUpdate(), FWLiteJobMetadataManager::doUpdate(), edm::operator<(), and edm::OutputModule::selectProducts().
|
inline |
Definition at line 72 of file BranchDescription.h.
References processName_.
Referenced by edm::ProductRegistry::addProduct(), edm::GroupSelectorRules::Rule::appliesTo(), edm::combinable(), FWFFMetadataManager::doUpdate(), FWLiteJobMetadataManager::doUpdate(), edm::fillProductRegistryTransients(), fwlite::DataGetterHelper::getByProductID(), initBranchName(), edm::operator<(), edm::Provenance::processName(), edm::RootOutputFile::RootOutputFile(), edm::DaqProvenanceHelper::saveInfo(), and write().
|
inline |
Definition at line 78 of file BranchDescription.h.
References edm::BranchDescription::Transients::produced_, and transient_.
Referenced by edm::ProductRegistry::addProduct(), BranchDescription(), edm::ProductRegistry::copyProduct(), edm::PoolOutputModule::fillSelectedItemList(), edm::OutputModule::selectProducts(), and throwIfInvalid_().
|
inline |
Definition at line 77 of file BranchDescription.h.
References productInstanceName_.
Referenced by edm::SignallingProductRegistry::addCalled(), edm::GroupSelectorRules::Rule::appliesTo(), edm::combinable(), FWFFMetadataManager::doUpdate(), FWLiteJobMetadataManager::doUpdate(), fwlite::DataGetterHelper::getByProductID(), initBranchName(), edm::operator<(), edm::Provenance::productInstanceName(), edm::RootOutputFile::RootOutputFile(), edm::RootOutputFile::setBranchAliases(), edm::HiMixingModule::verifyRegistry(), and write().
ParameterSetID const & edm::BranchDescription::psetID | ( | ) | const |
Definition at line 189 of file BranchDescription.cc.
References branchName(), relativeConstraints::empty, edm::hlt::Exception, parameterSetIDs(), and findQualityFiles::size.
Referenced by EcalTrigPrimProducer::beginJob().
|
inline |
Definition at line 107 of file BranchDescription.h.
References dropped().
Referenced by edm::RootTree::setPresence(), and TFWLiteSelectorBasic::setupNewFile().
|
inline |
|
inline |
Definition at line 85 of file BranchDescription.h.
References edm::BranchDescription::Transients::splitLevel_, and transient_.
Referenced by edm::PoolOutputModule::fillSelectedItemList(), initFromDictionary(), and merge().
|
private |
Definition at line 229 of file BranchDescription.cc.
References branchType_, friendlyClassName_, fullClassName_, edm::Hash< I >::isValid(), moduleLabel_, edm::NumBranchTypes, parameterSetID(), processName_, produced(), and edm::throwExceptionWithText().
Referenced by initBranchName(), and initFromDictionary().
|
inline |
Definition at line 82 of file BranchDescription.h.
References edm::BranchDescription::Transients::transient_, and transient_.
Referenced by edm::OutputModule::selectProducts().
|
inline |
Definition at line 83 of file BranchDescription.h.
References transient_, and edm::BranchDescription::Transients::type_.
Referenced by initFromDictionary(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
inline |
Definition at line 84 of file BranchDescription.h.
References transient_, and edm::BranchDescription::Transients::typeID_.
Referenced by BranchDescription(), and initFromDictionary().
void edm::BranchDescription::updateFriendlyClassName | ( | ) |
Definition at line 250 of file BranchDescription.cc.
References branchName(), friendlyClassName_, edm::friendlyname::friendlyName(), fullClassName(), and initBranchName().
Referenced by edm::RootFile::RootFile(), and TFWLiteSelectorBasic::setupNewFile().
|
inline |
Definition at line 103 of file BranchDescription.h.
References transient_, and edm::BranchDescription::Transients::wrappedName_.
Referenced by edm::RootFile::dropOnInput(), getInterface(), initFromDictionary(), and edm::RootOutputFile::RootOutputFile().
|
inline |
Definition at line 104 of file BranchDescription.h.
References transient_, and edm::BranchDescription::Transients::wrapperInterfaceBase_.
Referenced by getInterface().
void edm::BranchDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 210 of file BranchDescription.cc.
References branchID(), branchType(), friendlyClassName(), fullClassName(), moduleLabel(), processName(), and productInstanceName().
Referenced by edm::operator<<(), and edm::Provenance::write().
|
private |
Definition at line 204 of file BranchDescription.h.
Referenced by branchAliases(), and merge().
|
mutableprivate |
Definition at line 191 of file BranchDescription.h.
Referenced by branchID(), and initBranchName().
|
private |
Definition at line 181 of file BranchDescription.h.
Referenced by branchType(), and throwIfInvalid_().
|
private |
Definition at line 197 of file BranchDescription.h.
Referenced by friendlyClassName(), initBranchName(), throwIfInvalid_(), and updateFriendlyClassName().
|
private |
Definition at line 194 of file BranchDescription.h.
Referenced by fullClassName(), and throwIfInvalid_().
|
static |
Definition at line 38 of file BranchDescription.h.
Referenced by edm::RootOutputTree::addBranch(), edm::PoolOutputModule::fillSelectedItemList(), initFromDictionary(), and merge().
|
static |
Definition at line 37 of file BranchDescription.h.
Referenced by edm::RootOutputTree::addBranch(), edm::PoolOutputModule::fillSelectedItemList(), initFromDictionary(), and merge().
|
private |
Definition at line 185 of file BranchDescription.h.
Referenced by initBranchName(), Mixins._TypedParameterizable::insertInto(), moduleLabel(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and throwIfInvalid_().
|
private |
Definition at line 188 of file BranchDescription.h.
Referenced by initBranchName(), processName(), and throwIfInvalid_().
|
private |
Definition at line 201 of file BranchDescription.h.
Referenced by initBranchName(), and productInstanceName().
|
mutableprivate |
Definition at line 206 of file BranchDescription.h.
Referenced by basketSize(), BranchDescription(), branchName(), dropped(), initializeTransients(), moduleName(), moduleNames(), onDemand(), parameterSetID(), parameterSetIDs(), present(), produced(), splitLevel(), transient(), type(), typeID(), wrappedName(), and wrapperInterfaceBase().