![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "EventAuxiliary.h"
Public Types | |
| enum | ExperimentType { Any = 0, Align = 1, Calib = 2, Cosmic = 3, Data = 4, Mc = 5, Raw = 6, Test = 7 } |
Public Member Functions | |
| EventAuxiliary () | |
| EventAuxiliary (EventID const &theId, Timestamp const &theTime, bool isReal, ExperimentType eType=Any, ProcessHistoryID const &phid={}) | |
| Timestamp const & | time () const noexcept |
| EventID const & | id () const noexcept |
| EventID const & | eventID () const noexcept |
| RunID const & | runID () const noexcept |
| SubRunID const & | subRunID () const noexcept |
| RunNumber_t | run () const noexcept |
| SubRunNumber_t | subRun () const noexcept |
| EventNumber_t | event () const noexcept |
| bool | isRealData () const noexcept |
| EventAuxiliary::ExperimentType | experimentType () const noexcept |
| bool | operator== (EventAuxiliary const &other) const noexcept |
| void | write (std::ostream &os) const |
| ProcessHistoryID const & | processHistoryID () const noexcept |
| void | setProcessHistoryID (ProcessHistoryID const &) |
Static Public Attributes | |
| static constexpr BranchType | branch_type = InEvent |
Private Attributes | |
| ProcessHistoryID | processHistoryID_ {} |
| EventID | id_ {} |
| Timestamp | time_ {} |
| bool | isRealData_ {false} |
| ExperimentType | experimentType_ {Any} |
Definition at line 13 of file EventAuxiliary.h.
| Enumerator | |
|---|---|
| Any | |
| Align | |
| Calib | |
| Cosmic | |
| Data | |
| Mc | |
| Raw | |
| Test | |
Definition at line 16 of file EventAuxiliary.h.
|
default |
| art::EventAuxiliary::EventAuxiliary | ( | EventID const & | theId, |
| Timestamp const & | theTime, | ||
| bool | isReal, | ||
| ExperimentType | eType = Any, |
||
| ProcessHistoryID const & | phid = {} |
||
| ) |
Definition at line 10 of file EventAuxiliary.cc.
References experimentType_, id_, isRealData_, and time_.
|
noexcept |
|
noexcept |
|
noexcept |
Definition at line 77 of file EventAuxiliary.cc.
References experimentType_.
Referenced by art::EventPrincipal::ExperimentType().
|
noexcept |
Definition at line 29 of file EventAuxiliary.cc.
References id_.
Referenced by art::EventPrincipal::event(), art::EventPrincipal::eventID(), eventID(), rndm::NuRandomServiceHelper::ArtState::eventID(), art::EventPrincipal::run(), and art::EventPrincipal::subRun().
|
noexcept |
Definition at line 71 of file EventAuxiliary.cc.
References isRealData_.
Referenced by rndm::NuRandomServiceHelper::ArtState::getEventSeedInputData(), and art::EventPrincipal::isReal().
|
noexcept |
Definition at line 83 of file EventAuxiliary.cc.
References experimentType_, id_, isRealData_, fhicl::other, and time_.
|
noexcept |
Definition at line 97 of file EventAuxiliary.cc.
References processHistoryID_.
Referenced by art::EventPrincipal::EventPrincipal().
|
noexcept |
|
noexcept |
| void art::EventAuxiliary::setProcessHistoryID | ( | ProcessHistoryID const & | phid | ) |
Definition at line 103 of file EventAuxiliary.cc.
References processHistoryID_.
Referenced by art::EventPrincipal::refreshProcessHistoryID().
|
noexcept |
|
noexcept |
|
noexcept |
Definition at line 23 of file EventAuxiliary.cc.
References time_.
Referenced by rndm::NuRandomServiceHelper::ArtState::getEventSeedInputData(), and art::EventPrincipal::time().
| void art::EventAuxiliary::write | ( | std::ostream & | os | ) | const |
|
static |
Definition at line 15 of file EventAuxiliary.h.
|
private |
Definition at line 58 of file EventAuxiliary.h.
Referenced by EventAuxiliary(), experimentType(), and operator==().
|
private |
Definition at line 55 of file EventAuxiliary.h.
Referenced by event(), EventAuxiliary(), id(), operator==(), run(), runID(), subRun(), subRunID(), and write().
|
private |
Definition at line 57 of file EventAuxiliary.h.
Referenced by EventAuxiliary(), isRealData(), and operator==().
|
private |
Definition at line 53 of file EventAuxiliary.h.
Referenced by processHistoryID(), and setProcessHistoryID().
|
private |
Definition at line 56 of file EventAuxiliary.h.
Referenced by EventAuxiliary(), operator==(), and time().