LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "BranchDescription.h"
Classes | |
struct | Transients |
Public Member Functions | |
BranchDescription ()=default | |
BranchDescription (BranchType const bt, TypeLabel const &tl, ModuleDescription const &modDesc) | |
void | write (std::ostream &os) const |
std::string const & | moduleLabel () const |
std::string const & | processName () const |
std::string const & | producedClassName () const |
std::string const & | friendlyClassName () const |
std::string const & | productInstanceName () const |
InputTag | inputTag () const |
bool | produced () const |
bool | present () const |
bool | dropped () const |
bool | transient () const |
int | splitLevel () const |
int | basketSize () const |
int | compression () const |
std::set< fhicl::ParameterSetID > const & | psetIDs () const |
ProductID | productID () const |
BranchType | branchType () const |
bool | supportsView () const |
std::string const & | branchName () const |
std::string const & | wrappedName () const |
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 | |
bool | transientsFluffed_ () const |
void | initProductID_ () |
void | fluffTransients_ () const |
fhicl::ParameterSetID const & | psetID () const |
bool | isPsetIDUnique () const |
std::set< ProcessConfigurationID > const & | processConfigurationIDs () const |
Transients & | guts () |
Transients const & | guts () const |
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 52 of file BranchDescription.h.
|
default |
art::BranchDescription::BranchDescription | ( | BranchType const | bt, |
TypeLabel const & | tl, | ||
ModuleDescription const & | modDesc | ||
) |
Definition at line 31 of file BranchDescription.cc.
References fluffTransients_(), friendlyClassName_, guts(), initProductID_(), moduleLabel_, processConfigurationIDs_, processName_, art::BranchDescription::Transients::Produced, producedClassName_, productInstanceName_, psetIDs_, supportsView_, throwIfInvalid_(), art::BranchDescription::Transients::transient_, and art::BranchDescription::Transients::validity_.
|
inline |
Definition at line 127 of file BranchDescription.h.
Referenced by art::RootOutputTree::addOutputBranch().
|
inline |
Definition at line 159 of file BranchDescription.h.
Referenced by art::RootInputTree::addBranch(), art::RootOutputTree::addOutputBranch(), art::Provenance::branchName(), art::RootOutputTree::resetOutputBranchAddress(), and art::RootOutputTree::setOutputBranchAddress().
|
inline |
Definition at line 149 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::combinable(), art::OutputModule::doSelectProducts(), art::operator<(), and art::EventPrincipal::throwIfExistingGroup().
|
inline |
Definition at line 132 of file BranchDescription.h.
Referenced by art::RootOutputTree::addOutputBranch().
|
inline |
Definition at line 111 of file BranchDescription.h.
Referenced by art::OutputModule::doSelectProducts().
|
private |
Definition at line 64 of file BranchDescription.cc.
References art::canonicalProductName(), friendlyClassName(), moduleLabel(), processName(), producedClassName_, productInstanceName(), transients_, transientsFluffed_(), and art::wrappedClassName().
Referenced by BranchDescription().
|
inline |
Definition at line 84 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::BranchKey::BranchKey(), art::combinable(), art::Principal::fillGroup(), fluffTransients_(), art::Provenance::friendlyClassName(), art::operator<(), art::EventPrincipal::throwIfExistingGroup(), throwIfInvalid_(), and write().
|
inlineprivate |
Definition at line 243 of file BranchDescription.h.
Referenced by BranchDescription(), initProductID_(), merge(), and psetID().
|
inlineprivate |
Definition at line 248 of file BranchDescription.h.
|
private |
Definition at line 53 of file BranchDescription.cc.
References guts(), art::ProductID::isValid(), productID_, art::ProductID::setID(), and transientsFluffed_().
Referenced by BranchDescription().
|
inline |
Definition at line 95 of file BranchDescription.h.
Referenced by art::Provenance::inputTag().
|
inlineprivate |
Definition at line 232 of file BranchDescription.h.
void art::BranchDescription::merge | ( | BranchDescription const & | other | ) |
Definition at line 90 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_.
|
inline |
Definition at line 69 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::combinable(), art::ModuleLabelSelector::doMatch(), art::Principal::fillGroup(), fluffTransients_(), art::Provenance::moduleLabel(), art::operator<(), art::EventPrincipal::throwIfExistingGroup(), throwIfInvalid_(), and write().
|
inline |
Definition at line 106 of file BranchDescription.h.
Referenced by art::RootInputTree::addBranch().
|
inlineprivate |
Definition at line 237 of file BranchDescription.h.
Referenced by merge(), art::operator<(), and art::operator==().
|
inline |
Definition at line 74 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::combinable(), art::ProcessNameSelector::doMatch(), art::Principal::fillGroup(), fluffTransients_(), art::operator<(), art::Provenance::processName(), art::EventPrincipal::throwIfExistingGroup(), throwIfInvalid_(), and write().
|
inline |
Definition at line 101 of file BranchDescription.h.
Referenced by art::RootOutputTree::addOutputBranch(), and art::Provenance::produced().
|
inline |
Definition at line 79 of file BranchDescription.h.
Referenced by art::checkDictionaries(), art::combinable(), art::Principal::fillGroup(), art::operator<(), art::Provenance::producedClassName(), and write().
|
inline |
Definition at line 144 of file BranchDescription.h.
Referenced by art::combinable(), art::ResultsPrincipal::fillGroup(), art::RunPrincipal::fillGroup(), art::SubRunPrincipal::fillGroup(), art::EventPrincipal::fillGroup(), art::Principal::fillGroup(), art::operator<(), art::ResultsPrincipal::put(), art::RunPrincipal::put(), art::SubRunPrincipal::put(), art::EventPrincipal::put(), art::rangeSetFor(), art::EventPrincipal::throwIfExistingGroup(), and write().
|
inline |
Definition at line 89 of file BranchDescription.h.
Referenced by art::GroupSelectorRules::Rule::appliesTo(), art::combinable(), art::ProductInstanceNameSelector::doMatch(), fluffTransients_(), art::operator<(), art::Provenance::productInstanceName(), art::EventPrincipal::throwIfExistingGroup(), throwIfInvalid_(), and write().
|
private |
Definition at line 75 of file BranchDescription.cc.
References art::BranchDescription::Transients::branchName_, art::errors::Configuration, guts(), and psetIDs().
|
inline |
Definition at line 138 of file BranchDescription.h.
Referenced by merge(), art::operator<(), art::operator==(), psetID(), and art::Provenance::psetIDs().
|
inline |
Definition at line 214 of file BranchDescription.h.
|
inline |
Definition at line 122 of file BranchDescription.h.
Referenced by art::RootOutputTree::addOutputBranch().
|
inline |
Definition at line 154 of file BranchDescription.h.
void art::BranchDescription::swap | ( | BranchDescription & | other | ) |
Definition at line 121 of file BranchDescription.cc.
References branchType_, friendlyClassName_, moduleLabel_, processConfigurationIDs_, processName_, producedClassName_, productID_, productInstanceName_, psetIDs_, supportsView_, and transients_.
|
private |
Definition at line 138 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().
|
inline |
Definition at line 116 of file BranchDescription.h.
Referenced by art::checkDictionaries(), art::OutputModule::doSelectProducts(), and art::DataViewImpl::recordAsParent().
|
inlineprivate |
Definition at line 223 of file BranchDescription.h.
Referenced by fluffTransients_(), initProductID_(), and throwIfInvalid_().
|
inline |
Definition at line 164 of file BranchDescription.h.
References art::combinable(), art::operator<(), art::operator==(), fhicl::other, and art::swap().
Referenced by art::RootOutputTree::addOutputBranch(), and art::checkDictionaries().
void art::BranchDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 109 of file BranchDescription.cc.
References branchType_, friendlyClassName(), moduleLabel(), processName(), producedClassName(), productID(), and productInstanceName().
Referenced by art::operator<<(), and art::Provenance::write().
|
friend |
|
friend |
Definition at line 220 of file BranchDescription.h.
|
friend |
Definition at line 186 of file BranchDescription.cc.
|
friend |
Definition at line 258 of file BranchDescription.cc.
|
private |
Definition at line 256 of file BranchDescription.h.
Referenced by swap(), throwIfInvalid_(), and write().
|
private |
Definition at line 272 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
static |
Definition at line 55 of file BranchDescription.h.
Referenced by merge().
|
static |
Definition at line 56 of file BranchDescription.h.
Referenced by merge().
|
static |
Definition at line 54 of file BranchDescription.h.
Referenced by merge().
|
private |
Definition at line 260 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 287 of file BranchDescription.h.
Referenced by BranchDescription(), merge(), and swap().
|
private |
Definition at line 263 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 269 of file BranchDescription.h.
Referenced by BranchDescription(), fluffTransients_(), swap(), and throwIfInvalid_().
|
private |
Definition at line 266 of file BranchDescription.h.
Referenced by initProductID_(), and swap().
|
private |
Definition at line 276 of file BranchDescription.h.
Referenced by BranchDescription(), swap(), and throwIfInvalid_().
|
private |
Definition at line 283 of file BranchDescription.h.
Referenced by BranchDescription(), merge(), and swap().
|
private |
Definition at line 279 of file BranchDescription.h.
Referenced by BranchDescription(), and swap().
|
mutableprivate |
Definition at line 289 of file BranchDescription.h.
Referenced by fluffTransients_(), and swap().