LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "RunAuxiliary.h"
Public Member Functions | |
RunAuxiliary ()=default | |
RunAuxiliary (RunID const &theId, Timestamp const &theTime, Timestamp const &theEndTime) | |
RunAuxiliary (RunNumber_t const run, Timestamp const &theTime, Timestamp const &theEndTime) | |
void | write (std::ostream &os) const |
ProcessHistoryID const & | processHistoryID () const |
void | setProcessHistoryID (ProcessHistoryID const &phid) const |
RunID const & | id () const |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
RunID const & | runID () const |
RunNumber_t | run () const |
void | setEndTime (Timestamp const &time) |
void | setRangeSetID (unsigned const id) const |
auto | rangeSetID () const |
bool | mergeAuxiliary (RunAuxiliary const &aux) |
Public Attributes | |
ProcessHistoryID | processHistoryID_ {} |
std::set< ProcessHistoryID > | allEventsProcessHistories_ {} |
unsigned | rangeSetID_ {-1u} |
RunID | id_ {} |
Timestamp | beginTime_ {} |
Timestamp | endTime_ {} |
Static Public Attributes | |
static constexpr BranchType | branch_type = InRun |
Private Member Functions | |
void | mergeNewTimestampsIntoThis_ (RunAuxiliary const &newAux) |
void | mergeNewProcessHistoryIntoThis_ (RunAuxiliary const &newAux) |
Definition at line 18 of file RunAuxiliary.h.
|
default |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file RunAuxiliary.h.
References beginTime_.
Referenced by art::Run::beginTime(), art::RunPrincipal::beginTime(), and mergeNewTimestampsIntoThis_().
|
inline |
Definition at line 63 of file RunAuxiliary.h.
References endTime_.
Referenced by art::Run::endTime(), art::RunPrincipal::endTime(), and mergeNewTimestampsIntoThis_().
|
inline |
Definition at line 51 of file RunAuxiliary.h.
References id_.
Referenced by art::Run::id(), art::RunPrincipal::id(), mergeAuxiliary(), setRangeSetID(), and art::RootOutputFile::writeRun().
bool art::RunAuxiliary::mergeAuxiliary | ( | RunAuxiliary const & | aux | ) |
Definition at line 12 of file RunAuxiliary.cc.
References id(), id_, mergeNewProcessHistoryIntoThis_(), and mergeNewTimestampsIntoThis_().
Referenced by rangeSetID().
|
private |
Definition at line 50 of file RunAuxiliary.cc.
References allEventsProcessHistories_.
Referenced by mergeAuxiliary().
|
private |
Definition at line 32 of file RunAuxiliary.cc.
References beginTime(), beginTime_, endTime(), endTime_, and art::Timestamp::invalidTimestamp().
Referenced by mergeAuxiliary().
|
inline |
Definition at line 39 of file RunAuxiliary.h.
References processHistoryID_.
|
inline |
|
inline |
Definition at line 74 of file RunAuxiliary.h.
References id_, and art::RunID::run().
Referenced by art::Run::run(), and art::RunPrincipal::run().
|
inline |
Definition at line 69 of file RunAuxiliary.h.
References id_.
|
inline |
Definition at line 80 of file RunAuxiliary.h.
References endTime_, and art::Timestamp::invalidTimestamp().
Referenced by art::RunPrincipal::setEndTime().
|
inline |
Definition at line 45 of file RunAuxiliary.h.
References processHistoryID_.
Referenced by art::RunPrincipal::setProcessHistoryID().
|
inline |
Definition at line 87 of file RunAuxiliary.h.
References id(), and rangeSetID_.
Referenced by art::RootOutputFile::writeRun().
void art::RunAuxiliary::write | ( | std::ostream & | os | ) | const |
Definition at line 5 of file RunAuxiliary.cc.
References id_, and processHistoryID_.
Referenced by operator<<(), and RunAuxiliary().
std::set<ProcessHistoryID> art::RunAuxiliary::allEventsProcessHistories_ {} |
Definition at line 105 of file RunAuxiliary.h.
Referenced by mergeNewProcessHistoryIntoThis_().
Timestamp art::RunAuxiliary::beginTime_ {} |
Definition at line 111 of file RunAuxiliary.h.
Referenced by beginTime(), mergeNewTimestampsIntoThis_(), and RunAuxiliary().
|
static |
Definition at line 20 of file RunAuxiliary.h.
Timestamp art::RunAuxiliary::endTime_ {} |
Definition at line 112 of file RunAuxiliary.h.
Referenced by endTime(), mergeNewTimestampsIntoThis_(), RunAuxiliary(), and setEndTime().
RunID art::RunAuxiliary::id_ {} |
Definition at line 109 of file RunAuxiliary.h.
Referenced by id(), mergeAuxiliary(), run(), runID(), and write().
|
mutable |
Definition at line 101 of file RunAuxiliary.h.
Referenced by processHistoryID(), art::RunPrincipal::processHistoryID(), art::RunPrincipal::RunPrincipal(), setProcessHistoryID(), and write().
|
mutable |
Definition at line 107 of file RunAuxiliary.h.
Referenced by rangeSetID(), and setRangeSetID().