Classes | Public Member Functions | Private Attributes | List of all members
art::ClosingCriteria Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/IO/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_
 

Detailed Description

Definition at line 155 of file ClosingCriteria.h.

Constructor & Destructor Documentation

art::ClosingCriteria::ClosingCriteria ( Config const &  fp)
art::ClosingCriteria::ClosingCriteria ( FileProperties const &  fp,
std::string const &  granularity 
)
art::ClosingCriteria::ClosingCriteria ( )
default

Member Function Documentation

auto const& art::ClosingCriteria::fileProperties ( ) const
inline

Definition at line 185 of file ClosingCriteria.h.

186  {
187  return closingCriteria_;
188  }
FileProperties closingCriteria_
auto art::ClosingCriteria::granularity ( ) const
inline

Definition at line 190 of file ClosingCriteria.h.

Referenced by art::RootOutput::fileGranularity(), and art::TFileService::maybeSwitchFiles_().

191  {
192  return granularity_;
193  }
bool art::ClosingCriteria::should_close ( FileProperties const &  ) const

Member Data Documentation

FileProperties art::ClosingCriteria::closingCriteria_
private

Definition at line 198 of file ClosingCriteria.h.

Granularity art::ClosingCriteria::granularity_
private
Initial value:

Definition at line 199 of file ClosingCriteria.h.


The documentation for this class was generated from the following file: