LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ClosingCriteria.h"
Classes | |
struct | Config |
struct | Defaults |
Public Member Functions | |
~ClosingCriteria () | |
ClosingCriteria () | |
ClosingCriteria (Config const &fp) | |
ClosingCriteria (FileProperties const &fp, std::string const &granularity) | |
FileProperties const & | fileProperties () const |
Granularity | granularity () const |
bool | should_close (FileProperties const &) const |
Private Attributes | |
FileProperties | closingCriteria_ |
Granularity | granularity_ |
Definition at line 69 of file ClosingCriteria.h.
|
default |
Referenced by art::operator<<().
art::ClosingCriteria::ClosingCriteria | ( | ) |
Definition at line 232 of file ClosingCriteria.cc.
References granularity_, art::ClosingCriteria::Defaults::granularity_default(), and art::Granularity::value().
art::ClosingCriteria::ClosingCriteria | ( | Config const & | fp | ) |
Definition at line 242 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 237 of file ClosingCriteria.cc.
References granularity(), granularity_, and art::Granularity::value().
FileProperties const & art::ClosingCriteria::fileProperties | ( | ) | const |
Definition at line 263 of file ClosingCriteria.cc.
References closingCriteria_.
Granularity art::ClosingCriteria::granularity | ( | ) | const |
Definition at line 269 of file ClosingCriteria.cc.
References granularity_.
Referenced by ClosingCriteria().
bool art::ClosingCriteria::should_close | ( | FileProperties const & | fp | ) | const |
Definition at line 275 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().
|
private |
Definition at line 144 of file ClosingCriteria.h.
Referenced by ClosingCriteria(), fileProperties(), and should_close().
|
private |
Definition at line 145 of file ClosingCriteria.h.
Referenced by ClosingCriteria(), and granularity().