#include "ConsumesInfo.h"
Definition at line 88 of file ConsumesInfo.h.
| art::ConsumesInfo::~ConsumesInfo |
( |
| ) |
|
|
default |
| art::ConsumesInfo::ConsumesInfo |
( |
| ) |
|
|
private |
Definition at line 34 of file ConsumesInfo.cc.
References art::BranchTypeToString(), and art::InEvent.
39 switch (
pi.consumableType) {
44 result +=
"consumesView";
47 result +=
"consumesMany";
52 result +=
pi.typeID.className();
71 if (!
pi.process.name().empty()) {
73 result +=
pi.instance;
75 result +=
pi.process.name();
76 }
else if (!
pi.instance.empty()) {
78 result +=
pi.instance;
std::string const & BranchTypeToString(BranchType const bt)
constexpr T pi()
Returns the constant pi (up to 35 decimal digits of precision)
| void art::ConsumesInfo::collectConsumes |
( |
std::string const & |
module_label, |
|
|
consumables_t::mapped_type const & |
consumables |
|
) |
| |
| consumables_t::mapped_type const& art::ConsumesInfo::consumables |
( |
std::string const & |
module_label | ) |
const |
|
inline |
| void art::ConsumesInfo::setRequireConsumes |
( |
bool const |
val | ) |
|
| void art::ConsumesInfo::showMissingConsumes |
( |
| ) |
const |
Definition at line 134 of file ConsumesInfo.cc.
References util::pi().
Referenced by consumables(), and art::EventProcessor::endJob().
136 std::lock_guard sentry{
mutex_};
138 constexpr cet::HorizontalRule rule{60};
142 <<
"The following consumes (or mayConsume) statements are missing " 144 <<
"module label: " << modLabel <<
'\n' 145 << rule(
'-') <<
'\n';
147 for (
auto const& setPI : arySetPI) {
148 for (
auto const&
pi : setPI) {
std::map< std::string const, std::array< std::set< ProductInfo >, NumBranchTypes > > missingConsumes_
std::recursive_mutex mutex_
static std::string assemble_consumes_statement(BranchType const, ProductInfo const &)
constexpr T pi()
Returns the constant pi (up to 35 decimal digits of precision)
| std::recursive_mutex art::ConsumesInfo::mutex_ {} |
|
mutableprivate |
| std::atomic<bool> art::ConsumesInfo::requireConsumes_ |
|
private |
The documentation for this class was generated from the following files: