LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ClosingCriteria.h"
Classes | |
struct | Config |
Public Member Functions | |
ClosingCriteria (Config const &fp) | |
ClosingCriteria (FileProperties const &fp, std::string const &granularity) | |
ClosingCriteria ()=default | |
auto const & | fileProperties () const |
auto | granularity () const |
bool | should_close (FileProperties const &) const |
Private Attributes | |
FileProperties | closingCriteria_ |
Granularity | granularity_ |
Definition at line 155 of file ClosingCriteria.h.
art::ClosingCriteria::ClosingCriteria | ( | Config const & | fp | ) |
Definition at line 34 of file ClosingCriteria.cc.
References closingCriteria_, art::ClosingCriteria::Config::granularity, art::ClosingCriteria::Config::maxAge, art::ClosingCriteria::Config::maxEvents, art::ClosingCriteria::Config::maxInputFiles, art::ClosingCriteria::Config::maxRuns, art::ClosingCriteria::Config::maxSize, and art::ClosingCriteria::Config::maxSubRuns.
art::ClosingCriteria::ClosingCriteria | ( | FileProperties const & | fp, |
std::string const & | granularity | ||
) |
Definition at line 53 of file ClosingCriteria.cc.
References granularity(), granularity_, and art::Granularity::value().
|
default |
|
inline |
Definition at line 185 of file ClosingCriteria.h.
|
inline |
Definition at line 190 of file ClosingCriteria.h.
Referenced by ClosingCriteria(), art::RootOutput::fileGranularity(), art::TFileService::maybeSwitchFiles_(), and art::detail::shouldFastClone().
bool art::ClosingCriteria::should_close | ( | FileProperties const & | fp | ) | const |
Definition at line 59 of file ClosingCriteria.cc.
References art::FileProperties::age(), closingCriteria_, art::FileProperties::nEvents(), art::FileProperties::nInputFiles(), art::FileProperties::nRuns(), art::FileProperties::nSubRuns(), and art::FileProperties::size().
Referenced by art::RootOutputFile::requestsToCloseFile(), and art::TFileService::requestsToCloseFile_().
|
private |
Definition at line 198 of file ClosingCriteria.h.
Referenced by ClosingCriteria(), and should_close().
|
private |
Definition at line 199 of file ClosingCriteria.h.
Referenced by ClosingCriteria().