LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ClosingCriteria.h"
Public Member Functions | |
~FileProperties () | |
FileProperties () | |
FileProperties (unsigned events, unsigned subRuns, unsigned runs, unsigned inputFiles, unsigned size, std::chrono::seconds age) | |
FileProperties (FileProperties const &) | |
FileProperties (FileProperties &&) | |
FileProperties & | operator= (FileProperties const &) |
FileProperties & | operator= (FileProperties &&) |
unsigned | nEvents () const |
unsigned | nSubRuns () const |
unsigned | nRuns () const |
unsigned | nInputFiles () const |
unsigned | size () const |
std::chrono::seconds | age () const |
FileIndex::EntryNumber_t | eventEntryNumber () const |
FileIndex::EntryNumber_t | subRunEntryNumber () const |
FileIndex::EntryNumber_t | runEntryNumber () const |
void | update_event () |
void | update_subRun (OutputFileStatus const status) |
void | update_run (OutputFileStatus const status) |
void | update_inputFile () |
void | updateSize (unsigned const size) |
void | updateAge (std::chrono::seconds const age) |
Private Attributes | |
std::atomic< unsigned > | counts_event_ |
std::atomic< unsigned > | counts_subRun_ |
std::atomic< unsigned > | counts_run_ |
std::atomic< unsigned > | counts_inputFile_ |
std::atomic< unsigned > | counts_job_ |
std::atomic< FileIndex::EntryNumber_t > | treeEntryNumbers_event_ |
std::atomic< FileIndex::EntryNumber_t > | treeEntryNumbers_subRun_ |
std::atomic< FileIndex::EntryNumber_t > | treeEntryNumbers_run_ |
std::atomic< FileIndex::EntryNumber_t > | treeEntryNumbers_inputFile_ |
std::atomic< std::chrono::seconds > | age_ |
std::atomic< unsigned > | size_ |
Definition at line 17 of file ClosingCriteria.h.
|
default |
art::FileProperties::FileProperties | ( | ) |
Definition at line 23 of file ClosingCriteria.cc.
References age_, counts_event_, counts_inputFile_, counts_job_, counts_run_, counts_subRun_, size_, treeEntryNumbers_event_, treeEntryNumbers_inputFile_, treeEntryNumbers_run_, and treeEntryNumbers_subRun_.
art::FileProperties::FileProperties | ( | unsigned | events, |
unsigned | subRuns, | ||
unsigned | runs, | ||
unsigned | inputFiles, | ||
unsigned | size, | ||
std::chrono::seconds | age | ||
) |
art::FileProperties::FileProperties | ( | FileProperties const & | rhs | ) |
Definition at line 58 of file ClosingCriteria.cc.
References age_, counts_event_, counts_inputFile_, counts_job_, counts_run_, counts_subRun_, size_, treeEntryNumbers_event_, treeEntryNumbers_inputFile_, treeEntryNumbers_run_, and treeEntryNumbers_subRun_.
art::FileProperties::FileProperties | ( | FileProperties && | rhs | ) |
Definition at line 73 of file ClosingCriteria.cc.
References age_, counts_inputFile_, counts_job_, counts_run_, counts_subRun_, size_, treeEntryNumbers_event_, treeEntryNumbers_inputFile_, treeEntryNumbers_run_, and treeEntryNumbers_subRun_.
chrono::seconds art::FileProperties::age | ( | ) | const |
Definition at line 155 of file ClosingCriteria.cc.
References age_.
Referenced by art::operator<<(), art::ClosingCriteria::should_close(), and updateAge().
FileIndex::EntryNumber_t art::FileProperties::eventEntryNumber | ( | ) | const |
Definition at line 161 of file ClosingCriteria.cc.
References treeEntryNumbers_event_.
unsigned art::FileProperties::nEvents | ( | ) | const |
Definition at line 125 of file ClosingCriteria.cc.
References counts_event_.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
unsigned art::FileProperties::nInputFiles | ( | ) | const |
Definition at line 143 of file ClosingCriteria.cc.
References counts_inputFile_.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
unsigned art::FileProperties::nRuns | ( | ) | const |
Definition at line 137 of file ClosingCriteria.cc.
References counts_run_.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
unsigned art::FileProperties::nSubRuns | ( | ) | const |
Definition at line 131 of file ClosingCriteria.cc.
References counts_subRun_.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
FileProperties & art::FileProperties::operator= | ( | FileProperties const & | rhs | ) |
Definition at line 89 of file ClosingCriteria.cc.
References age_, counts_event_, counts_inputFile_, counts_job_, counts_run_, counts_subRun_, size_, treeEntryNumbers_event_, treeEntryNumbers_inputFile_, treeEntryNumbers_run_, and treeEntryNumbers_subRun_.
FileProperties & art::FileProperties::operator= | ( | FileProperties && | rhs | ) |
Definition at line 108 of file ClosingCriteria.cc.
References age_, counts_event_, counts_inputFile_, counts_job_, counts_run_, counts_subRun_, size_, treeEntryNumbers_event_, treeEntryNumbers_inputFile_, treeEntryNumbers_run_, and treeEntryNumbers_subRun_.
FileIndex::EntryNumber_t art::FileProperties::runEntryNumber | ( | ) | const |
Definition at line 173 of file ClosingCriteria.cc.
References treeEntryNumbers_run_.
unsigned art::FileProperties::size | ( | void | ) | const |
Definition at line 149 of file ClosingCriteria.cc.
References size_.
Referenced by art::operator<<(), art::ClosingCriteria::should_close(), and updateSize().
FileIndex::EntryNumber_t art::FileProperties::subRunEntryNumber | ( | ) | const |
Definition at line 167 of file ClosingCriteria.cc.
References treeEntryNumbers_subRun_.
void art::FileProperties::update_event | ( | ) |
Definition at line 191 of file ClosingCriteria.cc.
References counts_event_, and treeEntryNumbers_event_.
void art::FileProperties::update_inputFile | ( | ) |
Definition at line 216 of file ClosingCriteria.cc.
References counts_inputFile_.
void art::FileProperties::update_run | ( | OutputFileStatus const | status | ) |
Definition at line 207 of file ClosingCriteria.cc.
References counts_run_, art::Switching, and treeEntryNumbers_run_.
void art::FileProperties::update_subRun | ( | OutputFileStatus const | status | ) |
Definition at line 198 of file ClosingCriteria.cc.
References counts_subRun_, art::Switching, and treeEntryNumbers_subRun_.
void art::FileProperties::updateAge | ( | std::chrono::seconds const | age | ) |
Definition at line 185 of file ClosingCriteria.cc.
void art::FileProperties::updateSize | ( | unsigned const | size | ) |
Definition at line 179 of file ClosingCriteria.cc.
|
private |
Definition at line 63 of file ClosingCriteria.h.
Referenced by age(), FileProperties(), operator=(), and updateAge().
|
private |
Definition at line 54 of file ClosingCriteria.h.
Referenced by FileProperties(), nEvents(), operator=(), and update_event().
|
private |
Definition at line 57 of file ClosingCriteria.h.
Referenced by FileProperties(), nInputFiles(), operator=(), and update_inputFile().
|
private |
Definition at line 58 of file ClosingCriteria.h.
Referenced by FileProperties(), and operator=().
|
private |
Definition at line 56 of file ClosingCriteria.h.
Referenced by FileProperties(), nRuns(), operator=(), and update_run().
|
private |
Definition at line 55 of file ClosingCriteria.h.
Referenced by FileProperties(), nSubRuns(), operator=(), and update_subRun().
|
private |
Definition at line 64 of file ClosingCriteria.h.
Referenced by FileProperties(), operator=(), size(), and updateSize().
|
private |
Definition at line 59 of file ClosingCriteria.h.
Referenced by eventEntryNumber(), FileProperties(), operator=(), and update_event().
|
private |
Definition at line 62 of file ClosingCriteria.h.
Referenced by FileProperties(), and operator=().
|
private |
Definition at line 61 of file ClosingCriteria.h.
Referenced by FileProperties(), operator=(), runEntryNumber(), and update_run().
|
private |
Definition at line 60 of file ClosingCriteria.h.
Referenced by FileProperties(), operator=(), subRunEntryNumber(), and update_subRun().