![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SourceHelper.h"
Private Member Functions | |
| template<typename T > | |
| T * | makePrincipal_ (typename T::Auxiliary aux) const |
| void | throwIfProductsNotRegistered_ () const |
| ProcessHistoryID | updatedProcessHistoryID_ (ProcessHistoryID const &, BranchType, ProcessConfiguration const &) const |
| void | setPresentProducts (cet::exempt_ptr< ProductTables const > presentProducts) |
Private Attributes | |
| cet::exempt_ptr< ProductTables const > | presentProducts_ {nullptr} |
| ModuleDescription | md_ |
Friends | |
| template<typename T > | |
| class | Source |
Definition at line 30 of file SourceHelper.h.
|
explicit |
Definition at line 15 of file SourceHelper.cc.
|
delete |
|
delete |
| art::EventPrincipal * art::SourceHelper::makeEventPrincipal | ( | EventAuxiliary | eventAux | ) | const |
Definition at line 132 of file SourceHelper.cc.
Referenced by makeEventPrincipal(), fluxr::PPFXFluxReader::readNext(), lris::LArRawInputDriverJP250L::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriverShortBo::readNext(), and lris::LArRawInputDriver::readNext().
| art::EventPrincipal * art::SourceHelper::makeEventPrincipal | ( | EventID const & | e, |
| Timestamp const & | startTime, | ||
| bool | isRealData = true, |
||
| EventAuxiliary::ExperimentType | eType = EventAuxiliary::Data |
||
| ) | const |
Definition at line 138 of file SourceHelper.cc.
References e, and makeEventPrincipal().
| art::EventPrincipal * art::SourceHelper::makeEventPrincipal | ( | RunNumber_t | r, |
| SubRunNumber_t | sr, | ||
| EventNumber_t | e, | ||
| Timestamp const & | startTime, | ||
| bool | isRealData = true, |
||
| EventAuxiliary::ExperimentType | eType = EventAuxiliary::Data |
||
| ) | const |
Definition at line 148 of file SourceHelper.cc.
References makeEventPrincipal(), and r.
|
private |
Definition at line 74 of file SourceHelper.cc.
References md_, presentProducts_, art::ModuleDescription::processConfiguration(), throwIfProductsNotRegistered_(), and updatedProcessHistoryID_().
| Ptr<T> art::SourceHelper::makePtr | ( | TypeLabel const & | t, |
| Principal const & | p, | ||
| typename Ptr< T >::key_type | key | ||
| ) | const |
Referenced by fluxr::PPFXFluxReader::readNext().
| art::Ptr<T> art::SourceHelper::makePtr | ( | TypeLabel const & | tl, |
| Principal const & | p, | ||
| typename Ptr< T >::key_type | key | ||
| ) | const |
Definition at line 94 of file SourceHelper.h.
References art::Principal::branchType(), md_, art::ModuleDescription::moduleLabel(), art::ModuleDescription::parameterSetID(), art::ModuleDescription::processConfiguration(), and art::Principal::productGetter().
| art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunAuxiliary | runAux | ) | const |
Definition at line 89 of file SourceHelper.cc.
Referenced by makeRunPrincipal(), fluxr::PPFXFluxReader::readNext(), lris::LArRawInputDriverJP250L::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriverShortBo::readNext(), and lris::LArRawInputDriver::readNext().
| art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunID | r, |
| Timestamp const & | startTime | ||
| ) | const |
Definition at line 95 of file SourceHelper.cc.
References art::Timestamp::invalidTimestamp(), makeRunPrincipal(), and r.
| art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunNumber_t | r, |
| Timestamp const & | startTime | ||
| ) | const |
Definition at line 103 of file SourceHelper.cc.
References makeRunPrincipal().
| art::SubRunPrincipal * art::SourceHelper::makeSubRunPrincipal | ( | SubRunAuxiliary | subRunAux | ) | const |
Definition at line 110 of file SourceHelper.cc.
Referenced by makeSubRunPrincipal(), fluxr::PPFXFluxReader::readNext(), lris::LArRawInputDriverJP250L::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriverShortBo::readNext(), and lris::LArRawInputDriver::readNext().
| art::SubRunPrincipal * art::SourceHelper::makeSubRunPrincipal | ( | SubRunID const & | sr, |
| Timestamp const & | startTime | ||
| ) | const |
Definition at line 116 of file SourceHelper.cc.
References art::Timestamp::invalidTimestamp(), and makeSubRunPrincipal().
| art::SubRunPrincipal * art::SourceHelper::makeSubRunPrincipal | ( | RunNumber_t | r, |
| SubRunNumber_t | sr, | ||
| Timestamp const & | startTime | ||
| ) | const |
Definition at line 124 of file SourceHelper.cc.
References makeSubRunPrincipal(), and r.
|
delete |
|
delete |
|
private |
Definition at line 66 of file SourceHelper.cc.
References presentProducts_.
|
private |
Definition at line 18 of file SourceHelper.cc.
References presentProducts_, and art::errors::ProductRegistrationFailure.
Referenced by makePrincipal_().
|
private |
Definition at line 34 of file SourceHelper.cc.
References art::thread_safe_registry_via_id< K, M >::emplace(), art::thread_safe_registry_via_id< K, M >::get(), art::Hash< I >::isValid(), art::errors::LogicError, and presentProducts_.
Referenced by makePrincipal_().
|
friend |
Definition at line 79 of file SourceHelper.h.
|
private |
Definition at line 89 of file SourceHelper.h.
Referenced by makePrincipal_(), and makePtr().
|
private |
Definition at line 88 of file SourceHelper.h.
Referenced by makePrincipal_(), setPresentProducts(), throwIfProductsNotRegistered_(), and updatedProcessHistoryID_().