LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "BranchDescription.h"
Classes | |
struct | Transients |
Public Member Functions | |
BranchDescription () | |
BranchDescription (BranchDescription const &) | |
BranchDescription (BranchDescription &&) | |
BranchDescription & | operator= (BranchDescription const &) |
BranchDescription & | operator= (BranchDescription &&) |
~BranchDescription () | |
BranchDescription (BranchType const bt, TypeLabel const &tl, std::string const &moduleLabel, fhicl::ParameterSetID const &modulePSetID, ProcessConfiguration const &processConfig) | |
BranchDescription (BranchType bt, std::string const &moduleLabel, std::string const &processName, std::string const &producedClassName, std::string const &productInstanceName, fhicl::ParameterSetID const &psetID, ProcessConfigurationID const &processConfigurationID, Transients::validity_state validity, bool supportsView, bool transient) | |
void | write (std::ostream &os) const |
std::string const & | moduleLabel () const noexcept |
std::string const & | processName () const noexcept |
std::string const & | producedClassName () const noexcept |
std::string const & | friendlyClassName () const noexcept |
std::string const & | productInstanceName () const noexcept |
InputTag | inputTag () const |
bool | produced () const noexcept |
bool | present () const noexcept |
bool | dropped () const noexcept |
bool | transient () const noexcept |
int | splitLevel () const noexcept |
int | basketSize () const noexcept |
int | compression () const noexcept |
std::set< fhicl::ParameterSetID > const & | psetIDs () const noexcept |
ProductID | productID () const noexcept |
BranchType | branchType () const noexcept |
bool | supportsView () const noexcept |
std::string const & | branchName () const noexcept |
std::string const & | wrappedName () const noexcept |
void | merge (BranchDescription const &other) |
void | swap (BranchDescription &other) |
void | setValidity (Transients::validity_state const state) |
Static Public Attributes | |
static int constexpr | invalidSplitLevel {-1} |
static int constexpr | invalidBasketSize {0} |
static int constexpr | invalidCompression {-1} |
Private Member Functions | |
fhicl::ParameterSetID const & | psetID () const |
void | initProductID_ () |
void | fluffTransients_ () const |
bool | transientsFluffed_ () const noexcept |
bool | isPsetIDUnique () const noexcept |
std::set< ProcessConfigurationID > const & | processConfigurationIDs () const noexcept |
Transients & | guts () noexcept |
Transients const & | guts () const noexcept |
void | throwIfInvalid_ () const |
Private Attributes | |
BranchType | branchType_ {InEvent} |
std::string | moduleLabel_ {} |
std::string | processName_ {} |
ProductID | productID_ {} |
std::string | producedClassName_ {} |
std::string | friendlyClassName_ {} |
std::string | productInstanceName_ {} |
bool | supportsView_ {false} |
std::set< fhicl::ParameterSetID > | psetIDs_ {} |
std::set< ProcessConfigurationID > | processConfigurationIDs_ {} |
Transient< Transients > | transients_ {} |
Friends | |
class | detail::BranchDescriptionStreamer |
bool | combinable (BranchDescription const &, BranchDescription const &) |
bool | operator< (BranchDescription const &, BranchDescription const &) |
bool | operator== (BranchDescription const &, BranchDescription const &) |
Definition at line 41 of file BranchDescription.h.
|
default |
|
default |
|
default |
|
default |
art::BranchDescription::BranchDescription | ( | BranchType const | bt, |
TypeLabel const & | tl, | ||
std::string const & | moduleLabel, | ||
fhicl::ParameterSetID const & | modulePSetID, | ||
ProcessConfiguration const & | processConfig | ||
) |
Definition at line 42 of file BranchDescription.cc.
References art::TypeLabel::className(), art::TypeLabel::emulatedModule(), art::TypeLabel::hasEmulatedModule(), art::ProcessConfiguration::id(), moduleLabel(), art::BranchDescription::Transients::PresentFromSource, art::ProcessConfiguration::processName(), art::BranchDescription::Transients::Produced, art::TypeLabel::productInstanceName(), art::TypeLabel::supportsView(), and art::TypeLabel::transient().
art::BranchDescription::BranchDescription | ( | BranchType | bt, |
std::string const & | moduleLabel, | ||
std::string const & | processName, | ||
std::string const & | producedClassName, | ||
std::string const & | productInstanceName, | ||
fhicl::ParameterSetID const & | psetID, | ||
ProcessConfigurationID const & | processConfigurationID, | ||
Transients::validity_state | validity, | ||
bool | supportsView, | ||
bool | transient | ||
) |
Definition at line 62 of file BranchDescription.cc.
References fluffTransients_(), friendlyClassName_, art::friendlyname::friendlyName(), guts(), initProductID_(), moduleLabel(), moduleLabel_, processConfigurationIDs_, processName(), processName_, producedClassName(), producedClassName_, productInstanceName(), productInstanceName_, psetID(), psetIDs_, supportsView(), supportsView_, throwIfInvalid_(), art::BranchDescription::Transients::transient_, and art::BranchDescription::Transients::validity_.
|
inlinenoexcept |
Definition at line 176 of file BranchDescription.h.
|
inlinenoexcept |
Definition at line 208 of file BranchDescription.h.
Referenced by art::Principal::put().
|
inlinenoexcept |
Definition at line 198 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::combinable(), art::operator<(), art::Group::productAvailable(), and art::OutputModule::selected().
|
inlinenoexcept |
Definition at line 181 of file BranchDescription.h.
|
inlinenoexcept |
Definition at line 160 of file BranchDescription.h.
Referenced by art::Group::productAvailable().
|
private |
Definition at line 102 of file BranchDescription.cc.
References art::canonicalProductName(), friendlyClassName(), moduleLabel(), processName(), producedClassName_, productInstanceName(), transients_, transientsFluffed_(), and art::wrappedClassName().
Referenced by BranchDescription().
|
inlinenoexcept |
Definition at line 134 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::BranchKey::BranchKey(), art::combinable(), fluffTransients_(), art::operator<(), throwIfInvalid_(), and write().
|
privatenoexcept |
Definition at line 243 of file BranchDescription.cc.
References transients_.
Referenced by BranchDescription(), initProductID_(), merge(), psetID(), and transientsFluffed_().
|
privatenoexcept |
Definition at line 249 of file BranchDescription.cc.
References transients_.
|
private |
Definition at line 91 of file BranchDescription.cc.
References guts(), art::ProductID::isValid(), productID_, art::ProductID::setID(), and transientsFluffed_().
Referenced by BranchDescription().
|
inline |
Definition at line 144 of file BranchDescription.h.
|
privatenoexcept |
Definition at line 231 of file BranchDescription.cc.
References psetIDs().
void art::BranchDescription::merge | ( | BranchDescription const & | other | ) |
Definition at line 128 of file BranchDescription.cc.
References art::BranchDescription::Transients::basketSize_, art::BranchDescription::Transients::compression_, guts(), invalidBasketSize, invalidCompression, invalidSplitLevel, processConfigurationIDs(), processConfigurationIDs_, psetIDs(), psetIDs_, and art::BranchDescription::Transients::splitLevel_.
|
inlinenoexcept |
Definition at line 119 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), BranchDescription(), art::combinable(), art::ModuleLabelSelector::doMatch(), art::InputTagListSelector::doMatch(), fluffTransients_(), art::operator<(), throwIfInvalid_(), and write().
|
default |
|
default |
|
inlinenoexcept |
Definition at line 155 of file BranchDescription.h.
Referenced by art::Group::productAvailable().
|
privatenoexcept |
Definition at line 237 of file BranchDescription.cc.
References processConfigurationIDs_.
Referenced by merge(), art::operator<(), and art::operator==().
|
inlinenoexcept |
Definition at line 124 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), BranchDescription(), art::combinable(), art::ProcessNameSelector::doMatch(), art::InputTagListSelector::doMatch(), art::Principal::fillGroup(), fluffTransients_(), art::operator<(), throwIfInvalid_(), and write().
|
inlinenoexcept |
Definition at line 150 of file BranchDescription.h.
Referenced by art::Provenance::produced(), art::Group::productAvailable(), art::Group::removeCachedProduct(), and art::Group::resolveProductIfAvailable().
|
inlinenoexcept |
Definition at line 129 of file BranchDescription.h.
Referenced by BranchDescription(), art::combinable(), art::operator<(), and write().
|
inlinenoexcept |
Definition at line 193 of file BranchDescription.h.
Referenced by art::combinable(), art::Principal::fillGroup(), art::operator<(), art::Group::productAvailable(), art::Group::productID(), art::Principal::put(), art::Group::resolveProductIfAvailable(), and write().
|
inlinenoexcept |
Definition at line 139 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), BranchDescription(), art::combinable(), art::ProductInstanceNameSelector::doMatch(), art::InputTagListSelector::doMatch(), fluffTransients_(), art::operator<(), throwIfInvalid_(), and write().
|
private |
Definition at line 113 of file BranchDescription.cc.
References art::BranchDescription::Transients::branchName_, art::errors::Configuration, util::empty(), guts(), psetIDs(), and util::size().
Referenced by BranchDescription().
|
inlinenoexcept |
Definition at line 187 of file BranchDescription.h.
Referenced by isPsetIDUnique(), merge(), art::operator<(), art::operator==(), and psetID().
|
inline |
Definition at line 222 of file BranchDescription.h.
|
inlinenoexcept |
Definition at line 171 of file BranchDescription.h.
|
inlinenoexcept |
void art::BranchDescription::swap | ( | BranchDescription & | other | ) |
Definition at line 159 of file BranchDescription.cc.
References branchType_, friendlyClassName_, moduleLabel_, processConfigurationIDs_, processName_, producedClassName_, productID_, productInstanceName_, psetIDs_, supportsView_, std::swap(), and transients_.
|
private |
Definition at line 177 of file BranchDescription.cc.
References branchType_, art::errors::Configuration, friendlyClassName(), friendlyClassName_, art::errors::LogicError, moduleLabel(), moduleLabel_, art::NumBranchTypes, processName(), processName_, producedClassName_, productInstanceName(), productInstanceName_, and transientsFluffed_().
Referenced by BranchDescription().
|
inlinenoexcept |
Definition at line 165 of file BranchDescription.h.
|
privatenoexcept |
Definition at line 225 of file BranchDescription.cc.
References art::BranchDescription::Transients::branchName_, and guts().
Referenced by fluffTransients_(), initProductID_(), and throwIfInvalid_().
|
inlinenoexcept |
Definition at line 213 of file BranchDescription.h.
References fhicl::other, and art::swap().
void art::BranchDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 147 of file BranchDescription.cc.
References branchType_, friendlyClassName(), moduleLabel(), processName(), producedClassName(), productID(), and productInstanceName().
Referenced by art::operator<<().
|
friend |
|
friend |
Definition at line 47 of file BranchDescription.h.
|
friend |
Definition at line 255 of file BranchDescription.cc.
|
friend |
Definition at line 327 of file BranchDescription.cc.
|
private |
Definition at line 244 of file BranchDescription.h.
Referenced by swap(), throwIfInvalid_(), and write().
|
private |
Definition at line 260 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
static |
Definition at line 51 of file BranchDescription.h.
Referenced by merge().
|
static |
Definition at line 52 of file BranchDescription.h.
Referenced by merge().
|
static |
Definition at line 50 of file BranchDescription.h.
Referenced by merge().
|
private |
Definition at line 248 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 275 of file BranchDescription.h.
Referenced by BranchDescription(), merge(), processConfigurationIDs(), and swap().
|
private |
Definition at line 251 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 257 of file BranchDescription.h.
Referenced by BranchDescription(), fluffTransients_(), swap(), and throwIfInvalid_().
|
private |
Definition at line 254 of file BranchDescription.h.
Referenced by initProductID_(), and swap().
|
private |
Definition at line 264 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 271 of file BranchDescription.h.
Referenced by BranchDescription(), merge(), and swap().
|
private |
Definition at line 267 of file BranchDescription.h.
Referenced by BranchDescription(), and swap().
|
mutableprivate |
Definition at line 278 of file BranchDescription.h.
Referenced by fluffTransients_(), guts(), and swap().