LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "RunAuxiliary.h"
Public Member Functions | |
RunAuxiliary () | |
RunAuxiliary (RunID const &theId, Timestamp const &theTime, Timestamp const &theEndTime) | |
RunAuxiliary (RunNumber_t const &run, Timestamp const &theTime, Timestamp const &theEndTime) | |
RunAuxiliary | duplicateWith (Timestamp beginTime, Timestamp endTime={}) const |
void | write (std::ostream &) const |
ProcessHistoryID const & | processHistoryID () const noexcept |
void | setProcessHistoryID (ProcessHistoryID const &) |
unsigned | rangeSetID () const noexcept |
void | setRangeSetID (unsigned const id) const |
RunID const & | id () const noexcept |
RunID const & | runID () const noexcept |
void | runID (RunID const &) |
RunNumber_t | run () const noexcept |
Timestamp const & | beginTime () const noexcept |
Timestamp const & | endTime () const noexcept |
bool | mergeAuxiliary (RunAuxiliary const &) |
Static Public Attributes | |
static constexpr BranchType | branch_type = InRun |
Private Member Functions | |
void | mergeNewTimestampsIntoThis_ (RunAuxiliary const &) |
RunAuxiliary (RunID id, Timestamp beginTime, Timestamp endTime, ProcessHistoryID processHistoryID, unsigned rangeSetID) | |
Private Attributes | |
ProcessHistoryID | processHistoryID_ {} |
unsigned | rangeSetID_ {-1u} |
RunID | id_ {} |
Timestamp | beginTime_ {} |
Timestamp | endTime_ {} |
Definition at line 17 of file RunAuxiliary.h.
|
default |
art::RunAuxiliary::RunAuxiliary | ( | RunID const & | theId, |
Timestamp const & | theTime, | ||
Timestamp const & | theEndTime | ||
) |
art::RunAuxiliary::RunAuxiliary | ( | RunNumber_t const & | run, |
Timestamp const & | theTime, | ||
Timestamp const & | theEndTime | ||
) |
Definition at line 24 of file RunAuxiliary.cc.
|
private |
Definition at line 31 of file RunAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, id_, rangeSetID(), and rangeSetID_.
|
noexcept |
Definition at line 70 of file RunAuxiliary.cc.
References beginTime_.
Referenced by art::RunPrincipal::beginTime(), duplicateWith(), mergeNewTimestampsIntoThis_(), and RunAuxiliary().
RunAuxiliary art::RunAuxiliary::duplicateWith | ( | Timestamp | beginTime, |
Timestamp | endTime = {} |
||
) | const |
Definition at line 44 of file RunAuxiliary.cc.
References beginTime(), endTime(), id_, processHistoryID_, and rangeSetID_.
|
noexcept |
Definition at line 76 of file RunAuxiliary.cc.
References endTime_.
Referenced by duplicateWith(), art::RunPrincipal::endTime(), mergeNewTimestampsIntoThis_(), and RunAuxiliary().
|
noexcept |
Definition at line 64 of file RunAuxiliary.cc.
References id_.
Referenced by mergeAuxiliary(), art::RunPrincipal::runID(), runID(), and setRangeSetID().
bool art::RunAuxiliary::mergeAuxiliary | ( | RunAuxiliary const & | newAux | ) |
Definition at line 119 of file RunAuxiliary.cc.
References id(), id_, and mergeNewTimestampsIntoThis_().
|
private |
Definition at line 133 of file RunAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, and art::Timestamp::invalidTimestamp().
Referenced by mergeAuxiliary().
|
noexcept |
Definition at line 52 of file RunAuxiliary.cc.
References processHistoryID_.
Referenced by art::RunPrincipal::RunPrincipal().
|
noexcept |
Definition at line 58 of file RunAuxiliary.cc.
References rangeSetID_.
Referenced by RunAuxiliary().
|
noexcept |
Definition at line 100 of file RunAuxiliary.cc.
References id_, and art::RunID::run().
Referenced by art::RunPrincipal::run().
|
noexcept |
Definition at line 88 of file RunAuxiliary.cc.
References id_.
void art::RunAuxiliary::runID | ( | RunID const & | id | ) |
Definition at line 94 of file RunAuxiliary.cc.
void art::RunAuxiliary::setProcessHistoryID | ( | ProcessHistoryID const & | phid | ) |
Definition at line 82 of file RunAuxiliary.cc.
References processHistoryID_.
Referenced by art::RunPrincipal::createGroupsForProducedProducts().
void art::RunAuxiliary::setRangeSetID | ( | unsigned const | id | ) | const |
void art::RunAuxiliary::write | ( | std::ostream & | os | ) | const |
Definition at line 112 of file RunAuxiliary.cc.
References id_, and processHistoryID_.
Referenced by art::operator<<().
|
private |
Definition at line 63 of file RunAuxiliary.h.
Referenced by beginTime(), mergeNewTimestampsIntoThis_(), and RunAuxiliary().
|
static |
Definition at line 19 of file RunAuxiliary.h.
|
private |
Definition at line 64 of file RunAuxiliary.h.
Referenced by endTime(), mergeNewTimestampsIntoThis_(), and RunAuxiliary().
|
private |
Definition at line 62 of file RunAuxiliary.h.
Referenced by duplicateWith(), id(), mergeAuxiliary(), run(), RunAuxiliary(), runID(), and write().
|
mutableprivate |
Definition at line 60 of file RunAuxiliary.h.
Referenced by duplicateWith(), processHistoryID(), setProcessHistoryID(), and write().
|
mutableprivate |
Definition at line 61 of file RunAuxiliary.h.
Referenced by duplicateWith(), rangeSetID(), RunAuxiliary(), and setRangeSetID().