#include <DataViewImpl.h>
Classes | |
struct | PMValue |
Public Member Functions | |
~DataViewImpl () | |
DataViewImpl (BranchType bt, Principal const &p, ModuleContext const &mc, bool recordParents, RangeSet const &rs=RangeSet::invalid()) | |
DataViewImpl (DataViewImpl const &)=delete | |
DataViewImpl (DataViewImpl &&)=delete | |
DataViewImpl & | operator= (DataViewImpl const &)=delete |
DataViewImpl & | operator= (DataViewImpl &)=delete |
RunID | runID () const |
SubRunID | subRunID () const |
EventID | eventID () const |
RunNumber_t | run () const |
SubRunNumber_t | subRun () const |
EventNumber_t | event () const |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
Timestamp | time () const |
bool | isRealData () const |
EventAuxiliary::ExperimentType | experimentType () const |
History const & | history () const |
ProcessHistoryID const & | processHistoryID () const |
ProcessHistory const & | processHistory () const |
template<typename PROD > | |
bool | removeCachedProduct (Handle< PROD > &) const |
EDProductGetter const * | productGetter (ProductID const pid) const |
bool | getProcessParameterSet (std::string const &process, fhicl::ParameterSet &) const |
template<typename PROD > | |
PROD const & | getProduct (InputTag const &tag) const |
template<typename PROD > | |
PROD const & | getProduct (ProductToken< PROD > const &token) const |
template<typename PROD > | |
Handle< PROD > | getHandle (SelectorBase const &) const |
template<typename PROD > | |
Handle< PROD > | getHandle (ProductID const pid) const |
template<typename PROD > | |
Handle< PROD > | getHandle (InputTag const &tag) const |
template<typename PROD > | |
Handle< PROD > | getHandle (ProductToken< PROD > const &token) const |
template<typename PROD > | |
ValidHandle< PROD > | getValidHandle (InputTag const &tag) const |
template<typename PROD > | |
ValidHandle< PROD > | getValidHandle (ProductToken< PROD > const &token) const |
template<typename PROD > | |
std::vector< InputTag > | getInputTags (SelectorBase const &selector=MatchAllSelector{}) const |
template<typename PROD > | |
std::vector< ProductToken< PROD > > | getProductTokens (SelectorBase const &selector=MatchAllSelector{}) const |
template<typename PROD > | |
std::vector< Handle< PROD > > | getMany (SelectorBase const &selector=MatchAllSelector{}) const |
template<typename PROD > | |
bool | get (SelectorBase const &, Handle< PROD > &result) const |
template<typename PROD > | |
bool | get (ProductID const pid, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, std::string const &instance, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, std::string const &instance, std::string const &process, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByToken (ProductToken< PROD > const &token, Handle< PROD > &result) const |
template<typename PROD > | |
PROD const * | getPointerByLabel (InputTag const &tag) 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 |
template<typename ELEMENT > | |
std::size_t | getView (std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName, std::vector< ELEMENT const * > &result) const |
template<typename ELEMENT > | |
std::size_t | getView (std::string const &moduleLabel, std::string const &productInstanceName, std::vector< ELEMENT const * > &result) const |
template<typename ELEMENT > | |
std::size_t | getView (InputTag const &, std::vector< ELEMENT const * > &result) const |
template<typename ELEMENT > | |
std::size_t | getView (ViewToken< ELEMENT > const &, std::vector< ELEMENT const * > &result) const |
template<typename ELEMENT > | |
bool | getView (std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName, View< ELEMENT > &result) const |
template<typename ELEMENT > | |
bool | getView (std::string const &moduleLabel, std::string const &productInstanceName, View< ELEMENT > &result) const |
template<typename ELEMENT > | |
bool | getView (InputTag const &, View< ELEMENT > &result) const |
template<typename ELEMENT > | |
bool | getView (ViewToken< ELEMENT > const &, View< ELEMENT > &result) const |
template<typename T > | |
ProductID | getProductID (std::string const &instance_name="") const |
cet::exempt_ptr< BranchDescription const > | getProductDescription (ProductID) const |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance={}) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, RangeSet const &rs) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, FragmentSemantic< Level::Run > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, RangedFragmentSemantic< Level::Run > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, FullSemantic< Level::Run >) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, FragmentSemantic< Level::Run >) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, RangedFragmentSemantic< Level::Run > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, FullSemantic< Level::SubRun > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, FragmentSemantic< Level::SubRun > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, RangedFragmentSemantic< Level::SubRun > semantic) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, FullSemantic< Level::SubRun >) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, FragmentSemantic< Level::SubRun >) |
template<typename PROD > | |
ProductID | put (std::unique_ptr< PROD > &&edp, std::string const &instance, RangedFragmentSemantic< Level::SubRun > semantic) |
void | movePutProductsToPrincipal (Principal &principal) |
void | movePutProductsToPrincipal (Principal &principal, bool const checkProducts, std::map< TypeLabel, BranchDescription > const *expectedProducts) |
Private Member Functions | |
std::string const & | getProcessName_ (std::string const &) const |
BranchDescription const & | getProductDescription_ (TypeID const &type, std::string const &instance, bool const alwaysEnableLookupOfProducedProducts=false) const |
void | recordAsParent_ (cet::exempt_ptr< Group const > grp) const |
cet::exempt_ptr< Group const > | getContainerForView_ (TypeID const &, std::string const &moduleLabel, std::string const &productInstanceName, ProcessTag const &processTag) const |
Private Attributes | |
std::recursive_mutex | mutex_ {} |
BranchType const | branchType_ |
Principal const & | principal_ |
ModuleContext const & | mc_ |
ModuleDescription const & | md_ |
bool const | recordParents_ |
RangeSet | rangeSet_ {RangeSet::invalid()} |
std::set< ProductID > | retrievedProducts_ {} |
std::map< TypeLabel, PMValue > | putProducts_ {} |
Friends | |
class | detail::Analyzer |
class | detail::Filter |
class | detail::Producer |
class | ResultsProducer |
class | ProducingService |
Definition at line 64 of file DataViewImpl.h.
|
default |
|
explicit |
Definition at line 36 of file DataViewImpl.cc.
|
delete |
|
delete |
Timestamp const & art::DataViewImpl::beginTime | ( | ) | const |
Definition at line 92 of file DataViewImpl.cc.
Timestamp const & art::DataViewImpl::endTime | ( | ) | const |
Definition at line 99 of file DataViewImpl.cc.
EventNumber_t art::DataViewImpl::event | ( | ) | const |
Definition at line 85 of file DataViewImpl.cc.
EventID art::DataViewImpl::eventID | ( | ) | const |
Definition at line 64 of file DataViewImpl.cc.
EventAuxiliary::ExperimentType art::DataViewImpl::experimentType | ( | ) | const |
Definition at line 120 of file DataViewImpl.cc.
bool art::DataViewImpl::get | ( | SelectorBase const & | sel, |
Handle< PROD > & | result | ||
) | const |
Definition at line 606 of file DataViewImpl.h.
bool art::DataViewImpl::get | ( | ProductID const | pid, |
Handle< PROD > & | result | ||
) | const |
Definition at line 614 of file DataViewImpl.h.
bool art::DataViewImpl::getByLabel | ( | std::string const & | label, |
std::string const & | instance, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 633 of file DataViewImpl.h.
bool art::DataViewImpl::getByLabel | ( | std::string const & | label, |
std::string const & | instance, | ||
std::string const & | process, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 622 of file DataViewImpl.h.
bool art::DataViewImpl::getByLabel | ( | InputTag const & | tag, |
Handle< PROD > & | result | ||
) | const |
Definition at line 643 of file DataViewImpl.h.
bool art::DataViewImpl::getByToken | ( | ProductToken< PROD > const & | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 660 of file DataViewImpl.h.
|
private |
Definition at line 314 of file DataViewImpl.cc.
Handle< PROD > art::DataViewImpl::getHandle | ( | SelectorBase const & | sel | ) | const |
Definition at line 382 of file DataViewImpl.h.
Definition at line 398 of file DataViewImpl.h.
Definition at line 411 of file DataViewImpl.h.
Handle< PROD > art::DataViewImpl::getHandle | ( | ProductToken< PROD > const & | token | ) | const |
Definition at line 433 of file DataViewImpl.h.
std::vector< InputTag > art::DataViewImpl::getInputTags | ( | SelectorBase const & | selector = MatchAllSelector{} | ) | const |
Definition at line 457 of file DataViewImpl.h.
std::vector< Handle< PROD > > art::DataViewImpl::getMany | ( | SelectorBase const & | selector = MatchAllSelector{} | ) | const |
Definition at line 479 of file DataViewImpl.h.
void art::DataViewImpl::getMany | ( | SelectorBase const & | sel, |
std::vector< Handle< PROD >> & | results | ||
) | const |
Definition at line 669 of file DataViewImpl.h.
void art::DataViewImpl::getManyByType | ( | std::vector< Handle< PROD >> & | results | ) | const |
Definition at line 677 of file DataViewImpl.h.
PROD const * art::DataViewImpl::getPointerByLabel | ( | InputTag const & | tag | ) | const |
Definition at line 651 of file DataViewImpl.h.
|
private |
Definition at line 259 of file DataViewImpl.cc.
bool art::DataViewImpl::getProcessParameterSet | ( | std::string const & | process, |
fhicl::ParameterSet & | ps | ||
) | const |
Definition at line 155 of file DataViewImpl.cc.
PROD const & art::DataViewImpl::getProduct | ( | InputTag const & | tag | ) | const |
Definition at line 367 of file DataViewImpl.h.
PROD const & art::DataViewImpl::getProduct | ( | ProductToken< PROD > const & | token | ) | const |
Definition at line 374 of file DataViewImpl.h.
cet::exempt_ptr< BranchDescription const > art::DataViewImpl::getProductDescription | ( | ProductID | pid | ) | const |
Definition at line 178 of file DataViewImpl.cc.
|
private |
Definition at line 266 of file DataViewImpl.cc.
ProductID art::DataViewImpl::getProductID | ( | std::string const & | instance_name = "" | ) | const |
Definition at line 338 of file DataViewImpl.h.
std::vector< ProductToken< PROD > > art::DataViewImpl::getProductTokens | ( | SelectorBase const & | selector = MatchAllSelector{} | ) | const |
Definition at line 466 of file DataViewImpl.h.
ValidHandle< PROD > art::DataViewImpl::getValidHandle | ( | InputTag const & | tag | ) | const |
Definition at line 441 of file DataViewImpl.h.
ValidHandle< PROD > art::DataViewImpl::getValidHandle | ( | ProductToken< PROD > const & | token | ) | const |
Definition at line 450 of file DataViewImpl.h.
std::size_t art::DataViewImpl::getView | ( | std::string const & | moduleLabel, |
std::string const & | productInstanceName, | ||
std::string const & | processName, | ||
std::vector< ELEMENT const * > & | result | ||
) | const |
Definition at line 500 of file DataViewImpl.h.
std::size_t art::DataViewImpl::getView | ( | std::string const & | moduleLabel, |
std::string const & | productInstanceName, | ||
std::vector< ELEMENT const * > & | result | ||
) | const |
Definition at line 525 of file DataViewImpl.h.
std::size_t art::DataViewImpl::getView | ( | InputTag const & | tag, |
std::vector< ELEMENT const * > & | result | ||
) | const |
Definition at line 534 of file DataViewImpl.h.
std::size_t art::DataViewImpl::getView | ( | ViewToken< ELEMENT > const & | token, |
std::vector< ELEMENT const * > & | result | ||
) | const |
Definition at line 542 of file DataViewImpl.h.
bool art::DataViewImpl::getView | ( | std::string const & | moduleLabel, |
std::string const & | productInstanceName, | ||
std::string const & | processName, | ||
View< ELEMENT > & | result | ||
) | const |
Definition at line 553 of file DataViewImpl.h.
bool art::DataViewImpl::getView | ( | std::string const & | moduleLabel, |
std::string const & | productInstanceName, | ||
View< ELEMENT > & | result | ||
) | const |
Definition at line 577 of file DataViewImpl.h.
bool art::DataViewImpl::getView | ( | InputTag const & | tag, |
View< ELEMENT > & | result | ||
) | const |
Definition at line 586 of file DataViewImpl.h.
bool art::DataViewImpl::getView | ( | ViewToken< ELEMENT > const & | token, |
View< ELEMENT > & | result | ||
) | const |
Definition at line 593 of file DataViewImpl.h.
History const & art::DataViewImpl::history | ( | ) | const |
Definition at line 127 of file DataViewImpl.cc.
bool art::DataViewImpl::isRealData | ( | ) | const |
Definition at line 113 of file DataViewImpl.cc.
void art::DataViewImpl::movePutProductsToPrincipal | ( | Principal & | principal | ) |
Definition at line 237 of file DataViewImpl.cc.
void art::DataViewImpl::movePutProductsToPrincipal | ( | Principal & | principal, |
bool const | checkProducts, | ||
std::map< TypeLabel, BranchDescription > const * | expectedProducts | ||
) |
Definition at line 184 of file DataViewImpl.cc.
|
delete |
|
delete |
ProcessHistory const & art::DataViewImpl::processHistory | ( | ) | const |
Definition at line 141 of file DataViewImpl.cc.
ProcessHistoryID const & art::DataViewImpl::processHistoryID | ( | ) | const |
Definition at line 134 of file DataViewImpl.cc.
EDProductGetter const * art::DataViewImpl::productGetter | ( | ProductID const | pid | ) | const |
Definition at line 148 of file DataViewImpl.cc.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance = {} |
||
) |
Definition at line 686 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
RangeSet const & | rs | ||
) |
Definition at line 889 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
FullSemantic< Level::Run > | semantic | ||
) |
Definition at line 721 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
FragmentSemantic< Level::Run > | semantic | ||
) |
Definition at line 729 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
RangedFragmentSemantic< Level::Run > | semantic | ||
) |
Definition at line 737 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
FullSemantic< Level::Run > | |||
) |
Definition at line 745 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
FragmentSemantic< Level::Run > | |||
) |
Definition at line 754 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
RangedFragmentSemantic< Level::Run > | semantic | ||
) |
Definition at line 781 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
FullSemantic< Level::SubRun > | semantic | ||
) |
Definition at line 805 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
FragmentSemantic< Level::SubRun > | semantic | ||
) |
Definition at line 813 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
RangedFragmentSemantic< Level::SubRun > | semantic | ||
) |
Definition at line 821 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
FullSemantic< Level::SubRun > | |||
) |
Definition at line 829 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
FragmentSemantic< Level::SubRun > | |||
) |
Definition at line 838 of file DataViewImpl.h.
ProductID art::DataViewImpl::put | ( | std::unique_ptr< PROD > && | edp, |
std::string const & | instance, | ||
RangedFragmentSemantic< Level::SubRun > | semantic | ||
) |
Definition at line 865 of file DataViewImpl.h.
|
private |
Definition at line 301 of file DataViewImpl.cc.
Definition at line 927 of file DataViewImpl.h.
RunNumber_t art::DataViewImpl::run | ( | ) | const |
Definition at line 71 of file DataViewImpl.cc.
RunID art::DataViewImpl::runID | ( | ) | const |
Definition at line 50 of file DataViewImpl.cc.
SubRunNumber_t art::DataViewImpl::subRun | ( | ) | const |
Definition at line 78 of file DataViewImpl.cc.
SubRunID art::DataViewImpl::subRunID | ( | ) | const |
Definition at line 57 of file DataViewImpl.cc.
Timestamp art::DataViewImpl::time | ( | ) | const |
Definition at line 106 of file DataViewImpl.cc.
|
friend |
Definition at line 67 of file DataViewImpl.h.
|
friend |
Definition at line 68 of file DataViewImpl.h.
|
friend |
Definition at line 69 of file DataViewImpl.h.
|
friend |
Definition at line 71 of file DataViewImpl.h.
|
friend |
Definition at line 70 of file DataViewImpl.h.
|
private |
Definition at line 304 of file DataViewImpl.h.
|
private |
Definition at line 310 of file DataViewImpl.h.
|
private |
Definition at line 313 of file DataViewImpl.h.
|
mutableprivate |
Definition at line 301 of file DataViewImpl.h.
|
private |
Definition at line 307 of file DataViewImpl.h.
Definition at line 333 of file DataViewImpl.h.
|
private |
Definition at line 324 of file DataViewImpl.h.
|
private |
Definition at line 320 of file DataViewImpl.h.
|
mutableprivate |
Definition at line 329 of file DataViewImpl.h.