LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ClosingCriteria.h"
Public Member Functions | |
FileProperties ()=default | |
FileProperties (unsigned events, unsigned subRuns, unsigned runs, unsigned inputFiles, unsigned size, std::chrono::seconds age) | |
auto | nEvents () const |
auto | nSubRuns () const |
auto | nRuns () const |
auto | nInputFiles () const |
auto | size () const |
auto | age () const |
auto | eventEntryNumber () const |
auto | subRunEntryNumber () const |
auto | runEntryNumber () const |
template<Granularity::BT B> | |
std::enable_if_t< B!=Granularity::InputFile > | update (OutputFileStatus const status) |
template<Granularity::BT B> | |
std::enable_if_t< B==Granularity::InputFile > | update () |
void | updateSize (unsigned const size) |
void | updateAge (std::chrono::seconds const age) |
Private Attributes | |
std::array< unsigned, Granularity::NBoundaries()> | counts_ |
std::array< FileIndex::EntryNumber_t, Granularity::NBoundaries()-1 > | treeEntryNumbers_ {{}} |
std::chrono::seconds | age_ {std::chrono::seconds::zero()} |
unsigned | size_ {} |
Definition at line 59 of file ClosingCriteria.h.
|
default |
art::FileProperties::FileProperties | ( | unsigned | events, |
unsigned | subRuns, | ||
unsigned | runs, | ||
unsigned | inputFiles, | ||
unsigned | size, | ||
std::chrono::seconds | age | ||
) |
Definition at line 16 of file ClosingCriteria.cc.
|
inline |
Definition at line 95 of file ClosingCriteria.h.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 101 of file ClosingCriteria.h.
References art::Granularity::Event.
Referenced by art::RootOutputFile::writeOne().
|
inline |
Definition at line 70 of file ClosingCriteria.h.
References art::Granularity::Event.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 85 of file ClosingCriteria.h.
References art::Granularity::InputFile.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 80 of file ClosingCriteria.h.
References art::Granularity::Run.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 75 of file ClosingCriteria.h.
References art::Granularity::SubRun.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 111 of file ClosingCriteria.h.
References art::Granularity::Run.
Referenced by art::RootOutputFile::writeRun().
|
inline |
Definition at line 90 of file ClosingCriteria.h.
Referenced by art::operator<<(), and art::ClosingCriteria::should_close().
|
inline |
Definition at line 106 of file ClosingCriteria.h.
References art::Granularity::SubRun.
Referenced by art::RootOutputFile::writeSubRun().
|
inline |
Definition at line 118 of file ClosingCriteria.h.
References B, and art::Switching.
Referenced by art::RootOutputFile::incrementInputFileNumber(), art::TFileService::TFileService(), art::RootOutputFile::writeOne(), art::RootOutputFile::writeRun(), and art::RootOutputFile::writeSubRun().
|
inline |
Definition at line 128 of file ClosingCriteria.h.
References B.
|
inline |
Definition at line 139 of file ClosingCriteria.h.
Referenced by art::RootOutputFile::requestsToCloseFile(), and art::TFileService::requestsToCloseFile_().
|
inline |
Definition at line 134 of file ClosingCriteria.h.
Referenced by art::RootOutputFile::requestsToCloseFile(), and art::TFileService::requestsToCloseFile_().
|
private |
Definition at line 149 of file ClosingCriteria.h.
Referenced by FileProperties().
|
private |
Definition at line 145 of file ClosingCriteria.h.
|
private |
Definition at line 150 of file ClosingCriteria.h.
Referenced by FileProperties().
|
private |
Definition at line 148 of file ClosingCriteria.h.