artdaq  3.13.00
art::RootDAQOutFile Class Reference

Public Types

enum  ClosureRequestMode { MaxEvents = 0, MaxSize = 1, Unset = 2 }
 
using RootOutputTreePtrArray = std::array< std::unique_ptr< RootOutputTree >, NumBranchTypes >
 

Public Member Functions

 RootDAQOutFile (OutputModule *, std::string const &fileName, ClosingCriteria const &fileSwitchCriteria, int compressionLevel, unsigned freePercent, unsigned freeMB, int64_t saveMemoryObjectThreshold, int64_t treeMaxVirtualSize, int splitLevel, int basketSize, DropMetaData dropMetaData, bool dropMetaDataForDroppedData)
 
 RootDAQOutFile (RootDAQOutFile const &)=delete
 
 RootDAQOutFile (RootDAQOutFile &&)=delete
 
RootDAQOutFileoperator= (RootDAQOutFile const &)=delete
 
RootDAQOutFileoperator= (RootDAQOutFile &&)=delete
 
void createDatabaseTables ()
 
void writeTTrees ()
 
void writeOne (EventPrincipal const &)
 
void writeSubRun (SubRunPrincipal const &)
 
void writeRun (RunPrincipal const &)
 
void writeFileFormatVersion ()
 
void writeFileIndex ()
 
void writeProcessConfigurationRegistry ()
 
void writeProcessHistoryRegistry ()
 
void writeParameterSetRegistry ()
 
void writeProductDescriptionRegistry ()
 
void writeParentageRegistry ()
 
void writeProductDependencies ()
 
void writeFileCatalogMetadata (FileStatsCollector const &stats, FileCatalogMetadata::collection_type const &, FileCatalogMetadata::collection_type const &)
 
void writeResults (ResultsPrincipal &resp)
 
void setRunAuxiliaryRangeSetID (RangeSet const &)
 
void setSubRunAuxiliaryRangeSetID (RangeSet const &)
 
void beginInputFile (RootFileBlock const *, FastCloningEnabled fastCloningEnabled)
 
void incrementInputFileNumber ()
 
void respondToCloseInputFile (FileBlock const &)
 
bool requestsToCloseFile ()
 
void setFileStatus (OutputFileStatus ofs)
 
void selectProducts ()
 
std::string const & currentFileName () const
 
bool maxEventsPerFileReached (FileIndex::EntryNumber_t maxEventsPerFile) const
 
bool maxSizeReached (unsigned maxFileSize) const
 

Detailed Description

Definition at line 46 of file RootDAQOutFile.h.


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