LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SourceHelper.h"
Private Member Functions | |
void | throwIfProductsNotRegistered_ () 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 37 of file SourceHelper.h.
|
explicit |
Definition at line 10 of file SourceHelper.cc.
|
delete |
|
delete |
art::EventPrincipal * art::SourceHelper::makeEventPrincipal | ( | EventAuxiliary const & | eventAux, |
std::shared_ptr< History > && | history | ||
) | const |
Definition at line 83 of file SourceHelper.cc.
References art::InEvent, md_, presentProducts_, art::ModuleDescription::processConfiguration(), and throwIfProductsNotRegistered_().
Referenced by makeEventPrincipal(), lris::LArRawInputDriverShortBo::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriver::readNext(), and lris::LArRawInputDriverJP250L::readNext().
art::EventPrincipal * art::SourceHelper::makeEventPrincipal | ( | EventID const & | e, |
Timestamp const & | startTime, | ||
bool | isRealData = true , |
||
EventAuxiliary::ExperimentType | eType = EventAuxiliary::Data |
||
) | const |
Definition at line 94 of file SourceHelper.cc.
References e, art::InEvent, md_, presentProducts_, art::ModuleDescription::processConfiguration(), and throwIfProductsNotRegistered_().
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 107 of file SourceHelper.cc.
References makeEventPrincipal().
Ptr<T> art::SourceHelper::makePtr | ( | TypeLabel const & | t, |
Principal const & | p, | ||
typename Ptr< T >::key_type | key | ||
) | const |
art::Ptr<T> art::SourceHelper::makePtr | ( | TypeLabel const & | tl, |
Principal const & | p, | ||
typename Ptr< T >::key_type | key | ||
) | const |
Definition at line 102 of file SourceHelper.h.
References art::Principal::branchType(), md_, and art::Principal::productGetter().
art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunAuxiliary const & | runAux | ) | const |
Definition at line 36 of file SourceHelper.cc.
References art::InRun, md_, presentProducts_, art::ModuleDescription::processConfiguration(), and throwIfProductsNotRegistered_().
Referenced by makeRunPrincipal(), lris::LArRawInputDriverShortBo::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriver::readNext(), and lris::LArRawInputDriverJP250L::readNext().
art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunID | r, |
Timestamp const & | startTime | ||
) | const |
Definition at line 44 of file SourceHelper.cc.
References art::Timestamp::invalidTimestamp(), and makeRunPrincipal().
art::RunPrincipal * art::SourceHelper::makeRunPrincipal | ( | RunNumber_t | r, |
Timestamp const & | startTime | ||
) | const |
Definition at line 52 of file SourceHelper.cc.
References makeRunPrincipal().
art::SubRunPrincipal * art::SourceHelper::makeSubRunPrincipal | ( | SubRunAuxiliary const & | subRunAux | ) | const |
Definition at line 59 of file SourceHelper.cc.
References art::InSubRun, md_, presentProducts_, art::ModuleDescription::processConfiguration(), and throwIfProductsNotRegistered_().
Referenced by makeSubRunPrincipal(), lris::LArRawInputDriverShortBo::readNext(), lris::LArRawInputDriverLongBo::readNext(), lris::LArRawInputDriver::readNext(), and lris::LArRawInputDriverJP250L::readNext().
art::SubRunPrincipal * art::SourceHelper::makeSubRunPrincipal | ( | SubRunID const & | sr, |
Timestamp const & | startTime | ||
) | const |
Definition at line 67 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 75 of file SourceHelper.cc.
References makeSubRunPrincipal().
|
delete |
|
delete |
|
private |
Definition at line 29 of file SourceHelper.cc.
References presentProducts_.
Referenced by art::Source< T >::finishProductRegistration_().
|
private |
Definition at line 13 of file SourceHelper.cc.
References presentProducts_, and art::errors::ProductRegistrationFailure.
Referenced by makeEventPrincipal(), makeRunPrincipal(), and makeSubRunPrincipal().
|
friend |
Definition at line 93 of file SourceHelper.h.
|
private |
Definition at line 97 of file SourceHelper.h.
Referenced by makeEventPrincipal(), makePtr(), makeRunPrincipal(), and makeSubRunPrincipal().
|
private |
Definition at line 96 of file SourceHelper.h.
Referenced by makeEventPrincipal(), makeRunPrincipal(), makeSubRunPrincipal(), setPresentProducts(), and throwIfProductsNotRegistered_().