LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SubRunAuxiliary.h"
Public Member Functions | |
SubRunAuxiliary () | |
SubRunAuxiliary (SubRunID const &theId, Timestamp beginTime, Timestamp endTime) | |
SubRunAuxiliary (RunNumber_t run, SubRunNumber_t subrun, Timestamp beginTime, Timestamp endTime) | |
SubRunAuxiliary | duplicateWith (Timestamp beginTime, Timestamp endTime={}) const |
void | write (std::ostream &os) const |
ProcessHistoryID const & | processHistoryID () const noexcept |
void | setProcessHistoryID (ProcessHistoryID const &phid) |
SubRunID const & | id () const noexcept |
SubRunID const & | subRunID () const noexcept |
RunID const & | runID () const noexcept |
RunNumber_t | run () const noexcept |
SubRunNumber_t | subRun () const noexcept |
Timestamp const & | beginTime () const noexcept |
Timestamp const & | endTime () const noexcept |
void | setRangeSetID (unsigned const id) const |
unsigned | rangeSetID () const noexcept |
bool | mergeAuxiliary (SubRunAuxiliary const &) |
Static Public Attributes | |
static constexpr BranchType | branch_type = InSubRun |
Private Member Functions | |
SubRunAuxiliary (SubRunID const &id, Timestamp beginTime, Timestamp endTime, ProcessHistoryID processHistoryID, unsigned rangeSetID) | |
Private Attributes | |
ProcessHistoryID | processHistoryID_ {} |
unsigned | rangeSetID_ {-1u} |
SubRunID | id_ {} |
Timestamp | beginTime_ {} |
Timestamp | endTime_ {} |
Definition at line 17 of file SubRunAuxiliary.h.
|
default |
art::SubRunAuxiliary::SubRunAuxiliary | ( | SubRunID const & | theId, |
Timestamp | beginTime, | ||
Timestamp | endTime | ||
) |
art::SubRunAuxiliary::SubRunAuxiliary | ( | RunNumber_t | run, |
SubRunNumber_t | subrun, | ||
Timestamp | beginTime, | ||
Timestamp | endTime | ||
) |
Definition at line 19 of file SubRunAuxiliary.cc.
|
private |
Definition at line 27 of file SubRunAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, id_, rangeSetID(), and rangeSetID_.
|
noexcept |
Definition at line 90 of file SubRunAuxiliary.cc.
References beginTime_.
Referenced by art::SubRunPrincipal::beginTime(), duplicateWith(), mergeAuxiliary(), and SubRunAuxiliary().
SubRunAuxiliary art::SubRunAuxiliary::duplicateWith | ( | Timestamp | beginTime, |
Timestamp | endTime = {} |
||
) | const |
Definition at line 40 of file SubRunAuxiliary.cc.
References beginTime(), endTime(), id_, processHistoryID_, and rangeSetID_.
|
noexcept |
Definition at line 96 of file SubRunAuxiliary.cc.
References endTime_.
Referenced by duplicateWith(), art::SubRunPrincipal::endTime(), mergeAuxiliary(), and SubRunAuxiliary().
|
noexcept |
Definition at line 60 of file SubRunAuxiliary.cc.
References id_.
Referenced by mergeAuxiliary(), setRangeSetID(), and art::SubRunPrincipal::subRunID().
bool art::SubRunAuxiliary::mergeAuxiliary | ( | SubRunAuxiliary const & | newAux | ) |
Definition at line 121 of file SubRunAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, id(), id_, and art::Timestamp::invalidTimestamp().
|
noexcept |
Definition at line 48 of file SubRunAuxiliary.cc.
References processHistoryID_.
Referenced by art::SubRunPrincipal::SubRunPrincipal().
|
noexcept |
Definition at line 108 of file SubRunAuxiliary.cc.
References rangeSetID_.
Referenced by SubRunAuxiliary().
|
noexcept |
Definition at line 78 of file SubRunAuxiliary.cc.
References id_, and art::SubRunID::run().
Referenced by art::SubRunPrincipal::run().
|
noexcept |
Definition at line 72 of file SubRunAuxiliary.cc.
References id_, and art::SubRunID::runID().
Referenced by art::SubRunPrincipal::runID().
void art::SubRunAuxiliary::setProcessHistoryID | ( | ProcessHistoryID const & | phid | ) |
Definition at line 54 of file SubRunAuxiliary.cc.
References processHistoryID_.
Referenced by art::SubRunPrincipal::createGroupsForProducedProducts().
void art::SubRunAuxiliary::setRangeSetID | ( | unsigned const | id | ) | const |
|
noexcept |
Definition at line 84 of file SubRunAuxiliary.cc.
References id_, and art::SubRunID::subRun().
Referenced by art::SubRunPrincipal::subRun().
|
noexcept |
Definition at line 66 of file SubRunAuxiliary.cc.
References id_.
void art::SubRunAuxiliary::write | ( | std::ostream & | os | ) | const |
Definition at line 114 of file SubRunAuxiliary.cc.
References id_, and processHistoryID_.
Referenced by art::operator<<().
|
private |
Definition at line 64 of file SubRunAuxiliary.h.
Referenced by beginTime(), mergeAuxiliary(), and SubRunAuxiliary().
|
static |
Definition at line 19 of file SubRunAuxiliary.h.
|
private |
Definition at line 65 of file SubRunAuxiliary.h.
Referenced by endTime(), mergeAuxiliary(), and SubRunAuxiliary().
|
private |
Definition at line 63 of file SubRunAuxiliary.h.
Referenced by duplicateWith(), id(), mergeAuxiliary(), run(), runID(), subRun(), SubRunAuxiliary(), subRunID(), and write().
|
mutableprivate |
Definition at line 61 of file SubRunAuxiliary.h.
Referenced by duplicateWith(), processHistoryID(), setProcessHistoryID(), and write().
|
mutableprivate |
Definition at line 62 of file SubRunAuxiliary.h.
Referenced by duplicateWith(), rangeSetID(), setRangeSetID(), and SubRunAuxiliary().